Commit graph

108 commits

Author SHA1 Message Date
Coleen Phillimore
2599ada152 8308655: Narrow types of ConstantPool and ConstMethod returns
Reviewed-by: fparain, matsaave
2023-05-25 11:52:40 +00:00
Matias Saavedra Silva
c26e1d0148 8303495: Unused path parameter in ClassLoader::add_to_app_classpath_entries(JavaThread* current, char* path, ...)
Reviewed-by: ccheung, dholmes
2023-03-10 16:31:41 +00:00
Johan Sjölen
49ff52087b 8300241: Replace NULL with nullptr in share/classfile/
Reviewed-by: coleenp, iklam
2023-01-27 16:15:29 +00:00
Doug Simon
8b69a2e434 8298099: [JVMCI] decouple libgraal from JVMCI module at runtime
Reviewed-by: never
2022-12-07 22:11:11 +00:00
Stefan Karlsson
df6cf1e41d 8296886: Fix various include sort order issues
Reviewed-by: kbarrett, dholmes, stuefe
2022-11-24 15:06:19 +00:00
Xin Liu
2159170b41 8296453: Simplify resource_area uses in ClassPathDirEntry::open_stream
Reviewed-by: dholmes, phh
2022-11-16 22:40:04 +00:00
Stefan Karlsson
813b223a6b 8296926: Sort include lines of files in the include/ directory
Reviewed-by: kbarrett, erikj, lkorinth
2022-11-16 12:51:26 +00:00
Stefan Karlsson
bfc5816595 8295475: Move non-resource allocation strategies out of ResourceObj
Reviewed-by: coleenp, stuefe, rehn, dholmes
2022-11-10 08:31:37 +00:00
Man Cao
8146e1af82 8296347: Memory leak from ClassPathDirEntry::_dir
Co-authored-by: Justin King <jcking@google.com>
Reviewed-by: dholmes, ccheung
2022-11-08 23:34:45 +00:00
Man Cao
556377a058 8296270: Memory leak in ClassLoader::setup_bootstrap_search_path_impl
Co-authored-by: Justin King <jcking@google.com>
Reviewed-by: dholmes, jiangli
2022-11-07 03:53:32 +00:00
Matias Saavedra Silva
4fb424ba5f 8293961: Unused ClassPathZipEntry::contents_do
Reviewed-by: ccheung, dholmes
2022-09-28 15:59:49 +00:00
Matias Saavedra Silva
112ca2b863 8293964: Unused check_for_duplicates parameter in ClassLoaderExt::process_jar_manifest
Reviewed-by: ccheung, dholmes
2022-09-27 15:39:31 +00:00
Ioi Lam
12317ef7d0 8293046: Move CDS command-line flags to cds_globals.hpp
Reviewed-by: dholmes, ccheung, coleenp
2022-08-31 19:58:36 +00:00
Coleen Phillimore
fe0544f8a7 8292790: Remove hashtable.hpp from other files
Reviewed-by: shade, hseigel
2022-08-23 20:39:25 +00:00
Coleen Phillimore
9f8cc42135 8292218: Convert PackageEntryTable to ResourceHashtable
Reviewed-by: lfoltan, iklam, dholmes
2022-08-12 12:37:27 +00:00
Coleen Phillimore
8e7b45b820 8282986: Remove "system" in boot class path names
Reviewed-by: iklam, dholmes
2022-07-07 15:27:55 +00:00
Magnus Ihse Bursie
4594696f54 8284903: Fix typos in hotspot
Reviewed-by: cjplummer, coleenp, kvn, lucy, stefank
2022-04-19 19:10:52 +00:00
Yumin Qi
cda9c3011b 8278753: Runtime crashes with access violation during JNI_CreateJavaVM call
Reviewed-by: dholmes, stuefe
2022-02-03 18:02:40 +00:00
Harold Seigel
a4d201909c 8280178: Remove os:: API's that just call system API's
Reviewed-by: iklam, ccheung, dholmes
2022-01-20 13:10:33 +00:00
Harold Seigel
4be02d3155 8271987: Manifest improved manifest entries
Reviewed-by: rhalade, dholmes
2022-01-18 23:35:34 +00:00
Calvin Cheung
d2b16c8985 8276126: Dump time class transformation causes heap objects of non-boot classes to be archived
Reviewed-by: iklam, minqi
2021-12-02 14:39:27 +00:00
Stefan Karlsson
bb7dacdc78 8275334: Move class loading Events to a separate section in hs_err files
Reviewed-by: stuefe, coleenp
2021-10-18 07:03:17 +00:00
Calvin Cheung
4fd2a14997 8267556: Enhance class paths check during runtime
Reviewed-by: minqi, iklam
2021-06-10 19:50:44 +00:00
David Holmes
31139108c1 8267553: Extra JavaThread assignment in ClassLoader::create_class_path_entry()
Reviewed-by: ccheung
2021-05-24 05:29:55 +00:00
David Holmes
02f895c5f6 8252685: APIs that require JavaThread should take JavaThread arguments
Reviewed-by: coleenp, sspitsyn, kvn, iklam
2021-05-17 04:05:44 +00:00
Harold Seigel
e14b026841 8243287: Removal of Unsafe::defineAnonymousClass
Reviewed-by: iklam, mchung, alanb, dholmes
2021-05-13 12:46:54 +00:00
Harold Seigel
dc323a9334 8263421: Module image file is opened twice during VM startup
Reviewed-by: iklam, dholmes
2021-04-27 13:31:55 +00:00
Ioi Lam
95f0fd6c4d 8265696: Move CDS sources to src/hotspot/shared/cds
Reviewed-by: erikj, dholmes, stuefe
2021-04-23 04:13:02 +00:00
Ioi Lam
33b6378f1e 8265101: Remove unnecessary functions in os*.inline.hpp
Reviewed-by: dholmes, kbarrett
2021-04-22 05:44:39 +00:00
Yumin Qi
e7cbeba866 8259070: Add jcmd option to dump CDS
Reviewed-by: ccheung, iklam, mli
2021-04-15 05:21:24 +00:00
Calvin Cheung
c9d2d024a3 8263632: Improve exception handling of APIs in classLoader.cpp
Reviewed-by: iklam, dholmes, coleenp
2021-03-26 21:29:53 +00:00
Calvin Cheung
1c9817b0bc 8261479: CDS runtime code should check exceptions
Reviewed-by: minqi, dholmes, iklam
2021-03-23 19:05:50 +00:00
Ioi Lam
2b93ae0019 8261480: MetaspaceShared::preload_and_dump should check exceptions
Reviewed-by: dholmes, ccheung
2021-03-18 04:15:58 +00:00
Calvin Cheung
5f308291a0 8202750: Reduce the use of get_canonical_path() in CDS
Reviewed-by: minqi, iklam
2021-02-18 02:51:24 +00:00
Ioi Lam
adca84cc29 8260341: CDS dump VM init code does not check exceptions
Reviewed-by: coleenp, hseigel
2021-02-11 05:11:48 +00:00
Ioi Lam
ffbcf1b0a7 8260471: Change SystemDictionary::X_klass calls to vmClasses::X_klass
Reviewed-by: lfoltan, hseigel, dholmes, stuefe
2021-02-02 23:40:29 +00:00
Coleen Phillimore
81a66dfa81 8259809: Remove PerfEvent class loading locking counters
Reviewed-by: redestad, iklam
2021-01-26 11:50:10 +00:00
Ioi Lam
ba38661504 8259882: Reduce the inclusion of perfData.hpp
Reviewed-by: redestad, coleenp
2021-01-22 04:20:41 +00:00
Coleen Phillimore
1c33847b8b 8259067: bootclasspath append takes out object lock
Reviewed-by: lfoltan, sspitsyn, iklam, dholmes
2021-01-07 12:35:16 +00:00
Ioi Lam
02a0a027f4 8257563: Remove excessive include of klass.inline.hpp
Reviewed-by: dholmes, stuefe, stefank
2020-12-03 01:34:04 +00:00
Ioi Lam
03a4df0acd 8244778: Archive full module graph in CDS
Reviewed-by: erikj, coleenp, lfoltan, redestad, alanb, mchung
2020-09-13 14:45:12 +00:00
Ioi Lam
dd89c92c50 8251560: Remove excessive header file inclusion from systemDictionary.hpp and others
Reviewed-by: coleenp
2020-08-31 08:05:08 -07:00
Stefan Karlsson
77bdc30650 8247470: Fix CHeap GrowableArray NMT accounting
Reviewed-by: coleenp, tschatzl, kbarrett
2020-06-16 09:37:53 +02:00
Yumin Qi
96fadefaa3 8240245: Avoid calling is_shared_class_visible() in SystemDictionary::load_shared_class()
SystemDitionary::load_shared_class can avoid calling is_shared_class_visible if dumptime and runtime do not use modulepath and boot classpath appending.

