RFR: 8301222: Generalize check_release_entry in OopStorage [v3]
Erik Österlund
eosterlund at openjdk.org
Mon Mar 6 08:55:54 UTC 2023
> When an oop handle is released to OopStorage, we want to check that its contents has been cleared appropriately, honouring the general contract with OopStorage. This is currently done with a raw access checking for null. However, the raw contents in memory might not be 0, just because the logical value is null. In particular, generational ZGC will have some low order colour bits set. This CR aims to address that.
Erik Österlund has updated the pull request incrementally with one additional commit since the last revision:
Make it virtual and const
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/12252/files
- new: https://git.openjdk.org/jdk/pull/12252/files/0b89d558..beeb9bf0
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=12252&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=12252&range=01-02
Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/12252.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/12252/head:pull/12252
PR: https://git.openjdk.org/jdk/pull/12252
More information about the hotspot-gc-dev
mailing list