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

Zhengyu Gu zgu at openjdk.java.net
Thu Jan 13 13:31:29 UTC 2022


On Tue, 16 Nov 2021 15:17:24 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

> This patch redoes JDK-8274338 backport to openjdk 11u.
> 
> Early backport failed and was backout. The failure was due to `CLD::loaded_classes_do()`, now requires to hold `MultiArray_lock`, therefore, the closure  `LinkSharedClassesClosure` can not trigger `JavaCall` while holding a lock.
> 
> [Revised]
> Drop new assertion in `CLD::loaded_classes_do()`, only add `MultiArray_lock` to `InstanceKlass::restore_unshareable_info()`, which is the only thing matter in this patch.
> 
> Test:
> - [x] hotspot_appcds 
> - [x] tier1

This pull request has now been integrated.

Changeset: 40d7d034
Author:    Zhengyu Gu <zgu at openjdk.org>
URL:       https://git.openjdk.java.net/jdk11u-dev/commit/40d7d034a9d123a2f8a16c374f6c4f6fb7954173
Stats:     3 lines in 1 file changed: 3 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/632


More information about the jdk-updates-dev mailing list