Integrated: 8330847: G1 accesses uninitialized memory when predicting eden copy time
Thomas Schatzl
tschatzl at openjdk.org
Mon May 27 11:23:07 UTC 2024
On Thu, 23 May 2024 11:03:41 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:
> Hi all,
>
> please review this change that fixes survivor rate predictor initialization when expanding the survivor rate prediction tables.
>
> Before JDK-8231579 these predictors were not used when finalizing the collection set at gc start, and were always updated properly at the end of the GC. With that change G1 started using these uninitialized predictors.
>
> There is an assert that should fail in the future if there is a bug.
>
> Testing: tier1-3
>
> Thanks,
> Thomas
This pull request has now been integrated.
Changeset: f3d6fbf5
Author: Thomas Schatzl <tschatzl at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/f3d6fbf52eac44734695935f73c5cfc0fb9ba167
Stats: 34 lines in 2 files changed: 20 ins; 13 del; 1 mod
8330847: G1 accesses uninitialized memory when predicting eden copy time
Reviewed-by: iwalulya, ayang
-------------
PR: https://git.openjdk.org/jdk/pull/19364
More information about the hotspot-gc-dev
mailing list