Integrated: 8349688: G1: Wrong initial optional region index when selecting candidates from retained regions

Ivan Walulya iwalulya at openjdk.org
Wed Feb 19 14:30:00 UTC 2025


On Tue, 11 Feb 2025 18:33:42 GMT, Ivan Walulya <iwalulya at openjdk.org> wrote:

> Hi,
> 
> Please review this fix to the bug in setting a region index to the optional cset. The crash happens because the incorrect `_index_in_opt_cset` refers to a region that has already been evacuated.
> 
> Testing: tier5-common-apps

This pull request has now been integrated.

Changeset: efbad00c
Author:    Ivan Walulya <iwalulya at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/efbad00c4d7931177ccc5e9bce3b30dfbac94010
Stats:     8 lines in 1 file changed: 6 ins; 0 del; 2 mod

8349688: G1: Wrong initial optional region index when selecting candidates from retained regions

Reviewed-by: tschatzl, ayang

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

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


More information about the hotspot-gc-dev mailing list