Integrated: 8320331: G1 Full GC Heap verification relies on metadata not reset before verification
Thomas Schatzl
tschatzl at openjdk.org
Wed Nov 22 17:20:20 UTC 2023
On Mon, 20 Nov 2023 11:24:12 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:
> Hi all,
>
> please review this fix to full gc to properly set `parsable_bottom` for the heap regions marked through so that "during" verification (`-XX:+VerifyDuringGC`) does not access metadata already unlinked but not yet completely purged.
>
> The test case reproduces crashes fairly well without the patch; the new test case is run with debug VMs only purely to save testing time.
>
> Testing: gha, test case
>
> Thanks,
> Thomas
This pull request has now been integrated.
Changeset: 1629a905
Author: Thomas Schatzl <tschatzl at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/1629a9059bd2e0f07559a384be4276c7dc13eff2
Stats: 33 lines in 5 files changed: 25 ins; 0 del; 8 mod
8320331: G1 Full GC Heap verification relies on metadata not reset before verification
Reviewed-by: iwalulya, ayang
-------------
PR: https://git.openjdk.org/jdk/pull/16733
More information about the hotspot-gc-dev
mailing list