Jie Fu
779d2c34ae
8253084: Zero VM is broken after JDK-8252689
...
Reviewed-by: iklam, dholmes
2020-09-14 07:21:04 +00:00
Yumin Qi
f978f6fe8a
8252689: Classes are loaded from jrt:/java.base even when CDS is used
...
Reviewed-by: iklam, ccheung
2020-09-14 03:39:13 +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
Calvin Cheung
57d2c86985
8247529: Crash in runtime/cds/appcds/dynamicArchive/LambdaProxyCallerIsHidden.java with Graal
...
Avoid inserting InstanceKlass into the DumpTimeSharedClassTable after dynamic CDS dumping has started. Acquire the DumpTimeTable_lock before iterations on _dumptime_table to ensure memory order correctness.
Reviewed-by: iklam, minqi
2020-08-17 18:46:38 +00:00
Calvin Cheung
5088193336
8249630: unused is_static_archive parameter in SystemDictionaryShared::write_dictionary
...
Reviewed-by: minqi, dholmes
2020-07-23 16:52:08 +00:00
Ioi Lam
27fc8b6787
8246546: Simplify SystemDictionary::is_shared_class_visible
...
Reviewed-by: minqi, ccheung
2020-06-23 21:23:00 -07:00
Calvin Cheung
847a3baca8
8198698: Support Lambda proxy classes in dynamic CDS archive
...
Added archving of hidden classes of type lambda proxy classes.
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: mchung, iklam, dholmes
2020-06-10 15:50:26 +00:00
Coleen Phillimore
498b0e61ed
8246340: Move SystemDictionary GC roots into OopStorage
...
Use vm_global() OopStorage for system dictionary roots
Reviewed-by: eosterlund, lfoltan
2020-06-05 09:55:31 -04:00
Yumin Qi
832272da71
8178349: Cache builtin class loader constraints to avoid re-initializing itable/vtable for shared classes
...
Record loader constraints for built-in class which is loaded by app loader or platform loader in shared archive in dump time. When the class loaded from shared archive at runtime, directly check loader constraints using the saved info so avoid lengthy relayout i/v-table at class link stage.
Reviewed-by: iklam, ccheung
2020-05-01 10:58:45 -07:00
Calvin Cheung
18c43241fb
8241815: Unnecessary calls to SystemDictionaryShared::define_shared_package
...
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
2020-04-28 00:09:53 +00:00
Ioi Lam
0bc7cc4d28
8241158: SA TestHeapDumpForInvokeDynamic.java fails when CDS archive is relocated
...
Reviewed-by: ccheung
2020-04-20 17:33:52 -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
Calvin Cheung
512644de06
8240205: Avoid PackageEntry lookup when loading shared classes
...
Do the PackageEntry lookup at one place and then pass it along to the subsequently called functions which need it.
Reviewed-by: redestad, lfoltan
2020-04-03 14:26:42 -07:00
Calvin Cheung
5229896f4f
8240481: Remove CDS usage of InstanceKlass::is_in_error_state
...
Track the classes which fail verification during CDS dumping in DumpTimeSharedClassInfo.
Reviewed-by: iklam, minqi
2020-03-04 15:34:53 -08:00
Yumin Qi
add146cc8b
8236604: Optimize SystemDictionary::resolve_well_known_classes for CDS
...
Serialize SystemDictionary::_well_known_classes into CDS and quickly resolve them at runtime in vm startup stage.
Reviewed-by: iklam, coleenp
2020-02-28 15:30:29 -08:00
Ioi Lam
5678f98a9e
8231610: Relocate the CDS archive if it cannot be mapped to the requested address
...
Reviewed-by: jiangli, coleenp, ccheung
2019-11-13 16:36:54 -08:00
Ioi Lam
5a120f0967
8232071: Avoid shared dictionary lookup when the class name is not shared
...
Reviewed-by: jiangli, ccheung
2019-10-10 10:48:31 -07:00
Claes Redestad
fe8c0edee0
8231993: Remove redundant pkg_str param from is_shared_class_visible_for_classloader
...
Reviewed-by: hseigel, coleenp
2019-10-08 15:48:36 +02:00
Calvin Cheung
72dc5721e0
8207812: Implement Dynamic CDS Archive
...
Improve the usability of AppCDS
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: Jiangli Zhou <jianglizhou@google.com>
Reviewed-by: acorn, jiangli, mseledtsov
2019-05-17 08:29:55 -07:00
Coleen Phillimore
77d60eff6a
8223626: move print() functions to cpp files
...
Improve debugging experience
Reviewed-by: dholmes, dlong
2019-05-10 09:05:29 -04:00
Ioi Lam
22484b8c35
8221698: Remove redundant includes from popular header files
...
Removed histogram.hpp classLoader.hpp utf8.hpp moduleEntry.hpp packageEntry.hpp
Reviewed-by: coleenp, stuefe
2019-03-30 08:26:20 -07:00
Ioi Lam
d06f3e7e28
8218751: Do not store original classfiles inside the CDS archive
...
Remove the OD shared region and decode classfiles on the fly
Reviewed-by: jiangli, ccheung, sspitsyn, redestad
2019-02-21 17:07:35 -08:00
Coleen Phillimore
154a1a02bf
8216167: Update include guards to reflect correct directories
...
Use script and some manual fixup to fix directores names in include guards.
Reviewed-by: lfoltan, eosterlund, kbarrett
2019-01-10 15:13:51 -05:00
Ioi Lam
147fc3ed13
8213346: Re-implement shared dictionary using CompactHashtable
...
Reviewed-by: jiangli
2018-11-07 19:40:27 -08:00
Ioi Lam
b84cf61b08
8213250: CDS archive creation aborts due to metaspace object allocation failure
...
Reviewed-by: jiangli, ccheung
2018-11-01 10:59:05 -07:00
Coleen Phillimore
dc556f4086
8209738: Remove ClassLoaderDataGraph::*oops_do functions
...
Make walking CLDG more consistent.
Reviewed-by: dholmes, tschatzl
2018-08-21 09:33:41 -04:00
Ioi Lam
1b2e7cbaef
8208999: Some use of Klass* should be replaced by InstanceKlass*
...
Klass::java_super() => InstanceKlass*; InstanceKlass::{local,transitive}_interfaces() => Array<InstanceKlass*>*
Reviewed-by: coleenp, hseigel
2018-08-07 15:45:07 -07:00
Ioi Lam
5f578213c5
8189140: SystemDictionaryShared::initialize() should be renamed to be more meaningful
...
Removed this function, added JavaCalls::construct_new_instance and moved SharedDictionary_lock
Reviewed-by: jiangli, ccheung, dholmes, coleenp
2018-05-15 14:49:10 -07:00
Coleen Phillimore
ddfd4c33c6
8201556: Disallow reading oops in ClassLoaderData if unloading
...
Move class_loader oop to an OopHandle, and assert that holder is alive when getting class_loader.
Reviewed-by: kbarrett, adinn
2018-04-18 18:43:04 -04:00
Jiangli Zhou
61e736cbae
8188791: Move AppCDS from closed repo to open repo
...
Co-authored-by: Mikhailo Seledtsov <mikhailo.seledtsov@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Reviewed-by: dsamersoff, simonis, minqi
2017-11-27 20:21:34 -08:00
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00