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
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
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
Coleen Phillimore
cb960ee7b5
8245487: Potential double-free of interfaces array
...
Free _local_interfaces when we free _transitive_interfaces since they can share memory.
Reviewed-by: fparain, lfoltan, iklam
2020-06-05 06:54:05 -04:00
Stefan Karlsson
5fc89b6e72
8246135: Save important GC log lines and print them when dumping hs_err files
...
Reviewed-by: sjohanss, pliden, eosterlund
2020-06-03 14:30:56 +02:00
Thomas Stuefe
5ce3d0d8e5
8245707: Increase Metaspace reserve alignment
...
Reviewed-by: iklam, coleenp
2020-06-02 21:04:13 +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
Stefan Johansson
371a663180
8244817: Add configuration logging similar to ZGCs to other GCs
...
Reviewed-by: kbarrett, pliden, shade
2020-05-26 09:18:13 +02: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
Mikael Vidstedt
071bd521bc
8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
...
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
Coleen Phillimore
47ceb80368
8245428: Remove unused oopFactory functions
...
Reviewed-by: stuefe, dholmes
2020-05-20 07:00:25 -04:00
Erik Österlund
6508c5a38d
8243996: Remove hardcoded field offsets from HotSpot
...
Reviewed-by: jrose, coleenp, dholmes, fparain
2020-05-20 09:31:38 +00:00
Thomas Stuefe
939c0a46a7
8245035: Clean up os::split_reserved_memory()
...
Reviewed-by: coleenp, stefank
2020-05-19 21:04:44 +02:00
Ioi Lam
d5bd523869
8244536: cds/DeterministicDump.java failed: File content different
...
Reviewed-by: ccheung, stuefe
2020-05-17 15:10:06 -07:00
Yumin Qi
8da07d1ae9
8242524: Use different default CDS archives depending on UseCompressOops
...
Reviewed-by: erikj, iklam, ccheung
2020-05-14 14:24:55 -07:00
David Holmes
17dd7dc38c
8240588: _threadObj cannot be used on an exiting JavaThread
...
Reviewed-by: rehn, dcubed, kbarrett
2020-05-13 22:29:54 -04:00
Erik Österlund
382e5dc334
8241825: Make compressed oops and compressed class pointers independent (x86_64, PPC, S390)
...
Reviewed-by: coleenp, fparain, stuefe, mdoerr
2020-05-13 09:36:12 +00: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
Harold Seigel
d74e4f2237
8243572: Multiple tests fail with assert(cld->klasses() != 0LL) failed: unexpected NULL for cld->klasses()
...
Merge unsafe anonymous class stats with hidden classes, avoiding having to call cld->klasses()
Reviewed-by: lfoltan, mchung, mgronlun
2020-04-30 13:10:09 +00:00
Coleen Phillimore
3ed0849504
8243393: Improve ReservedSpace constructor resolution
...
Remove possibly ambiguous constructor and use directly in ReservedCodeHeap
Reviewed-by: stuefe
2020-04-28 07:35:28 -04: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
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
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
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
Thomas Schatzl
cc83c45595
8240590: Add MemRegion::destroy_array to complement introduced create_array
...
Reviewed-by: lkorinth, sjohanss
2020-03-20 11:17:45 +01:00
Claes Redestad
2b465b1ebf
8241010: Unnecessarily resolving some well-known classes
...
Reviewed-by: coleenp
2020-03-13 18:43:11 +01:00
Claes Redestad
37629673e7
8241006: Cleanup TemplateInterpreter initialization
...
Reviewed-by: coleenp
2020-03-13 15:59:27 +01: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
Stefan Karlsson
534331f0a1
8240532: heap inspection prints trailing @ after name of module without version
...
Reviewed-by: lfoltan
2020-03-04 18:08:09 +01:00
Jie Fu
f222cb8b8c
8240695: Build is broken when cds is disabled after JDK-8232081
...
Reviewed-by: iklam
2020-03-07 14:42:55 +08: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
Rahul Raghavan
7b24bd68c2
8238356: CodeHeap::blob_count() overestimates the number of blobs
...
Decremented _blob_count on addition to the free list
Reviewed-by: lucy, shade, thartmann
2020-02-19 15:01:57 +05:30
Thomas Schatzl
fff8438af8
8239070: Memory leak when unsuccessfully mapping in archive regions
...
Reviewed-by: kbarrett, iklam, coleenp, jiangli
2020-02-19 10:04:54 +01:00
Thomas Schatzl
28c630046e
8238999: Remove MemRegion custom new/delete operator overloads
...
Reviewed-by: kbarrett, jiangli, iklam
2020-02-18 10:59:38 +01:00
Stefan Karlsson
e4b27a48a0
8183574: Unify the is_power_of_2 functions
...
Reviewed-by: kbarrett, redestad
2020-02-17 10:03:17 +01: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
Magnus Ihse Bursie
ce28a96c28
8238281: Raise minimum gcc version needed to 5.0
...
Reviewed-by: erikj, dholmes, jwilhelm, mbaesken
2020-02-05 10:45:39 +01:00
Stefan Karlsson
46423b0f70
8237637: Remove dubious type conversions from oop
...
Reviewed-by: kbarrett, dholmes, mdoerr
2020-01-24 09:27:07 +01:00
Jie Fu
a0882bf4cc
8237752: Minimal VM build fails after JDK-8236236
...
Reviewed-by: dholmes
2020-01-23 13:51: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
Coleen Phillimore
65354d838a
8236901: 8232759 missed a test case
...
Use jcmd GC.class-histogram because it also works for verifying that the classes are loaded.
Reviewed-by: dholmes, mseledtsov, iklam
2020-01-17 06:56:29 -05:00
Harold Seigel
7fc58a1020
8235678: Remove unnecessary calls to Thread::current() in MutexLocker calls
...
Add THREAD argument when available and make Thread* the first argument to relevant MutexLocker and MonitorLocker constructors
Reviewed-by: lfoltan, coleenp, dholmes
2020-01-16 13:48:23 +00:00