622 Commits

Author SHA1 Message Date
Thomas Schatzl
67e0f3b490 8234587: Rename the SurvRateGroup class to G1SurvRateGroup
Reviewed-by: kbarrett, sangheki
2019-12-02 14:21:32 +01:00
Thomas Schatzl
62aa051aa9 8234586: Rename survRateGroup.?pp files to g1SurvRateGroup.?pp
Reviewed-by: kbarrett, sjohanss
2019-12-02 14:21:32 +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
eaca9f8846 8234574: Rename prediction methods in G1Analytics
Reviewed-by: sjohanss, sangheki
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
257c3930f9 8227434: G1 predictions may over/underflow with high variance input
Clamp G1 prediction output to sensible values.

Reviewed-by: lkorinth, sjohanss
2019-11-29 10:20:16 +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 Johansson
4266daf9c9 8141637: Parallelize single threaded heap region iteration during Pre Evacuate Collection Set
Reviewed-by: tschatzl, lkorinth
2019-11-27 12:18:40 +01:00
Stefan Karlsson
53263049c9 8234897: 8234748: Clean up atomic and orderAccess includes - part 2
Reviewed-by: tschatzl, dholmes
2019-11-27 11:31:46 +01:00
Stefan Karlsson
161333eeba 8234748: Clean up atomic and orderAccess includes
Reviewed-by: dholmes
2019-11-26 10:47:46 +01:00
Stefan Karlsson
0ad50c2b5c 8234740: Harmonize parameter order in Atomic - cmpxchg
Reviewed-by: rehn, dholmes
2019-11-25 12:33:15 +01:00
Stefan Karlsson
d45ec50076 8234737: Harmonize parameter order in Atomic - add
Reviewed-by: rehn, dholmes
2019-11-25 12:31:39 +01:00
Stefan Karlsson
8db2c1158e 8234736: Harmonize parameter order in Atomic - store
Reviewed-by: rehn, dholmes
2019-11-25 12:30:24 +01:00
Stefan Karlsson
e527ce4b57 8234562: Move OrderAccess::release_store*/load_acquire to Atomic
Reviewed-by: rehn, dholmes
2019-11-25 12:22:13 +01:00
Man Cao
5f2ac35cd0 8087198: G1 card refinement: batching, sorting
Reviewed-by: tschatzl, kbarrett
2019-11-22 17:03:55 -08:00
Thomas Schatzl
7d160282f2 8233597: Clean up code in G1Analytics::compute_pause_time_ratio
Reviewed-by: kbarrett, sjohanss
2019-11-22 10:03:38 +01:00
Thomas Schatzl
9915f88688 8233702: Introduce helper function to clamp value to range
Reviewed-by: sjohanss, kbarrett
2019-11-22 10:03:38 +01:00
Thomas Schatzl
79cfb94d36 8234000: Make HeapRegion::bottom/end/hrm_index const
Reviewed-by: kbarrett, sjohanss
2019-11-22 10:03:38 +01:00
Thomas Schatzl
3e492436fd 8233997: Some members of HeapRegion are not cleared in HeapRegion::hr_clear()
Reviewed-by: sjohanss, sangheki
2019-11-22 10:03:38 +01:00
Thomas Schatzl
d29dcafa50 8233306: Sort members in G1's HeapRegion after removal of Space dependency
Reviewed-by: sangheki, sjohanss
2019-11-22 10:03:38 +01:00
Thomas Schatzl
9a4c25731e 8228609: G1 copy cost prediction uses used vs. actual copied byte
Let the object copy cost predictor use the actual copied bytes as input for the prediction instead of the used bytes.

Reviewed-by: kbarrett, sjohanss
2019-11-21 11:42:54 +01:00
Per Lidén
08822b4e05 8234437: Remove CollectedHeap::safe_object_iterate()
Reviewed-by: kbarrett, sjohanss
2019-11-20 10:37:46 +01:00
Sangheon Kim
9611320f69 8232533: G1 uses only a single thread for pretouching the java heap
Reviewed-by: tschatzl, sjohanss
2019-11-19 12:28:39 -08:00
Kim Barrett
7e2ec3bdc3 8233280: Remove GCLockerInvokesConcurrent
Remove use and make option obsolete.

