RFR: 8301222: Generalize check_release_entry in OopStorage [v3]

Kim Barrett kbarrett at openjdk.org
Mon Mar 6 09:35:14 UTC 2023


On Mon, 6 Mar 2023 08:55:54 GMT, Erik Österlund <eosterlund at openjdk.org> wrote:

>> 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

Looks good.

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

Marked as reviewed by kbarrett (Reviewer).

PR: https://git.openjdk.org/jdk/pull/12252


More information about the hotspot-gc-dev mailing list