[SERVER-16139] Reduce timer calls in lock acquisition Created: 13/Nov/14  Updated: 23/Sep/15  Resolved: 23/Sep/15

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

Type: Improvement Priority: Major - P3
Reporter: Mathias Stearn Assignee: Geert Bosch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 Comments   
Comment by Geert Bosch [ 23/Sep/15 ]

Since MongoDB 3.0, we only record time blocked, so no timer calls are needed for the normal case of uncontended lock acquisition. For the case where we're going to block, the cost of getting the time is acceptable.

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