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
35e3226df8
8250990: Consolidate object copying code for CDS static/dynamic archive dumping
...
Reviewed-by: coleenp, ccheung
2020-08-13 18:40:51 -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
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
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
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
Claes Redestad
289513cc2b
8239235: Examine SignatureStream performance after consolidation
...
Reviewed-by: lfoltan, coleenp
2020-02-24 10:20:35 +01:00
Stefan Karlsson
d45ec50076
8234737: Harmonize parameter order in Atomic - add
...
Reviewed-by: rehn, dholmes
2019-11-25 12:31:39 +01:00
Stefan Karlsson
8db2c1158e
8234736: Harmonize parameter order in Atomic - store
...
Reviewed-by: rehn, dholmes
2019-11-25 12:30:24 +01:00
Calvin Cheung
b08a8c5cc3
8231606: _method_ordering is not set during CDS dynamic dump time
...
Add the missing DynamicDumpSharedSpaces check in sort_methods(); replace the (DumpSharedSpaces || DynamicDumpSharedSpaces) with the Arguments::is_dumping_archive() function call.
Reviewed-by: iklam, coleenp, jiangli
2019-10-02 16:55:08 -07:00
Coleen Phillimore
1186d8203b
8227123: Assertion failure when setting SymbolTableSize larger than 2^17 (131,072)
...
Increase max size for SymbolTable and fix experimental option range. Fix option range test to include experimental options.
Reviewed-by: jiangli, dholmes, hseigel, gziemski
2019-07-30 09:56:18 -04:00
Coleen Phillimore
cd598622cc
8214822: Move ConcurrentHashTable VALUE parameter to CONFIG
...
Make VALUE parameter be included in CONFIG configuration, also remove BaseConfig
Reviewed-by: dholmes, kbarrett
2019-06-24 16:51:23 -04:00
Coleen Phillimore
d571d105ae
8224847: gc/stress/TestReclaimStringsLeaksMemory.java fails with reserved greater than expected
...
Rehash threshold was too low for StringTable, and rehashed size table was too large.
Reviewed-by: rehn, gziemski
2019-06-11 07:31:47 -04:00
Ioi Lam
43e23020f2
8224692: runtime/appcds tests crash in "HotSpotJVMCI::compute_offset" when running in Graal as JIT mode
...
Reviewed-by: ccheung
2019-05-31 12:51:36 -07:00
Coleen Phillimore
e47584d00d
8221967: InternTest.java timed out
...
Move redundant table lookup and make rehashing be a needed guaranteed safepoint cleanup action.
Reviewed-by: dholmes, rehn
2019-05-20 10:06:07 -04: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
4915cf9b71
8223956: Make SymbolTable and StringTable AllStatic
...
Removed superfluous and confusing _the_table pointer.
Reviewed-by: gziemski, rehn
2019-05-16 07:09:17 -04:00
Coleen Phillimore
204059634d
8223657: Remove unused THREAD argument from SymbolTable functions
...
Also made lookup and lookup_only functions private to SymbolTable. External callers use new_symbol or probe.
Reviewed-by: dholmes, gziemski
2019-05-14 11:29:18 -04:00
Gerard Ziemski
d988e67b89
8185525: Add JFR event for DictionarySizes
...
Added TableStatistics event
Reviewed-by: egahlin, coleenp
2019-05-08 11:11:50 -05:00
Coleen Phillimore
fbafef11c0
8222811: Consolidate MutexLockerEx and MutexLocker
...
Make MutexLocker be MutexLockerEx implementation, remove MutexLockerEx calls.
Reviewed-by: dcubed, dholmes, pliden, rehn
2019-04-25 10:56:31 -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
Claes Redestad
4bfd3db2e0
8220366: Optimize Symbol handling in ClassVerifier and SignatureStream
...
Reviewed-by: hseigel, coleenp, lfoltan
2019-03-14 18:56:25 +01:00
Claes Redestad
c97af8c3f7
8219554: Redundant lookup_common in SymbolTable::add
...
Reviewed-by: iklam, coleenp, mikael
2019-02-22 16:41:01 +01:00
Coleen Phillimore
73ccdf3557
8213753: SymbolTable is double walked during class unloading and clean up table timing in do_unloading
...
Remove gc timing for short runtime cleanup triggering; make symbol table cleaning triggered automatically on unloading
Reviewed-by: shade, stefank, gziemski
2019-01-31 10:29:53 -05:00
Gerard Ziemski
9be447e22f
8214310: SymbolTable: Use get and insert
...
Replace get_insert() with get(),insert()
Reviewed-by: redestad, coleenp
2018-12-11 14:09:54 -06:00
Gerard Ziemski
949269e785
8209387: Follow ups to JDK-8195100 Use a low latency hashtable for SymbolTable
...
Use size_t, replaced macros with const, reverted incorrect API name change.
Reviewed-by: coleenp, kbarrett
2018-12-10 11:59:55 -06:00
Robbin Ehn
9a79d90cc6
8213574: Deadlock in string table expansion when dumping lots of CDS classes
...
Reviewed-by: jiangli, iklam, dholmes
2018-11-14 07:50:37 +01:00
Ioi Lam
147fc3ed13
8213346: Re-implement shared dictionary using CompactHashtable
...
Reviewed-by: jiangli
2018-11-07 19:40:27 -08:00
Ioi Lam
2f82ed4f1d
8210388: Use hash table to store archived subgraph_info records
...
Reviewed-by: jiangli
2018-10-08 16:29:10 -07:00
Harold Seigel
221005a3d4
8209138: Symbol constructor uses u1 as the element type of its name argument
...
Maske u1 the type for Symbol values and add a function to return it as a char.
Reviewed-by: dholmes, coleenp
2018-10-03 09:46:46 -04:00
Ioi Lam
6c59cb232f
8210875: Refactor CompactHashtable
...
Reviewed-by: ccheung, jiangli
2018-09-18 21:47:14 -07:00
Gerard Ziemski
e0559bdd88
8209622: applications/kitchensink/Kitchensink.java failed with Kitchensink failed with exit code = 138
...
SymbolTableLock no longer checks for safepoints
Reviewed-by: coleenp, rehn
2018-08-24 09:12:51 -05:00
Stuart Monteith
2788ddc4eb
8209586: AARCH64: SymbolTable changes throw assert on aarch64
...
Cast the comparison value to match the signdeness
Reviewed-by: gziemski, coleenp
2018-08-17 11:56:59 -05:00
Gerard Ziemski
b75805c1a5
8195100: Use a low latency hashtable for SymbolTable
...
Used concurrentHashTable, similar to stringTable
Reviewed-by: coleenp, kbarrett, iklam, pliden
2018-08-14 18:42:14 -05:00
Coleen Phillimore
39dd04b953
8207359: Make SymbolTable increment_refcount disallow zero
...
Use cmpxchg for non permanent symbol refcounting, and pack refcount and length into an int.
Reviewed-by: gziemski, kbarrett, iklam
2018-07-20 14:52:11 -04:00
Stefan Karlsson
1cb95bd3d1
8200729: Conditional compilation of GCs
...
Reviewed-by: ehelin, coleenp, kvn, ihse
2018-05-04 11:41:35 +02:00
Stefan Karlsson
1a1aecd166
8200106: Move NoSafepointVerifier out from gcLocker.hpp
...
Reviewed-by: coleenp
2018-03-23 18:54:12 +01:00
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00