Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
New
Description
DocumentsWriterDeleteQueue.forceApplyGlobalSlice is only called from getBufferedUpdateTermsSize so we end up doing double the locking. It's not a huge problem because re-entrant locks are cheap, but we can probably unwrap the methods a little bit here.
This may impact HotSpot inlining, I haven't tried measuring that yet. If that is a concern, please let me know.
Attachments
Issue Links
- links to