656 Commits

Author SHA1 Message Date
Stefan Karlsson
c90f3ee68b 8223624: Cleanup includes of universe.hpp
Reviewed-by: coleenp, lkorinth
2019-05-09 14:28:30 +02:00
Stefan Karlsson
e321fd163d 8223619: Move VerifyOption out of Universe
Reviewed-by: coleenp, lkorinth
2019-05-09 14:26:03 +02:00
Coleen Phillimore
dc2c1d3ba8 8223391: Unsynchronized iteration of ClassLoaderDataGraph
Lock in G1 before clear_claimed_marks

Reviewed-by: hseigel, lfoltan, tschatzl
2019-05-08 06:40:45 -04:00
Sangheon Kim
cb62a78492 8221509: Refactor assert( G1CollectedHeap::used() == recalculate_used() ) with better message
Reviewed-by: tschatzl, manc
2019-05-06 14:19:48 -07:00
Man Cao
ce32bc437c 8223267: Fix incorrect usage of GCTraceTime in g1FullCollector and g1CollectedHeap
Reviewed-by: kbarrett, tschatzl
2019-05-02 15:46:34 -07:00
Kim Barrett
a8e13a5839 8221359: Eliminate SATBMarkQueueSet::filter_thread_buffers
Removed filter_thread_buffers

Reviewed-by: tschatzl, sangheki
2019-05-03 23:35:12 -04:00
Stefan Karlsson
087c03a0c7 8198505: Remove CollectorPolicy and its subclasses
Reviewed-by: pliden, shade
2019-04-15 11:47:46 +02:00
Vladimir Kozlov
e9c523ae5f 8220623: [JVMCI] Update JVMCI to support JVMCI based Compiler compiled into shared library
Reviewed-by: dnsimon, never, stefank, rehn, neliasso, dholmes, kbarrett, coleenp
2019-05-01 12:31:29 -07:00
Coleen Phillimore
ccb2e9d925 8222988: Use MonitorLocker rather than MutexLocker when wait/notify used
Fixed use cases in code except CMS.

Reviewed-by: rehn, dcubed
2019-04-29 16:01:52 -04: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
Sangheon Kim
bb31c7d085 8218049: Survivor MemoryMXBean used() size granularity is region based
Reviewed-by: tschatzl, kbarrett
2019-04-08 12:15:40 -07:00
Thomas Schatzl
f6116c5498 8222105: Add "use_" prefix to G1Policy::adaptive_young_list_length
Improve naming of G1Policy::adaptive_young_list_length to improve readability.

Reviewed-by: kbarrett
2019-04-08 21:01:17 +02:00
Thomas Schatzl
884545e54f 8218668: Clean up evacuation of optional collection set
Better integrate optional collection set evacuation into the existing evacuation scheme, fixing a few minor issues with the initial implementation.

Reviewed-by: kbarrett, sangheki
2019-04-08 20:37:52 +02:00
Kim Barrett
e7e00f7ae0 8221102: Allow GC threads to participate in threads claiming protocol
Expand claim counter from 1bit to uintx, with rare overflow handling.

Reviewed-by: tschatzl, rkennke
2019-04-02 13:08:38 -04:00
Per Lidén
a7dd794beb 8221648: Remove CollectedHeap::is_in_closed_subset()
Reviewed-by: kbarrett, tschatzl
2019-04-02 10:04:25 +02:00
Sangheon Kim
4494be3b5f 8221517: G1: Reserved page size for heap can be wrong
Reviewed-by: tschatzl, kbarrett
2019-04-01 14:54:48 -07:00
Kim Barrett
757e6ecfec 8220671: Initialization race for non-JavaThread PtrQueues
Include on_thread_(attach|detach) under NJTList_lock.

Reviewed-by: pliden, rkennke
2019-04-01 17:11:38 -04:00
Stefan Karlsson
cb58cddccb 8221558: Remove obsolete uses of OopStorage::ParState<'false, false> _par_state
Reviewed-by: pliden, tschatzl
2019-04-01 18:36:12 +02:00
Stefan Karlsson
abb2d67803 8220610: Make CollectedHeap nmethod functions pure virtual
Reviewed-by: shade
2019-04-01 18:34:39 +02:00
Leo Korinth
b0b6b497a4 8221260: Initialize more class members on construction, remove some unused ones
Reviewed-by: kbarrett, tschatzl
2019-03-25 14:46:55 +01:00
Thomas Schatzl
efe03d5a90 8219100: Improve do_collection_pause_at_safepoint
Reviewed-by: kbarrett, sangheki
2019-03-25 14:11:09 +01:00
Kim Barrett
3bb3dbc47e 8220240: Refactor shared dirty card queue
Add G1SharedDirtyCardQueue class.

Reviewed-by: tschatzl, lkorinth
2019-03-22 15:42:43 -04:00
Stefan Karlsson
2370adc703 8220343: Move scavenge_root_nmethods from shared code
Reviewed-by: kvn, eosterlund
2019-03-14 09:15:51 +01:00
Stefan Karlsson
b9cf9e7ca4 8220411: Remove ScavengeRootsInCode=0 code
Reviewed-by: thartmann, coleenp
2019-03-14 09:08:17 +01:00
Thomas Schatzl
687596a858 8220345: Use appropriate type for G1RemSetScanState::IsDirtyRegionState
Reviewed-by: kbarrett, lkorinth
2019-03-13 21:01:56 +01:00
Thomas Schatzl
ece7e8a2a1 8220301: Remove jbyte use in CardTable
Use CardTable::CardValue aliased to uint8_t instead.

