Integrated: 8267347: CDS record_linking_constraint asserts with unregistered class

Ioi Lam iklam at openjdk.java.net
Mon May 24 22:33:35 UTC 2021


On Fri, 21 May 2021 17:58:25 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> In CDS terms, "Unregistered classes" are the archived classes that should be loaded by custom class loaders during runtime. Archiving of class loader constraints ([JDK-8178349](https://bugs.openjdk.java.net/browse/JDK-8178349)) should be disabled for such classes.
> 
> During CDS dump time (-Xshare:dump), unregistered classes are loaded by the boot loader (see also [JDK-8261941](https://bugs.openjdk.java.net/browse/JDK-8261941)). `SystemDictionaryShared::record_linking_constraint` doesn't properly recognize such classes, leading to the assert.

This pull request has now been integrated.

Changeset: 209769b5
Author:    Ioi Lam <iklam at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/209769b5ad462ce3dd47f18d93e12147730f8123
Stats:     160 lines in 5 files changed: 138 ins; 4 del; 18 mod

8267347: CDS record_linking_constraint asserts with unregistered class

Reviewed-by: minqi, ccheung

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

PR: https://git.openjdk.java.net/jdk/pull/4147


More information about the hotspot-runtime-dev mailing list