425 Commits

Author SHA1 Message Date
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
Kim Barrett
5c83330cf8 8212826: Make PtrQueue free list lock-free
Add lock-free stack and use in BufferNode::Allocator.

Reviewed-by: tschatzl, sangheki
2019-01-19 19:50:01 -05:00
Jesper Wilhelmsson
cda0d67617 Merge 2019-01-16 20:53:09 +01:00
Thomas Schatzl
39d17b706b 8216490: Spammy periodic GC log message contains random time stamp with periodic gc disabled
Print periodic gc status at startup and only print regular messages if enabled.

Reviewed-by: sangheki, kbarrett
2019-01-16 11:43:51 +01:00
Zhengyu Gu
b9333e1d81 8215299: Remove G1CMTask::should_exit_termination()'s undesirable side-effect
Reviewed-by: kbarrett, rkennke, tschatzl
2019-01-09 19:05:05 -05:00
Kishor Kharbas
d580e2eed2 8211425: Allocation of old generation of java heap on alternate memory devices - G1 GC
8202286: Allocation of old generation of Java heap on alternate memory devices

Enable an experimental feature in HotSpot JVM to allocate old generation of G1 GC on an alternative memory device, such as NV-DIMMs.

Reviewed-by: sangheki, sjohanss
2018-12-21 08:18:59 -08:00
Thomas Schatzl
1a1369d270 8215548: G1PeriodicGCSystemLoadThreshold needs to be a double
Change G1PeriodicGCSystemLoadThreshold to be a double to allow better granularity in determining idleness

Reviewed-by: sjohanss, sangheki
2018-12-20 19:44:33 +01:00
Coleen Phillimore
154a1a02bf 8216167: Update include guards to reflect correct directories
Use script and some manual fixup to fix directores names in include guards.

Reviewed-by: lfoltan, eosterlund, kbarrett
2019-01-10 15:13:51 -05:00
Coleen Phillimore
1509c1ffe1 8215731: Move forward class definitions out of globalDefinitions.hpp
Redistribute the forward declarations to the header files that need them.

Reviewed-by: dholmes, lfoltan
2019-01-04 15:06:01 -05:00
Jesper Wilhelmsson
59716b0bb3 Merge 2019-01-02 16:05:13 +01:00
Kim Barrett
575f633a96 8214201: Make PtrQueueSet completed buffer list private
Merge and make private in PtrQueueSet all completed buffer list handling

Reviewed-by: tschatzl, sjohanss
2018-12-26 19:24:00 -05:00
Jesper Wilhelmsson
eb3549baf7 Merge 2018-12-21 01:25:46 +01:00
Leo Korinth
811c84ba68 8214946: G1: Initialize all class members on construction
Reviewed-by: kbarrett, tschatzl
2018-12-17 11:37:40 +01:00
Thomas Schatzl
7223ed2205 8152724: Sum of eden before GC and current survivor capacity may be larger than heap size
Limit the maximum survivor size for a given GC to the remaining number of free regions.

Reviewed-by: sjohanss, sangheki
2018-12-12 12:00:02 +01:00
Kim Barrett
13b56530f4 8215097: Do not create NonJavaThreads before BarrierSet
G1 and CMS delay worker thread creation until BarrierSet exists.

Reviewed-by: dholmes, tschatzl
2018-12-11 18:00:17 -05:00
Thomas Schatzl
f2765739f7 8215149: TestOptionsWithRangesDynamic.java fails after JDK-8215120
Removed range specifier completely.

Reviewed-by: sjohanss, shade
2018-12-10 18:32:47 +01:00
Aleksey Shipilev
df71ef8c78 8215120: 32-bit build failures after JDK-8212657 (Promptly Return Unused Committed Memory from G1)
Reviewed-by: tschatzl, rkennke
2018-12-10 15:31:36 +01:00
Thomas Schatzl
49efeb69ff 8212657: Implementation of JDK-8204089 Promptly Return Unused Committed Memory from G1
Issue optional, default enabled, concurrent cycles when the VM is idle to reclaim unused internal and Java heap memory.

Co-authored-by: Rodrigo Bruno <rbruno@gsd.inesc-id.pt>
Co-authored-by: Ruslan Synytsky <rs@jelastic.com>
Reviewed-by: sjohanss, sangheki
2018-12-10 10:25:27 +01:00
Coleen Phillimore
3d0faa649c 8214972: Uses of klass_holder() except GC need to apply GC barriers
Fix klass_holder() and make all callers use it, remove holder_phantom().

Reviewed-by: eosterlund, dlong
2018-12-07 14:48:35 -05:00
Zhengyu Gu
b9769c732e 8204947: Port ShenandoahTaskTerminator to mainline and make it default
Reviewed-by: tschatzl, rkennke
2018-12-07 13:55:06 -05:00
Man Cao
df4b7015bf 8213224: Move code related to GC threads calculation out of AdaptiveSizePolicy
Consolidate code related to GC threads calculation into a single class

Reviewed-by: tschatzl, pliden
2018-12-07 12:46:31 +08:00
Stefan Johansson
37f135132e 8213890: Implementation of JEP 344: Abortable Mixed Collections for G1
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Reviewed-by: tschatzl, kbarrett
2018-12-07 13:54:45 +01:00
Nils Eliasson
4246096355 8214773: Replace use of thread unsafe strtok
Reviewed-by: thartmann, dholmes
2018-12-04 18:55:06 +01:00
Thomas Schatzl
eb5557a98e 8214791: Consistently name gc files containing VM operations
Name all gc files containing VM operations according to a <gc>VMOperations.?pp.

Reviewed-by: coleenp, dholmes
2018-12-06 15:44:13 +01:00
Thomas Schatzl
613912a595 8159440: Move marking of promoted objects during initial mark into the concurrent phase
Reviewed-by: sjohanss, kbarrett
2018-12-06 13:55:22 +01:00
Thomas Schatzl
b1c5e310ac 8193312: Rename VM_CGC_Operation to VM_G1Concurrent
Reviewed-by: pliden, sjohanss, jgeorge
2018-12-06 13:55:22 +01:00
Ioi Lam
a0a108fb01 8214388: CDS dumping fails with java heap fragmentation
Force a full GC with a single thread before writing heap archive regions

Reviewed-by: sjohanss, jiangli
2018-12-03 22:27:24 -08:00
Sangheon Kim
098d20434c 8211735: Wrong heap mapper can be selected with UseLargePages on G1
Reviewed-by: tschatzl, kbarrett
2018-11-28 15:09:26 -08:00
Kim Barrett
978c78f7fc 8214278: Cleanup process_completed_threshold and related state
Change types, normalize names, remove special values.

Reviewed-by: tschatzl, sjohanss
2018-11-28 16:05:48 -05:00
Thomas Schatzl
0f0b8626fc 8213996: Remove one of the SparsePRT entry tables
Remove unused functionality in SparsePRT

Reviewed-by: shade, sjohanss
2018-11-28 11:06:58 +01:00
Kim Barrett
5c99d95a63 8214202: DirtyCardQueueSet::get_completed_buffer should not clear _process_completed
Remove flag clearing and simplify get_completed-buffer.

Reviewed-by: tschatzl, sjohanss
2018-11-26 13:17:39 -05:00
Stefan Johansson
bde8307cf9 8214118: HeapRegions marked as archive even if CDS mapping fails
Reviewed-by: tschatzl, jiangli
2018-11-23 10:57:07 +01:00