RFR: 7904026: JOL: Handle (generational) ZGC when dealing with raw addresses [v3]

Anton Rybochkin duke at openjdk.org
Fri Jun 6 16:15:17 UTC 2025


> Because of color bits in lower positions, object alignment size heuristics does not work with generational ZGC. This PR implements address uncolorizing so alignment size and hence object size is calculated correctly

Anton Rybochkin has updated the pull request incrementally with four additional commits since the last revision:

 - Fixed default alignment on 32-bit platforms
 - Fixed default alignment on 32-bit platforms
 - Added test executions with ZGC
 - Added test for object alignment detection

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

Changes:
  - all: https://git.openjdk.org/jol/pull/65/files
  - new: https://git.openjdk.org/jol/pull/65/files/b643960d..dfe26914

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jol&pr=65&range=02
 - incr: https://webrevs.openjdk.org/?repo=jol&pr=65&range=01-02

  Stats: 108 lines in 2 files changed: 108 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jol/pull/65.diff
  Fetch: git fetch https://git.openjdk.org/jol.git pull/65/head:pull/65

PR: https://git.openjdk.org/jol/pull/65


More information about the jol-dev mailing list