hg: jdk/jdk: 8243586: Optimize calls to SystemDictionaryShared::define_shared_package for classpath
calvin.cheung at oracle.com
calvin.cheung at oracle.com
Wed Jul 1 21:07:06 UTC 2020
Changeset: 47f11f0fcb42
Author: ccheung
Date: 2020-07-01 21:05 +0000
URL: https://hg.openjdk.java.net/jdk/jdk/rev/47f11f0fcb42
8243586: Optimize calls to SystemDictionaryShared::define_shared_package for classpath
Summary: define_shared_package only needs to be called once for each package in a jar specified in the shared class path.
Reviewed-by: iklam, dholmes, minqi
! src/hotspot/share/classfile/packageEntry.hpp
! src/hotspot/share/classfile/systemDictionaryShared.cpp
! test/hotspot/jtreg/runtime/cds/appcds/PackageSealing.java
! test/hotspot/jtreg/runtime/cds/appcds/test-classes/C1.java
+ test/hotspot/jtreg/runtime/cds/appcds/test-classes/C3.java
! test/hotspot/jtreg/runtime/cds/appcds/test-classes/PackageSealingTest.java
! test/hotspot/jtreg/runtime/cds/appcds/test-classes/package_seal.mf
More information about the jdk-changes
mailing list