[SERVER-70135] Avoid unnecessary spinlock reacquisition in LockerImpl::getLockerInfo Created: 30/Sep/22 Updated: 05/Dec/22 Resolved: 07/Nov/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jordi Serra Torrens | Assignee: | Backlog - Storage Execution Team |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Storage Execution
|
| Participants: |
| Description |
|
This call to getWaitingResouce(), which internally takes the '_lock' spinlock, could be avoided by just reading '_waitingResource' while already holding the spinlock in LockerImpl::getLockerInfo |