438 Commits

Author SHA1 Message Date
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
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
Thomas Schatzl
03e769bd64 8159984: Remove call to ClassLoaderDataGraph::clear_claimed_marks during the initial mark pause
The CLDG is only iterated once during garbage collection, so we do not need to claim CLDs any more.

Reviewed-by: sjohanss, kbarrett
2019-09-23 11:37:02 +02:00
Thomas Schatzl
9ccc00d1dd 8231117: Remove G1EvacuationRootClosures::raw_strong_oops()
Reviewed-by: kbarrett, sjohanss
2019-09-23 11:36:53 +02:00
Jia Huang
2fc6c6459d 8231242: G1CollectedHeap::print_regions_on() does not print description for "OA" and "CA" regions
Reviewed-by: tschatzl, jiangli
2019-09-20 11:33:30 +08:00
Per Lidén
b053f09769 8231113: Remove CollectedHeap::check_oop_location()
Reviewed-by: stefank, eosterlund, tschatzl
2019-09-19 16:05:47 +02: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
a73f96ef60 8230794: Improve assert to get more information about the JDK-8227695 failure
Reviewed-by: kbarrett, sjohanss
2019-09-11 10:19:09 +02:00
Evgeny Mandrikov
51b0eab330 8207800: always_do_update_barrier is unused
Reviewed-by: shade, tschatzl
2019-09-10 07:42:04 +02:00
Kim Barrett
8b67b75f50 8221361: Eliminate two-phase initialization for PtrQueueSet classes
Move allocator and CBL monitor init to constructor.

Reviewed-by: tschatzl, shade
2019-09-09 16:54:48 -04:00
Stefan Karlsson
57514a065a 8230562: Remove g1HeapSizingPolicy_ext.cpp
Reviewed-by: dholmes, sjohanss
2019-09-04 13:06:04 +02:00
Stefan Karlsson
7384f6cdcf 8224599: Remove globals_ext.hpp
Reviewed-by: coleenp, kvn, gziemski, ehelin
2019-09-04 11:05:20 +02:00
Kim Barrett
40565a845c 8230404: Refactor logged card refinement support in G1DirtyCardQueueSet
Separate concurrent refinement from STW refinement.

Reviewed-by: sjohanss, tschatzl
2019-09-06 13:38:55 -04:00
Erik Österlund
f869706f5f 8224815: Remove non-GC uses of CollectedHeap::is_in_reserved()
Reviewed-by: stefank, coleenp
2019-09-05 08:26:49 +02:00
Stefan Johansson
f7d0ece0a1 8209802: Garbage collectors should register JFR types themselves to avoid build errors
Reviewed-by: kbarrett, tschatzl
2019-09-04 09:47:55 +02:00
Stefan Johansson
bb63558420 8230431: Move G1 trace code from gcTrace* to G1 directory
Reviewed-by: kbarrett, lkorinth
2019-09-04 09:47:51 +02:00
Kim Barrett
a72d25fcc7 8230372: Remove G1GCPhaseTimes::MergeLBProcessedBuffers
Removed no longer needed phase time.

Reviewed-by: sjohanss, tschatzl
2019-08-30 15:36:44 -04:00
Kim Barrett
1668370dfe 8230327: Make G1DirtyCardQueueSet free-id init unconditional
Remove conditional init and make the set an inline member.

Reviewed-by: sjohanss, lkorinth, tschatzl
2019-08-30 14:05:00 -04:00
Kim Barrett
6d064a747e 8230332: G1DirtyCardQueueSet _notify_when_complete is always true
Removed _notify_when_complete, assume true value where formerly used.

Reviewed-by: sjohanss, tschatzl
2019-08-29 18:52:30 -04:00
Kim Barrett
b6b6a37fe1 8230109: G1DirtyCardQueueSet should use card counts rather than buffer counts
Consistently use card counts

Reviewed-by: sjohanss, sangheki
2019-08-29 18:35:52 -04:00
Evgeny Mandrikov
ac7b48d1ed 8215166: Remove unused G1PretouchAuxiliaryMemory option
Removed experimental option.

Reviewed-by: kbarrett
2019-08-28 14:37:45 -04:00
Kim Barrett
a34e8be4f3 8230126: delay_to_keep_mmu can delay shutdown
Wait on CGC_lock instead of sleeping to provide the delay.

Reviewed-by: sangheki, sjohanss
2019-08-28 14:06:37 -04:00
Erik Österlund
855f16ef50 8229278: Improve hs_err location printing to assume less about GC internals
Reviewed-by: stefank, kbarrett
2019-08-28 11:19:09 +02:00
Kim Barrett
b0632088a8 8230192: Rename G1RedirtyCardsBufferList to G1BufferNodeList
Rename class and move to new files.

Reviewed-by: sjohanss, lkorinth
2019-08-27 11:05:17 -04:00
Stefan Karlsson
e1aca70a1c 8229836: Remove include of globals.hpp from allocation.hpp
Reviewed-by: coleenp, kbarrett
2019-08-26 09:13:38 +02:00
Stefan Karlsson
ebf98ac78c 8229839: Break circular dependency between oop.inline.hpp and markWord.inline.hpp
Reviewed-by: pliden, tonyp
2019-08-19 12:40:27 +02:00
Stefan Karlsson
a3d6be2b2d 8229838: Rename markOop files to markWord
Reviewed-by: dholmes, rehn
2019-08-19 11:30:03 +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
Kim Barrett
0b9a90e0d1 8229044: G1RedirtyCardsQueueSet should be local to a collection
Stack allocate redirty qsets in do_collection_pause_at_safepoint.

Reviewed-by: tschatzl, sangheki
2019-08-16 14:46:52 -04:00
Stefan Karlsson
ae5615c614 8229258: Rework markOop and markOopDesc into a simpler mark word value carrier
Reviewed-by: rkennke, coleenp, kbarrett, dcubed
2019-08-06 10:48:21 +02:00
Jesper Wilhelmsson
c11080efd9 Merge 2019-08-09 03:51:20 +02:00
Tobias Hartmann
976a5c6166 8229219: C2 compilation fails with assert: Bad graph detected in build_loop_late
Backed out JDK-8173196.

Reviewed-by: shade, rbackman
2019-08-08 07:05:17 +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
Man Cao
1b1f8d48db 8225776: Optimize branch frequency of G1's write post-barrier in C2
Co-authored-by: Chuck Rasbold <rasbold@google.com>
Reviewed-by: tschatzl, dlong
2019-08-05 13:18:31 -07:00
Kim Barrett
6d65b4fd25 8048556: Unnecessary GCLocker-initiated young GCs
Fixed recognition of unnecessary GCLocker collections.

Reviewed-by: pliden, tschatzl
2019-07-31 14:28:51 -04:00
Zhengyu Gu
f2e1bfa38a 8227927: Move ParallelCleaningTask back to G1
Reviewed-by: tschatzl, kbarrett
2019-07-24 08:34:06 -04:00