49 Commits

Author SHA1 Message Date
Kim Barrett
2d9fa9da02 8247912: Make narrowOop a scoped enum
Reviewed-by: iklam, stefank
2020-10-01 10:45:22 +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
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
Stefan Karlsson
17f2250c5a 8247879: Rework WeakHandle and OopHandle to dynamically support different OopStorages
Reviewed-by: coleenp, eosterlund
2020-06-23 09:38:21 +02:00
Stefan Karlsson
77bdc30650 8247470: Fix CHeap GrowableArray NMT accounting
Reviewed-by: coleenp, tschatzl, kbarrett
2020-06-16 09:37:53 +02:00
Erik Österlund
97ce13767a 8235654: JFR leak profiler should not trace through the StringTable
Reviewed-by: stefank, coleenp, kbarrett, egahlin
2019-12-11 16:45:08 +00:00
Stefan Karlsson
d45ec50076 8234737: Harmonize parameter order in Atomic - add
Reviewed-by: rehn, dholmes
2019-11-25 12:31:39 +01:00
Kim Barrett
1acad37ee6 8227054: ServiceThread needs to know about all OopStorage objects
8227053: ServiceThread cleanup of OopStorage is missing some

OopStorages provides named access and iteration.

Reviewed-by: eosterlund, pliden, coleenp
2019-08-21 18:42:30 -04:00
Coleen Phillimore
d35c1540e6 8227766: CheckUnhandledOops is broken in MemAllocator
Save oop created in handle more eagerly, so CheckUnhandledOops doesn't bash it.

Reviewed-by: lfoltan, eosterlund
2019-07-18 07:06:33 -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
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
Stefan Karlsson
5a8ba256df 8223136: Move compressed oops functions to CompressedOops class
Reviewed-by: coleenp, lkorinth
2019-05-09 14:26:03 +02: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
Claes Redestad
89a267ca46 8221836: Avoid recalculating String.hash when zero
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: jrose, adinn
2019-04-10 12:05:50 +02:00
Claes Redestad
3880f3db74 8221724: Enable archiving of Strings with hash 0
Reviewed-by: jiangli, iklam
2019-04-02 11:37:11 +02: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
Aleksey Shipilev
7a86bc1c4f 8216049: stringTable::intern creates redundant String when looking up existing one
Reviewed-by: redestad, gziemski, rehn, zgu, jiangli
2019-02-16 21:15:33 +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
Thomas Schatzl
d800361151 8213229: Investigate treating StringTable as weak in young collections
Reviewed-by: zgu, kbarrett
2019-01-29 11:30:17 +01: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
7e0040c384 8213791: StringTable: Use get and insert
Reviewed-by: eosterlund, gziemski
2018-11-28 11:06:27 +01: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
Jiangli Zhou
80ad2c7e71 8212995: Placing the Integer.IntegerCache and cached Integer objects in the closed archive heap region
Support shareable archive object subgraphs in closed archive heap regions.

Reviewed-by: iklam, ccheung
2018-11-03 15:40:19 -04:00
Jiangli Zhou
a2ad8f419f 8206009: Move CDS java heap object archiving code to heapShared.hpp and heapShared.cpp
Restructure and cleanup java heap object archiving code.

Reviewed-by: coleenp, iklam
2018-10-09 15:58:07 -04: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
Ioi Lam
6c59cb232f 8210875: Refactor CompactHashtable
Reviewed-by: ccheung, jiangli
2018-09-18 21:47:14 -07:00
Ioi Lam
1619cbd14b 8210864: Reduce the use of metaspaceShared.hpp
Reviewed-by: coleenp, lfoltan
2018-09-18 21:46:17 -07:00
Zhengyu Gu
083110efa9 8209852: Counters in StringCleaningTask should be type of size_t
Converted counters to size_t type to avoid casting

Reviewed-by: coleenp
2018-08-27 17:20:29 -04: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
Thomas Schatzl
9c0720b156 8208671: Runtime, JFR, Serviceability changes to allow enabling -Wreorder
Reviewed-by: dholmes, hseigel
2018-08-08 15:31:07 +02:00
Jiangli Zhou
9ba5bab865 8202035: Archive the set of ModuleDescriptor and ModuleReference objects for observable system modules with unnamed initial module
Support system module archiving with unnamed initial module at dump time.

Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: erikj, coleenp, mchung, iklam, ccheung
2018-07-08 12:43:05 -04:00
Robbin Ehn
1e4a26ceda 8205583: Crash in ConcurrentHashTable do_bulk_delete_locked_for
Reviewed-by: coleenp, gziemski
2018-06-27 12:46:15 +02:00
Robbin Ehn
5eb354a014 8204857: ConcurrentHashTable: Fix parallel processing
Reviewed-by: coleenp, gziemski
2018-06-18 16:13:21 +02:00
Robbin Ehn
6b62a66298 8204613: StringTable: Calculates wrong number of uncleaned items
Reviewed-by: pliden, coleenp
2018-06-14 07:26:27 +02:00
Robbin Ehn
66f8951e15 8195097: Make it possible to process StringTable outside safepoint
Reviewed-by: coleenp, gziemski, iklam, jiangli
2018-06-07 14:11:56 +02:00
Stefan Karlsson
6c2e9e1981 8203490: StringTable::dump lacks a load barrier
Reviewed-by: coleenp, pliden
2018-05-23 09:43:41 +02:00
Stefan Karlsson
99072b90d7 8202647: Add deduplicate_string function to CollectedHeap
Reviewed-by: rehn, sjohanss
2018-05-07 14:57:25 +02: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
367f9ea984 8201244: Clean out unnecessary includes of heap headers
Reviewed-by: coleenp, shade
2018-04-10 12:21:05 +02:00
Stefan Karlsson
1a1aecd166 8200106: Move NoSafepointVerifier out from gcLocker.hpp
Reviewed-by: coleenp
2018-03-23 18:54:12 +01:00
Volker Simonis
97cfb7bbb7 8199472: Fix non-PCH build after JDK-8199319
Reviewed-by: stefank, coleenp
2018-03-14 12:12:00 +01:00
Jiangli Zhou
f987dec395 8194759: Support caching class mirror objects
Support archiving mirror objects for shared classes in 'open' archive java heap region.

Reviewed-by: coleenp, iklam, mseledtsov, tschatzl
2018-03-02 17:25:55 -05:00
Erik Österlund
432a71e564 8198286: Direct memory accessors in typeArrayOop.hpp should use Access API
Reviewed-by: pliden, rkennke
2018-02-22 10:39:42 +01:00
Erik Österlund
c54ef2b296 8192003: Refactor weak references in StringTable to use the Access API
Reviewed-by: pliden, dholmes, coleenp
2018-01-08 16:21:23 +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