[SERVER-52821] Allow thread names to be cached by unique id Created: 12/Nov/20  Updated: 29/Oct/23  Resolved: 10/Dec/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0

Type: New Feature Priority: Major - P3
Reporter: Benjamin Caimano (Inactive) Assignee: Benjamin Caimano (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-52822 Introduce ThreadContext class Closed
is depended on by SERVER-52561 Optimize fixed thread pool performance Closed
Backwards Compatibility: Fully Compatible
Sprint: Service arch 2020-11-16, Service arch 2020-11-30, Service arch 2020-12-14
Participants:

 Description   

We have a very implementation-dependent consideration of thread names here. We can potentially avoid unnecessary calls to OS functions if we make a ThreadName type that is easily comparable to a thread_local.



 Comments   
Comment by Githook User [ 03/Dec/20 ]

Author:

{'name': 'Ben Caimano', 'email': 'ben.caimano@10gen.com'}

Message: SERVER-52821 Allow thread names to be cached by unique id
Branch: master
https://github.com/mongodb/mongo/commit/b0f7369dfb3bd61db0cf08c4f2373788fbf01a67

Comment by Benjamin Caimano (Inactive) [ 19/Nov/20 ]

Code Review

Generated at Thu Feb 08 05:29:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.