26 Commits

Author SHA1 Message Date
Stefan Johansson
9cabfa82ff 8165443: Free Collection Set serial phase takes very long on large heaps
Reviewed-by: tschatzl, kbarrett
2019-12-09 10:26:41 +01:00
Thomas Schatzl
5182f694ed 8234179: Move HeapRegion::_recorded_rs_length/_predicted_elapsed_time_ms into G1CollectionSet
Reviewed-by: sjohanss, lkorinth
2019-12-02 14:21:32 +01:00
Thomas Schatzl
c0d5a70efb 8231579: G1's incremental calculation of region elapsed time always uses the same age group for prediction
Separate calculation of time required for copying objects from non-copy time. Calculate the former in bulk, and the latter as usual, combining them as needed.

Reviewed-by: sjohanss, kbarrett
2019-12-02 14:21:32 +01:00
Thomas Schatzl
1534ccfa14 8233588: Clean up SurvRateGroup
Remove unnecessary members, enforce stricter visibility within use.

Reviewed-by: sangheki, kbarrett
2019-12-02 14:21:32 +01:00
Thomas Schatzl
6246b6cc33 8233919: Incrementally calculate the occupied cards in a heap region remembered set
Instead of iterating over the remembered set card containers, continuously update a single counter per remembered set about occupancy.

Reviewed-by: sangheki, sjohanss
2019-12-02 14:21:32 +01:00
Thomas Schatzl
4f0cc5ab4a 8233998: New young regions registered too early in collection set
Reviewed-by: sangheki, sjohanss
2019-11-29 10:20:17 +01:00
Thomas Schatzl
5bcd794646 8227739: Merge cost predictions for scanning cards and log buffer entries
Revamp the cost predictions for the changes in JDK-8200545 and JDK-8213108.

Reviewed-by: sjohanss, kbarrett
2019-11-29 10:20:14 +01:00
Stefan Karlsson
161333eeba 8234748: Clean up atomic and orderAccess includes
Reviewed-by: dholmes
2019-11-26 10:47:46 +01:00
Kim Barrett
d7fcd0ccac 8231153: Improve concurrent refinement statistics
8043505: G1RemSet::_conc_refine_cards is incremented unsynchronized

Added refinement rates and counts, removed _conc_refine_cards

Reviewed-by: tschatzl, sjohanss
2019-10-08 15:15:50 -04:00
Leo Korinth
4b6f9ed07f 8230398: Remove NULL checks before FREE_C_HEAP_ARRAY
Reviewed-by: dholmes, kbarrett, tschatzl
2019-09-11 14:16:30 +02:00
Thomas Schatzl
f543e8e4ea 8227442: Make young_index_in_cset zero-based
Avoid unnecessary increment of young_index_in_cset in copy_to_survivor_space.

Reviewed-by: kbarrett, sangheki
2019-08-20 09:22:18 +02: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
Thomas Schatzl
d46d9318c1 8213108: Improve work distribution during remembered set scan
Before scanning the heap for roots into the collection set, merge them into a single remembered set (card table) and do work distribution based on location like other collectors do.

Reviewed-by: kbarrett, lkorinth
2019-06-27 11:48:32 +02:00
Thomas Schatzl
55492a7d8b 8225418: G1: region attribute remembered set state disagrees with actual remembered set state
Keep remembered set update information when updating region attributes when abandoning the remaining collection set after mixed gc.

Reviewed-by: kbarrett, mdoerr
2019-06-13 11:54:55 +02:00
Thomas Schatzl
3d149df158 8200545: Improve filter for enqueued deferred cards
Reviewed-by: kbarrett, sangheki
2019-05-14 15:36:26 +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
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
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
Leonid Mesnik
85a5893183 8209758: 2 classes with same name G1PrintCollectionSetClosure cause crash when logging is enabled
Reviewed-by: tschatzl, kbarrett
2018-08-21 13:17:29 -07:00
Thomas Schatzl
d702d5f8d2 8208669: GC changes to allow enabling -Wreorder
Reviewed-by: kbarrett
2018-08-08 15:31:06 +02:00
Thomas Schatzl
5b42f3ce0d 8200426: Make G1 code use _g1h members
Consistently use _g1h member names for cached G1CollectedHeap* variables.

Reviewed-by: sangheki, sjohanss
2018-04-18 11:36:48 +02:00
Thomas Schatzl
5524494066 8199742: Clean up state flags in G1CollectorState
Remove, merge and update naming of flags in G1CollectorState

Reviewed-by: sangheki, sjohanss
2018-03-29 14:07:59 +02:00
Kim Barrett
d1bd39385f 8196876: OopStorage::assert_at_safepoint clashes with assert_at_safepoint macros in g1CollectedHeap.hpp
Add shared safepoint state assertion macros.

Reviewed-by: coleenp, eosterlund
2018-03-03 23:56:08 -05:00
Thomas Schatzl
80fa8a7208 8196602: Change HeapRegionClosure to comply to naming conventions
Reviewed-by: kbarrett, sjohanss
2018-02-09 13:09:55 +01:00
Thomas Schatzl
be94d0ee28 8189729: Change _perc suffixes in identifiers to _percent
Reviewed-by: sjohanss, ehelin
2017-10-23 11:46:54 +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