RFR: 7904026: JOL: Handle (generational) ZGC when dealing with raw addresses [v2]
Anton Rybochkin
duke at openjdk.org
Fri Jun 6 16:08:42 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 two additional commits since the last revision:
- Update jol-core/src/main/java/org/openjdk/jol/vm/HotspotUnsafe.java
Co-authored-by: Aleksey Shipilëv <shipilev at amazon.de>
- Update jol-core/src/main/java/org/openjdk/jol/vm/ZGCAddress.java
Co-authored-by: Aleksey Shipilëv <shipilev at amazon.de>
-------------
Changes:
- all: https://git.openjdk.org/jol/pull/65/files
- new: https://git.openjdk.org/jol/pull/65/files/9692cc91..b643960d
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jol&pr=65&range=01
- incr: https://webrevs.openjdk.org/?repo=jol&pr=65&range=00-01
Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 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