[lworld] RFR: 8373708: [lworld] InstanceKlass::null_marker_offset(int i) is misleading

Frederic Parain fparain at openjdk.org
Thu Dec 18 20:44:04 UTC 2025


Please review this very small change to rename InstanceKlass::null_marker_offset(int i) into InstanceKlass::field_null_marker_offset(int i) to highlight the fact that the method returns the null marker offset of a given field and not the null marker offset for the current class.

Thank you.

Fred

-------------

Commit messages:
 - Renaming of null_marker_offset(int index)

Changes: https://git.openjdk.org/valhalla/pull/1835/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1835&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8373708
  Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/valhalla/pull/1835.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1835/head:pull/1835

PR: https://git.openjdk.org/valhalla/pull/1835


More information about the valhalla-dev mailing list