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
Aditya Mandaleeka
6a005343b4
8250961: Move Universe::update_heap_info_at_gc to CollectedHeap
...
Reviewed-by: stefank, kbarrett
2020-09-10 07:09:19 +00:00
Ioi Lam
001e51d965
8250563: Add KVHashtable::add_if_absent
...
Reviewed-by: ccheung, coleenp
2020-09-08 18:27:59 +00:00
Ioi Lam
5ca47be633
8252481: Remove excessive include of memTracker.hpp
...
Reviewed-by: lfoltan, ccheung
2020-09-01 08:29:15 -07: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
dd89c92c50
8251560: Remove excessive header file inclusion from systemDictionary.hpp and others
...
Reviewed-by: coleenp
2020-08-31 08:05:08 -07: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
d4e6262f3c
8252398: minimal debug build broken - CURRENT_PC undefined in resourceArea.inline.hpp
...
Reviewed-by: kbarrett
2020-08-26 14:44:23 -07:00
Ioi Lam
a6f41d513e
8252151: Remove excessive inclusion of arguments.hpp
...
Reviewed-by: coleenp, stuefe
2020-08-26 14:42:07 -07:00
Kim Barrett
52117c6f62
8251850: Refactor ResourceMark and DeoptResourceMark for better code sharing
...
Move saved state to ResourceArea, merge most of marks into shared helper.
Reviewed-by: stuefe, iklam, tschatzl, xliu, vlivanov
2020-08-25 22:17:04 -04:00
Ioi Lam
e4eaa2377b
8252056: Move DumpRegion/ReadClosure/WriteClosure to archiveUtils.hpp
...
Reviewed-by: ccheung, minqi
2020-08-22 17:09:41 -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
Coleen Phillimore
35421399a4
8235765: Use of the long type should be avoided in shared code
...
Changed some long declarations to uint64_t/int64_t or unsigned int, depending on context.
Reviewed-by: lfoltan, kvn, dholmes
2020-08-17 10:08:36 -04:00
Stefan Karlsson
51c8ac362e
8251837: Rename get_safepoint_workers to safepoint_workers
...
Reviewed-by: tschatzl
2020-08-17 11:36:09 +02:00
Stefan Karlsson
2631422bc5
8251570: JDK-8215624 causes assert(worker_id <' _n_workers) failed: Invalid worker_id
...
Reviewed-by: kbarrett, sjohanss
2020-08-17 11:32:26 +02: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
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