<b>6.0.0.2471</b>
Dmitry Yemanov 2026.11.16 18:11:15
Reduce hazard pointer overhead in the pointer page lookup
get_pointer_page() checked the pointer page count on every call, so the record path acquired and released a SharedReadVector hazard pointer (and pinned a generation) just to decide whether a rescan was needed. The same applied to hasData() and getPointerPageCount().
Keep a mirror count updated by the single writer under m_mutex after the vector mutation. Callers that also need page numbers now hold one accessor for the whole operation and resolve values through the new getPointerPage(accessor, sequence) overload, so a single hazard pointer covers both the bound check and the lookup.
Add assertions to validate the new logic. Some minor refactoring to cover repeating usage patterns.

Changed paths:
  M src/jrd/Relation.cpp
  M src/jrd/Relation.h
  M src/jrd/dpm.epp
  M src/jrd/validation.cpp