RFR: 8373039: Remove Incorrect Asserts in shenandoahScanRemembered [v3]

Ben Taylor btaylor at openjdk.org
Thu Dec 4 16:06:13 UTC 2025


> The `Klass->is_valid` asserts in this file do not hold the required `ClassLoaderDataGraph_lock` and can cause a crash.
> 
> A similar issue was seen in https://bugs.openjdk.org/browse/JDK-8372566
> 
> This change passes all tests in `TEST=hotspot_gc_shenandoah` with a fastdebug build

Ben Taylor has updated the pull request incrementally with one additional commit since the last revision:

  Update another outdated comment

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/28642/files
  - new: https://git.openjdk.org/jdk/pull/28642/files/eec662f6..830c8348

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

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/28642.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28642/head:pull/28642

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


More information about the shenandoah-dev mailing list