Integrated: 8301222: Generalize check_release_entry in OopStorage
Erik Österlund
eosterlund at openjdk.org
Mon Mar 6 11:18:18 UTC 2023
On Fri, 27 Jan 2023 10:19:39 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.
This pull request has now been integrated.
Changeset: bdffe460
Author: Erik Österlund <eosterlund at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/bdffe460cd325f55fffd8e48bd3d15f08d998b15
Stats: 11 lines in 3 files changed: 10 ins; 0 del; 1 mod
8301222: Generalize check_release_entry in OopStorage
Reviewed-by: tschatzl, kbarrett
-------------
PR: https://git.openjdk.org/jdk/pull/12252
More information about the hotspot-gc-dev
mailing list