RFR: 8267347: CDS record_linking_constraint asserts with unregistered class [v2]
Ioi Lam
iklam at openjdk.java.net
Mon May 24 21:57:12 UTC 2021
> 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.
Ioi Lam has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:
- Merge branch 'master' into 8267347-record_linking_constraint-asserts
- PR comments by @yminqi and @calvinccheung
- fixed windows testing
- 8267347: CDS record_linking_constraint asserts with unregistered class
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/4147/files
- new: https://git.openjdk.java.net/jdk/pull/4147/files/ee9a22f4..cd9b60d2
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4147&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4147&range=00-01
Stats: 5758 lines in 970 files changed: 2683 ins; 1797 del; 1278 mod
Patch: https://git.openjdk.java.net/jdk/pull/4147.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/4147/head:pull/4147
PR: https://git.openjdk.java.net/jdk/pull/4147
More information about the hotspot-runtime-dev
mailing list