Reviewed-by: tschatzl, sjohanss
2019-11-15 16:58:29 -05:00
Man Cao
8ef0007ada 8234208: Logging reports zero total refined cards under "Before GC RS summary"
Reviewed-by: kbarrett, tschatzl
2019-11-14 17:34:45 -08:00
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
Sangheon Kim
46c3d43f83 8220312: Implementation: NUMA-Aware Memory Allocation for G1, Logging (3/3)
Reviewed-by: kbarrett, sjohanss, tschatzl
2019-11-13 10:51:41 -08:00
Sangheon Kim
eaa6355cb0 8220311: Implementation: NUMA-Aware Memory Allocation for G1, Survivor (2/3)
Reviewed-by: kbarrett, sjohanss, tschatzl
2019-11-13 10:49:32 -08:00
Sangheon Kim
52116d808c 8220310: Implementation: NUMA-Aware Memory Allocation for G1, Mutator (1/3)
Reviewed-by: kbarrett, sjohanss, tschatzl, pliden
2019-11-13 10:49:12 -08:00
Leo Korinth
1fc67ab002 8232365: Implementation for JEP 363: Remove the Concurrent Mark Sweep (CMS) Garbage Collector
Reviewed-by: kbarrett, tschatzl, erikj, coleenp, dholmes
2019-11-13 11:37:29 +01:00
Jesper Wilhelmsson
fa070554cb Merge 2019-12-17 16:29:30 +01:00
Thomas Schatzl
dcb17bad55 8235996: Move obsolete flag G1RSetScanBlockSize in flags list
Reviewed-by: sjohanss, lkorinth
2019-12-17 10:12:41 +01:00
Thomas Schatzl
c4b3dcf8c1 8189737: Make HeapRegion not derive from Space
Reviewed-by: sjohanss, kbarrett
2019-11-08 10:01:13 +01:00
Markus Grönlund
8addc1418a 8226511: Implement JFR Event Streaming
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Co-authored-by: Mikhailo Seledtsov <mikhailo.seledtsov@oracle.com>
Reviewed-by: egahlin, mseledtsov, mgronlun
2019-10-30 19:43:52 +01:00
Thomas Schatzl
ba9ce48bd8 8232776: G1 should always take rs_length_diff into account when predicting rs_lengths
Reviewed-by: sangheki, kbarrett
2019-10-25 12:32:46 +02:00
Thomas Schatzl
9ae0d5f81f 8232777: Rename G1Policy::_max_rs_length as it is no maximum
Reviewed-by: kbarrett, sjohanss
2019-10-25 12:33:30 +02:00
Thomas Schatzl
e4a6d80db2 8232779: G1 current collection parallel time does not include optional evacuation
Reviewed-by: kbarrett, sangheki
2019-10-25 12:34:30 +02:00
Thomas Schatzl
5a21a8c4dd 8230706: Waiting on completion of strong nmethod processing causes long pause times with G1
Instead of globally waiting for completion of strong nmethod processing during evacuation, synchronize the nmethods processing on a per-nmethod basis so that only one thread processes one nmethod at once using a state. This state indicates what work (strong/weak processing) needs to be done and what has already been done.

Reviewed-by: sjohanss, kbarrett
2019-10-24 11:08:16 +02:00
Thomas Schatzl
f2abda172b 8232771: Revert JDK-8230794 because of environment changes
Reviewed-by: pliden, sjohanss
2019-10-23 14:06:39 +02:00
Claes Redestad
638fe2b833 8232211: Remove dead code from os.hpp|cpp
Reviewed-by: dholmes, dcubed, rehn
2019-10-17 00:00:13 +02:00
Man Cao
7e6ebde13c 8232232: G1RemSetSummary::_rs_threads_vtimes is not initialized to zero
Fix error in "Concurrent refinement threads times" in GC log and cleanup.

Reviewed-by: tschatzl, kbarrett
2019-10-14 18:48:10 -07:00
Thomas Schatzl
1c9dd15716 8232260: Remove g1 prefix in G1CollectedHeap::g1_hot_card_cache() getter
Reviewed-by: kbarrett, sjohanss
2019-10-16 12:36:44 +02:00
Thomas Schatzl
5e9b772767 8231956: Remove seq_add_card/reference from PerRegionTable class
Reviewed-by: sjohanss, pliden
2019-10-11 11:21:28 +02: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
85a62dcc5c 8231671: Fix copyright headers in hotspot (missing comma after year)
Reviewed-by: tschatzl, dholmes
2019-10-02 16:08:02 +02:00
Coleen Phillimore
59dcb50e96 8231472: Clean up Monitor::_safepoint_check usage to Mutex::_safepoint_check
Change Monitor:: to Mutex:: when allocating a Mutex, and in mutexLocker.

Reviewed-by: rehn, dholmes
2019-09-27 07:56:02 -04:00
Thomas Schatzl
f92526e6fd 8231189: Rename worker_i parameters to worker_id
Reviewed-by: kbarrett, sjohanss
2019-09-23 11:37:08 +02:00