RFR: 8300968: Accessorize raw oop load in DeadCounterClosure

Thomas Schatzl tschatzl at openjdk.org
Wed Jan 25 16:25:43 UTC 2023


On Tue, 24 Jan 2023 15:02:23 GMT, Erik Österlund <eosterlund at openjdk.org> wrote:

> The DeadCounterClosure class uses raw loads to check for dead phantom oop* entries. This isn't completely GC independent (because generational ZGC colours null pointers as well). We should accessorize this access so that all GCs become happy.

lgtm.

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

Marked as reviewed by tschatzl (Reviewer).

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


More information about the hotspot-gc-dev mailing list