RFR: 8373039: Remove Incorrect Asserts in shenandoahScanRemembered [v2]
Xiaolong Peng
xpeng at openjdk.org
Thu Dec 4 01:29:55 UTC 2025
On Wed, 3 Dec 2025 22:08:11 GMT, Ben Taylor <btaylor at openjdk.org> wrote:
>> 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:
>
> Fix up comment and remove additional assert from previous commit
LGTM, thanks for looking into this.
-------------
Marked as reviewed by xpeng (Committer).
PR Review: https://git.openjdk.org/jdk/pull/28642#pullrequestreview-3537509599
More information about the shenandoah-dev
mailing list