[jdk11u-dev] RFR: 8274338: com/sun/jdi/RedefineCrossEvent.java failed "assert(m != __null) failed: NULL mirror" [v2]
Zhengyu Gu
zgu at openjdk.java.net
Fri Nov 5 15:27:36 UTC 2021
> 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
-------------
Changes:
- all: https://git.openjdk.java.net/jdk11u-dev/pull/584/files
- new: https://git.openjdk.java.net/jdk11u-dev/pull/584/files/b600af8f..66b11d14
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk11u-dev&pr=584&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk11u-dev&pr=584&range=00-01
Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
Patch: https://git.openjdk.java.net/jdk11u-dev/pull/584.diff
Fetch: git fetch https://git.openjdk.java.net/jdk11u-dev pull/584/head:pull/584
PR: https://git.openjdk.java.net/jdk11u-dev/pull/584
More information about the jdk-updates-dev
mailing list