|
Relates :
|
|
|
Relates :
|
http://hg.openjdk.java.net/jdk/jdk/file/7ef41e83066b/src/hotspot/share/classfile/systemDictionary.cpp#l1268
is_shared_class_visible() might be time consuming because it needs to look up PackageEntry and ModuleEntry. However, if we are running the JVM without any of the following:
bootclasspath append
--limit-modules
--upgrade-module-path
is_shared_class_visible() will always return true, so we can skip the call to improve start-up time.
|