Lin Zang
3498a10a2b
8215624: Add parallel heap iteration for jmap –histo
...
Chunk and parallelize the heap scan
Reviewed-by: sspitsyn, stefank, phh
2020-08-13 11:31:37 -07:00
Coleen Phillimore
5735fce331
8251489: universe.cpp includes too many headers
...
Reviewed-by: lfoltan, stuefe
2020-08-12 12:37:16 -04:00
Ioi Lam
178eea6065
8249276: CDS archived objects must have "neutral" markwords
...
Reviewed-by: coleenp, dholmes
2020-08-11 22:05:56 -07:00
Coleen Phillimore
0c9e0c2e7f
8244997: Convert the JavaThread::_threadObj oop to use OopStorage
...
Move the oop and handle releasing it in the service thread. Remove Universe::oops_do from callers.
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Reviewed-by: dholmes, zgu, eosterlund, cjplummer
2020-08-07 07:53:26 -04:00
Coleen Phillimore
9798a0846b
8249837: Avoid direct or implicit Thread::current() calls when we already have a current thread variable
...
Add current thread OR remove unneeded HandleMark
Reviewed-by: kvn, dholmes
2020-07-30 10:41:31 -04:00
Coleen Phillimore
aff80ee900
8250589: Move Universe::_reference_pending_list into OopHandle
...
Use synchronization to reference the _reference_pending_list with OopHandle
Reviewed-by: shade, kbarrett, dholmes, eosterlund
2020-07-28 08:10:43 -04: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
Kim Barrett
df923ff2fb
8249944: Move and improve the AllStatic class
...
Move AllStatic to it's own standalone file, and use C++11 deleted functions
Reviewed-by: dholmes, stuefe
2020-07-24 04:43:08 -04:00
David Holmes
1f91e0ebe3
8194309: JNI handle allocation failure not reported correctly
...
Reviewed-by: kbarrett, coleenp
2020-07-23 21:46:39 -04:00
Coleen Phillimore
2d8e74ddea
8249768: Move static oops and NullPointerException oops from Universe into OopStorage
...
Make NPE oops an objArrayOop.
Reviewed-by: dholmes, eosterlund
2020-07-22 10:32:44 -04:00
Kim Barrett
a8d6a05ce8
8248391: Unify handling of all OopStorage instances in weak root processing
...
OopStorage instance now owned by subsystems, and generalize dead entry notification
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Reviewed-by: coleenp, tschatzl
2020-07-16 17:41:14 -04:00
Patric Hedlin
195c45a0e1
8245226: Clean-up FlagSetting and remove misuse
...
Reviewed-by: neliasso, dholmes
2020-02-24 14:06:01 +01: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
Calvin Cheung
a0a0539b0d
8248112: array index out of bound in FileMapInfo::check_paths
...
Check runtime classpath lengths after calling create_path_array().
Reviewed-by: iklam, minqi
2020-06-26 19:26:30 +00: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
Ioi Lam
27fc8b6787
8246546: Simplify SystemDictionary::is_shared_class_visible
...
Reviewed-by: minqi, ccheung
2020-06-23 21:23:00 -07: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
Kim Barrett
c1cd3893bd
8247524: Remove unnecessary volatile qualifiers from member functions
...
Remove qualifiers for oopDesc and metadata-related member functions.
Reviewed-by: stefank, dholmes, stuefe, coleenp
2020-06-15 21:14:52 -04: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
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