Reviewed-by: iklam, ccheung
2020-06-10 23:16:27 -07:00
Yumin Qi
0c0d485c37 8237750: Load libzip.so only if necessary
Libzip.so is unconditionally loaded even without usage. Fix by on demand loading.

Reviewed-by: dlong, iklam, ccheung
2020-05-05 15:40:18 -07:00
Mandy Chung
7cc1371059 8238358: Implementation of JEP 371: Hidden Classes
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: David Holmes <david.holmes@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jamsheed Mohammed C M <jamsheed.c.m@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Reviewed-by: alanb, cjplummer, coleenp, dholmes, dlong, forax, jlahoda, psandoz, plevart, sspitsyn, vromero
2020-04-21 06:55:38 -07:00
Yumin Qi
7b8c373494 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
2020-04-20 16:36:15 -07:00
Calvin Cheung
dd4e04d6f5 8242134: Consolidate the get_package_entry() in SystemDictionaryShared and ClassLoader
Keep the version in ClassLoader.

Reviewed-by: hseigel, redestad, lfoltan
2020-04-08 08:56:05 -07:00
Claes Redestad
9a6038fbf3 8241584: Remove unused classLoader perf counters
Reviewed-by: hseigel
2020-03-25 13:38:31 +01:00
Claes Redestad
23d6a788b4 8241371: Refactor and consolidate package_from_name
Reviewed-by: iklam, lfoltan
2020-03-23 23:18:42 +01:00