17 Commits

Author SHA1 Message Date
Kim Barrett
19bed24b1f 8232588: G1 concurrent System.gc can return early or late
8233279: G1: GCLocker GC with +GCLockerInvokesConcurrent spins while cycle in progress

Refactor G1CH::try_collect and fix bugs with concurrent collections.

Reviewed-by: tschatzl, sjohanss
2019-11-13 18:00:30 -05:00
Thomas Schatzl
c64f70be82 8228503: Rename "rs_lengths" to "rs_length" in ergo code
Reviewed-by: pliden, kbarrett
2019-08-07 10:29:07 +02:00
Stefan Karlsson
c90f3ee68b 8223624: Cleanup includes of universe.hpp
Reviewed-by: coleenp, lkorinth
2019-05-09 14:28:30 +02: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
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
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
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
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
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
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
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
Thomas Schatzl
80fa8a7208 8196602: Change HeapRegionClosure to comply to naming conventions
Reviewed-by: kbarrett, sjohanss
2018-02-09 13:09:55 +01:00
Roman Kennke
9ba22876cf 8189276: Make SuspendibleThreadSet and related code available to other GCs
Reviewed-by: zgu, coleenp
2017-10-18 21:17:46 +02:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00