git: openjdk/mobile: 8240204: Optimize package handling for archived classes
duke
duke at openjdk.java.net
Mon Apr 20 23:41:57 UTC 2020
Changeset: 7b8c3734
Author: Yumin Qi <minqi at openjdk.org>
Date: 2020-04-20 16:36:15 +0000
URL: https://git.openjdk.java.net/mobile/commit/7b8c3734
8240204: Optimize package handling for archived classes
ClassLoader::add_package just sets classpath_index to PackageEntry, moved the code to InstanceKlass. Also avoid calling check_prohibited_package since CDS does not archive prohibited classe in set_package.
Reviewed-by: hseigel, lfoltan, redestad, iklam
! src/hotspot/share/classfile/classLoader.cpp
! src/hotspot/share/classfile/classLoader.hpp
! src/hotspot/share/classfile/klassFactory.cpp
! src/hotspot/share/classfile/systemDictionary.cpp
! src/hotspot/share/oops/instanceKlass.cpp
! src/hotspot/share/oops/instanceKlass.hpp
More information about the mobile-changes
mailing list