RFR(S) 8193332 MetaspaceShared::check_shared_class_loader_type is not used during archive creation
ioi.lam at oracle.com
Fri May 18 01:13:03 UTC 2018
When we restructured the AppCDS code, the call to
was somehow left out. I have restored it, and actually found a minor bug
related to modules
In classLoader.cpp, at dump time we used to load a class from
-Xbootclasspath/a even if
this class belongs to a named packaged, which means it would not be
loaded by the JVM at runtime.
Such dump-time loading seems unnecessary so I removed it, and fixed a
related test case
to reflect the latest behavior.
Tested with hs-tier1,2.
More information about the hotspot-runtime-dev