[SERVER-40908] Alter stdx::condition_variable::_runWithNotifyable to avoid allocations Created: 30/Apr/19 Updated: 08/Jan/24 Resolved: 05/Jun/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 4.2.0-rc1, 4.3.1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mira Carey | Assignee: | Mira Carey |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Backport Requested: |
v4.2
|
||||
| Sprint: | Service Arch 2019-06-03, Service Arch 2019-06-17 | ||||
| Participants: | |||||
| Description |
|
condition_variable::_runWithNotifyable allocates a linked list member for the notification list per invocation. It also does this under both the condvar mutex as well as the mutex for the predicate waiter. Two things need to happen for this:
|
| Comments |
| Comment by Githook User [ 05/Jun/19 ] |
|
Author: {'name': 'Jason Carey', 'email': 'jcarey@argv.me', 'username': 'hanumantmk'}Message: condition_variable::_runWithNotifyable allocates a linked list member Two things need to happen for this:
(cherry picked from commit 24ebd1d1f6d7a05e80bff9b14fa6a3e2ff35cc86) |
| Comment by Githook User [ 05/Jun/19 ] |
|
Author: {'name': 'Jason Carey', 'email': 'jcarey@argv.me', 'username': 'hanumantmk'}Message: condition_variable::_runWithNotifyable allocates a linked list member Two things need to happen for this:
|