RFR: 8349688: Crash assert(!_g1h->heap_region_containing(p)->is_survivor()) failed: Should have filtered out from-newly allocated survivor references already [v2]

Ivan Walulya iwalulya at openjdk.org
Tue Feb 18 09:12:50 UTC 2025


> 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

Ivan Walulya has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:

 - Merge remote-tracking branch 'upstream/master' into JDK-8349688-OptionalRegions
 - set_index_in_opt_cset correctly

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23568/files
  - new: https://git.openjdk.org/jdk/pull/23568/files/e66a43e1..7c5147a2

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23568&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23568&range=00-01

  Stats: 11779 lines in 500 files changed: 8619 ins; 1331 del; 1829 mod
  Patch: https://git.openjdk.org/jdk/pull/23568.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23568/head:pull/23568

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


More information about the hotspot-gc-dev mailing list