hg: jdk/submit: 8241815: Unnecessary calls to SystemDictionaryShared::define_shared_package
calvin.cheung at oracle.com
calvin.cheung at oracle.com
Tue Apr 28 00:48:52 UTC 2020
Changeset: b92b43bbcce3
Author: ccheung
Date: 2020-04-28 00:09 +0000
URL: https://hg.openjdk.java.net/jdk/submit/rev/b92b43bbcce3
8241815: Unnecessary calls to SystemDictionaryShared::define_shared_package
Summary: Avoid calling ClassLoaders.definePackage during loading of shared classes originated from the module image since java.lang.Package for named modules are automatically defined.
Reviewed-by: mchung, lfoltan
! src/hotspot/share/classfile/systemDictionaryShared.cpp
! src/hotspot/share/classfile/systemDictionaryShared.hpp
! src/hotspot/share/classfile/vmSymbols.hpp
! src/java.base/share/classes/jdk/internal/loader/ClassLoaders.java
More information about the jdk-submit-changes
mailing list