Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
-
New
Description
On segmentReader, liveDocs is volatile because they used to be loaded on demand.
This no longer appears to be the case... liveDocs are always loaded up front.
This also means that getLiveDocs() can never fail (even after close), and we can remove the ensureOpen call.
Minor optimizations, but volatile reads still do prevent optimizations across that boundary.