[jdk11u-dev] Integrated: 8274338: com/sun/jdi/RedefineCrossEvent.java failed "assert(m != __null) failed: NULL mirror"
Zhengyu Gu
zgu at openjdk.java.net
Sat Nov 6 22:28:37 UTC 2021
On Thu, 4 Nov 2021 16:32:16 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
This pull request has now been integrated.
Changeset: 3a351580
Author: Zhengyu Gu <zgu at openjdk.org>
URL: https://git.openjdk.java.net/jdk11u-dev/commit/3a3515807cd76b571aa9cf5f19203bca7be7f970
Stats: 9 lines in 3 files changed: 9 ins; 0 del; 0 mod
8274338: com/sun/jdi/RedefineCrossEvent.java failed "assert(m != __null) failed: NULL mirror"
Reviewed-by: phh
Backport-of: 172aed1a2d75756b140cb723133ac5fb67f7745e
-------------
PR: https://git.openjdk.java.net/jdk11u-dev/pull/584
More information about the jdk-updates-dev
mailing list