Reviewed-by: kbarrett, shade
2019-03-13 21:01:56 +01:00
Per Lidén
c6917cc27e 8219817: Remove unused CollectedHeap::block_size()
Reviewed-by: shade, stefank
2019-03-13 11:31:00 +01:00
Kim Barrett
725a467ad8 8219613: Use NonJavaThread PtrQueues
Init and use NJT queues, remove shared SATB queue.

Co-authored-by: Aleksey Shipilev <shade@redhat.com>
Reviewed-by: shade, zgu, pliden, tschatzl
2019-03-05 19:54:33 -05:00
Thomas Schatzl
3d9de2e6f2 8219856: Spell out G1CollectorPolicy::is_hetero_heap
Reviewed-by: sangheki, kbarrett
2019-03-04 11:49:16 +01:00
Thomas Schatzl
bfaeb63761 8219748: Add and use getter for the timing object in G1
Reviewed-by: shade, kbarrett
2019-03-04 11:49:16 +01:00
Thomas Schatzl
5fe5d0a90a 8219747: Remove g1_ prefix to g1_remset and g1_policy members in G1CollectedHeap
Reviewed-by: shade, sangheki
2019-03-04 11:49:16 +01:00
Thomas Schatzl
719bbcddf8 8219369: Add named constants for iterating ExtRootScan phases
Reviewed-by: kbarrett, sangheki
2019-03-04 11:49:16 +01:00
Thomas Schatzl
e68d585a8d 8218880: G1 crashes when issuing a periodic GC while the GCLocker is held
Do not wait for the GC locker in the periodic GC thread as the GC locker being held is an indication for being busy anyway.

Reviewed-by: kbarrett, shade
2019-03-04 11:49:16 +01:00
Igor Ignatyev
7cf85f15b6 8219565: [deadcode] remove share/utilities/intHisto.*
Reviewed-by: dholmes
2019-02-28 09:10:46 -08:00
Thomas Schatzl
eaab45a8b8 8219096: Merge print_termination_stats code with current logging
Reviewed-by: lkorinth, kbarrett
2019-02-20 14:30:33 +01:00
Thomas Schatzl
708b339eb4 8219098: Make output of region strings more regular in error messages
Error messages should use the HR_PARAMS/HR_FORMAT_PARAMS macros to print information about HeapRegions.

Reviewed-by: kbarrett, lkorinth
2019-02-20 10:48:36 +01:00
Thomas Schatzl
9e563f9a08 8219097: Move comment about using weak code blobs closure for code root scanning to correct place
Reviewed-by: kbarrett
2019-02-19 12:56:02 +01:00
Thomas Schatzl
8b5d08be9f 8218920: Scan HCC should be on the same level as Update RS etc. in the log
Reviewed-by: lkorinth, kbarrett
2019-02-19 12:56:02 +01:00
Thomas Schatzl
a3b6a825bc 8218672: AOT code root scanning shows in the wrong position in the logs
Reviewed-by: lkorinth, kbarrett
2019-02-19 12:56:00 +01:00
Kim Barrett
d2c690e80b 8218089: Rename DirtyCardQueue et al to follow usual G1 naming conventions
Move files and rename classes.

Reviewed-by: tschatzl, lkorinth
2019-02-13 17:38:14 -05:00
Chihiro Ito
6773177000 8214236: sun.gc.collector.2.name should be changed
Reviewed-by: pliden, tschatzl
2019-02-12 08:56:03 +09:00
Thomas Schatzl
1388a70bac 8218680: G1 crashes during calculation of old collection set candidates
Parameters were passed in the wrong order to some helper class.

Reviewed-by: shade, kbarrett, lkorinth
2019-02-12 09:58:27 +01:00
Thomas Schatzl
999ecc66a4 8217328: Rename CollectionSetChooser to G1CollectionSetChooser
Reviewed-by: lkorinth, kbarrett
2019-02-08 12:55:20 +01:00
Thomas Schatzl
13256c7908 8217330: Split G1CollectionSetChooser into collection set candidate container and the chooser algorithm
Reviewed-by: lkorinth, kbarrett
2019-02-08 12:55:20 +01:00
Kim Barrett
1fcbd0cd0d 8217474: Remove WhiteBox.getConcurrentGCPhases()
Remove function and supporting infrastructure.

Reviewed-by: shade, tschatzl
2019-02-05 16:46:49 -05:00
Kim Barrett
cd9b1aabb0 8218164: Improve local control of compiler warnings
Windows warning push/pop and gcc/Windows warning suppression macros.

Reviewed-by: dholmes, tschatzl
2019-02-05 13:21:59 -05:00
Zhengyu Gu
85e19d8beb 8216072: Remove TaskTerminator's assignment operator
Reviewed-by: tschatzl, rkennke, kbarrett
2019-01-31 10:18:41 -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
Kim Barrett
5b63ffd8b2 8216258: Make FreeIdSet semaphore-based
Use semaphore-based blocking and notifying, instead of Mutex.

Reviewed-by: tschatzl, sangheki
2019-01-25 00:27:51 -05:00
Thomas Schatzl
0c352cc57f 8217374: Rename G1 EvacuationInfo class to G1EvacuationInfo
Reviewed-by: phh, kbarrett
2019-01-21 12:19:00 +01:00