[jdk11u-dev] RFR: 8274338: com/sun/jdi/RedefineCrossEvent.java failed "assert(m != __null) failed: NULL mirror" [v2]

Paul Hohensee phh at openjdk.java.net
Fri Nov 5 17:05:13 UTC 2021


On Fri, 5 Nov 2021 15:27:36 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

>> Backport for parity with Oracle 11.0.15.
>> 
>> The original patch applies cleanly, but some of CDS tests fail due to following new assertion in `ClassLoaderData::loaded_classes_do()`
>> 
>> `  // To call this, one must have the MultiArray_lock held, but the _klasses list still has lock free reads.
>>   assert_locked_or_safepoint(MultiArray_lock);
>> `
>> The solution is to take `MultiArray_lock` in `MetaspaceShared::link_and_cleanup_shared_classes()` method
>> 
>> Test:
>> - [x]  tier1
>
> Zhengyu Gu has updated the pull request incrementally with one additional commit since the last revision:
> 
>   @phohensee's comment

Thanks, Zhengyu. Lgtm.

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

Marked as reviewed by phh (Reviewer).

PR: https://git.openjdk.java.net/jdk11u-dev/pull/584


More information about the jdk-updates-dev mailing list