Ioi Lam
4178834deb
8256172: Clean up CDS handling of i2i_entry
...
Reviewed-by: minqi, ccheung
2020-11-19 07:31:00 +00:00
Thomas Schatzl
d30956055b
8253081: G1 fails on stale objects in archived module graph in Open Archive regions
...
Change the handling of Open Archive areas, instead of assuming that everything in there is live always, a root containing references to all live root objects is provided. Adapt G1 to handle Open Archive regions as any other old region apart from never compacting or evacuating them.
Co-authored-by: Ioi Lam <iklam@openjdk.org>
Reviewed-by: kbarrett, sjohanss, redestad
2020-11-18 08:21:03 +00:00
Calvin Cheung
c6ab0fdb15
8255990: Bitmap region of dynamic CDS archive is not unmapped
...
Reviewed-by: iklam, minqi
2020-11-12 16:14:29 +00:00
Ioi Lam
2f06893a29
8252526: Remove excessive inclusion of jvmti.h and jvmtiExport.hpp
...
Reviewed-by: ihse, kbarrett
2020-11-12 01:45:27 +00:00
Thomas Schatzl
6555996f92
8253600: G1: Fully support pinned regions for full gc
...
Reviewed-by: sjohanss, ayang
2020-11-10 16:36:06 +00:00
Yumin Qi
9d5c9cc78b
8254309: appcds GCDuringDump.java failed - class must exist
...
Reviewed-by: ccheung, iklam
2020-10-31 00:08:37 +00:00
Calvin Cheung
36c150b199
8255489: Unify the parsing of @lambda-proxy and @lambda-form-invokers tags in a classlist
...
Reviewed-by: iklam, minqi
2020-10-30 22:01:59 +00:00
Calvin Cheung
84e985da4b
8253920: Share method trampolines in CDS dynamic archive
...
Reviewed-by: redestad, minqi, iklam
2020-10-27 16:16:01 +00:00
Calvin Cheung
74ac77e2b1
8247666: Support Lambda proxy classes in static CDS archive
...
Reviewed-by: iklam, mchung
2020-10-19 18:27:50 +00:00
Ioi Lam
5145bed028
8254125: Assertion in cppVtables.cpp during builds on 32bit Windows
...
Reviewed-by: shade, ccheung
2020-10-16 05:14:46 +00:00
Yumin Qi
e4469d2c8c
8247536: Support for pre-generated java.lang.invoke classes in CDS static archive
...
Reviewed-by: iklam, mchung
2020-10-10 02:06:52 +00:00
Ioi Lam
d1e94eebdd
8253909: Implement detailed map file for CDS
...
Reviewed-by: stuefe, ccheung
2020-10-08 06:55:42 +00:00
Ioi Lam
8b85c3a6d7
8251261: CDS dumping should not clear states in live classes
...
Reviewed-by: minqi, ccheung
2020-09-24 19:19:53 +00:00
Ioi Lam
9a7dcdcdba
8253261: Disable CDS full module graph until JDK-8253081 is fixed
...
Reviewed-by: ccheung
2020-09-16 22:43:32 +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
c5e63b639e
8248186: Move CDS C++ vtable code to cppVtables.cpp
...
Reviewed-by: coleenp
2020-09-13 19:20:45 +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
Calvin Cheung
0e42d5c4ae
8251860: ClassLoaderData::loaded_classes_do fails with "assert(ZAddress::is_marked(addr)) failed: Should be marked"
...
Call ClassLoaderDataGraph::loaded_cld_do to collect ClassLoaderData in a GrowableArray and then walk through them to link the classes in each ClassLoaderData.
Reviewed-by: coleenp, iklam
2020-09-01 15:42:30 +00:00
Ioi Lam
9523001f65
8251557: Avoid dumping unused symbols/strings into the CDS archive
...
Reviewed-by: minqi, ccheung
2020-08-27 22:24:28 -07:00
Ioi Lam
e4eaa2377b
8252056: Move DumpRegion/ReadClosure/WriteClosure to archiveUtils.hpp
...
Reviewed-by: ccheung, minqi
2020-08-22 17:09:41 -07:00
Ioi Lam
35e3226df8
8250990: Consolidate object copying code for CDS static/dynamic archive dumping
...
Reviewed-by: coleenp, ccheung
2020-08-13 18:40:51 -07:00
Coleen Phillimore
ac4dc0470e
8250519: [REDO] Move mirror oops from Universe into OopStorage
...
Redo the patch but add a null pointer check where one belongs.
Reviewed-by: dcubed, iklam, dholmes
2020-07-25 10:36:19 -04:00
Coleen Phillimore
cbf6894299
8250516: [BACKOUT] Move mirror oops from Universe into OopStorage
...
Reviewed-by: dholmes, tschatzl
2020-07-24 10:34:11 -04:00
Coleen Phillimore
bd12e85975
8249938: Move mirror oops from Universe into OopStorage
...
Save and restore mirror oops to temporary array for CDS, and move them to OopStorage once restored.
Reviewed-by: iklam, dholmes
2020-07-24 08:32:27 -04:00
Ioi Lam
d7b097f117
8244764: Improve assertion for CPP_VTABLE_PATCH_TYPES_DO
...
Reviewed-by: lfoltan, coleenp
2020-07-07 23:11:13 -07:00
Yumin Qi
0e60e8ad85
8246181: Avoid walking SymbolTable during -Xshare:dump
...
All symbols at dump are created as permanent. Store them in a global array to avoid working SymbolTable.
Reviewed-by: iklam, ccheung
2020-06-24 11:15:22 -07:00
Stefan Karlsson
ef3b0ec567
8247755: Leaner and more versatile GrowableArray classes
...
Reviewed-by: kbarrett, coleenp
2020-06-24 13:16:52 +02:00
Stefan Karlsson
77bdc30650
8247470: Fix CHeap GrowableArray NMT accounting
...
Reviewed-by: coleenp, tschatzl, kbarrett
2020-06-16 09:37:53 +02:00
Jesper Wilhelmsson
e33ebc7f0a
Merge
2020-06-16 04:20:30 +02:00
Jie Fu
ca85c5ab15
8247522: assert(is_aligned(class_space_rs.base(), class_space_alignment)) failed: Sanity
...
Co-authored-by: Thomas Stuefe <thomas.stuefe@gmail.com>
Reviewed-by: stuefe, iklam
2020-06-13 23:10:26 +08:00
Ioi Lam
c82c50b2a2
8245925: G1 allocates EDEN region after CDS has executed GC
...
Reviewed-by: jiangli, minqi, tschatzl
2020-06-14 01:19:48 -07:00
Calvin Cheung
30ff2ad58c
8246382: assert in MetaspaceShared::map_archives
...
Perform base archive header CRC check earlier.
Reviewed-by: iklam, coleenp
2020-06-11 15:47:36 +00:00
Thomas Stuefe
2085fd32ff
8247252: TestCombinedCompressedFlags.java failed src/hotspot/share/services/virtualMemoryTracker.cpp:388 Error: ShouldNotReachHere()
...
Reviewed-by: minqi, dholmes
2020-06-11 12:51:09 +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
Thomas Stuefe
8dc66431d4
8243535: NMT may show wrong numbers for CDS and CCS
...
Reviewed-by: zgu, iklam
2020-06-09 08:41:33 +02:00
Ioi Lam
f39a71cafe
8243506: SharedBaseAddress is ignored by -Xshare:dump
...
Reviewed-by: stuefe, ccheung
2020-06-02 01:08:44 -07:00
Yumin Qi
e6855f20b0
8245264: Test runtime/cds/appcds/SignedJar.java fails
...
Concurrent work of symbol table caused _shared_table not walkable in dumping archive which led symbols not sorted in shared archive. Change to use do_safepoint_scan of _local_table to collect symbols.
Reviewed-by: iklam, ccheung
2020-05-27 16:04:28 -07:00
Aleksey Shipilev
008d69e5e2
8245703: 32-bit build failures after JDK-8243392
...
Reviewed-by: dholmes, stuefe
2020-05-25 11:04:08 +02:00
Thomas Stuefe
04e6b743db
8243392: Remodel CDS/Metaspace storage reservation
...
Reviewed-by: iklam, coleenp, ngasson, aph
2020-05-24 19:25:29 +02:00
Ioi Lam
eadcb08c3c
8241071: Generation of classes.jsa with -Xshare:dump is not deterministic
...
Reviewed-by: dholmes, stuefe
2020-05-05 11:10:02 -07:00
Calvin Cheung
e509368fa1
8233093: Move CDS heap oopmaps into new MetaspaceShared::bm region
...
Moved the _closed_archive_heap_oopmaps and _open_archive_heap_oopmaps from the ro to the bm region.
Reviewed-by: iklam, minqi
2020-03-26 10:14:52 -07:00
Calvin Cheung
38940d166a
8238000: Crash in ClassLoader::record_result while dynamic dumping netty
...
Make a copy of the _shared_path_table for use during dynamic CDS dump.
Reviewed-by: iklam, minqi
2020-03-12 16:05:07 -07:00
Calvin Cheung
9e2ab1e363
8232081: Try to link all classes during dynamic CDS dump
...
During CDS dynamic dump, link all classes loaded by the builtin class loaders in JVM_BeforeHalt() and JavaThread::invoke_shutdown_hooks().
Reviewed-by: iklam, dholmes
2020-03-06 15:33:13 -08:00
Ioi Lam
7ba18fc015
8240244: Avoid calling resolve_super_or_fail in SystemDictionary::load_shared_class
...
Reviewed-by: redestad, lfoltan, minqi
2020-03-04 22:26:48 -08: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
Yumin Qi
c37ebcd730
8232069: Enable CDS even when UseCompressedClassPointers and/or UseCompressedOops are false
...
Fix to save UseCompressedOops and UseCompressedClassPointers in shared archive and at runtime run with CDS only if they are matched the stored versions.
Reviewed-by: iklam, ccheung
2020-02-11 12:16:23 -08:00
Ioi Lam
d5bdb76e84
8236236: Eliminate CDS md region and consolidate c++ vtable patching code
...
Reviewed-by: ccheung
2020-01-22 11:52:27 -08:00
Ioi Lam
d1ad0eaf8f
8233826: Change CDS dumping tty->print_cr() to unified logging
...
Reviewed-by: coleenp, dholmes, jiangli
2019-12-19 23:04:49 -08:00
Nick Gasson
aea0a57512
8234794: AArch64: runtime/memory/ReadFromNoaccessArea.java crashes
...
Try to map CDS shared space at 4G aligned address on AArch64
Reviewed-by: adinn, aph, jiangli, iklam
2019-12-19 09:47:33 +08:00