1142 Commits

Author SHA1 Message Date
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
Aleksey Shipilev
80f1aaa7a8 8232802: Shenandoah: transition between "cset" and "pinned_cset" does not require cancelled gc
Reviewed-by: zgu
2019-10-22 18:53:28 +02:00
Aleksey Shipilev
fd5d5d7622 8232791: Shenandoah: passive mode should disable pacing
Reviewed-by: zgu
2019-10-22 18:53:22 +02:00
Zhengyu Gu
094a1b8a5f 8232747: Shenandoah: Concurrent GC should deactivate SATB before processing weak roots
Reviewed-by: shade
2019-10-22 11:59:42 -04:00
Aleksey Shipilev
fd9052f3c5 8232729: Shenandoah: assert ShenandoahHeap::cas_oop addresses are aligned
Reviewed-by: rkennke
2019-10-21 22:44:49 +02:00
Aleksey Shipilev
d262906093 8232730: Shenandoah: Traversal should not CAS the roots
Reviewed-by: zgu, rkennke
2019-10-21 22:44:48 +02:00
Aleksey Shipilev
c3d807276d 8232575: Shenandoah: asynchronous object/region pinning
Reviewed-by: rkennke
2019-10-21 15:11:43 +02:00
Aleksey Shipilev
76465eb1d9 8232674: Fix build and rename ShenandoahBarrierSet::oop_load_from_native_barrier
Reviewed-by: zgu
2019-10-21 15:11:42 +02:00
Per Lidén
ee4c8f5f19 8232239: ZGC: Inline ZCPU::count() and ZCPU:id()
Reviewed-by: tschatzl
2019-10-21 09:58:32 +02:00
Per Lidén
cb5e226306 8232238: ZGC: Move ZList inline funtions to zList.inline.hpp
Reviewed-by: eosterlund
2019-10-21 09:58:07 +02:00
Per Lidén
b2ac9a5937 8232237: ZGC: Move ZArray inline funtions to zArray.inline.hpp
Reviewed-by: tschatzl
2019-10-21 09:57:26 +02:00
Per Lidén
6ca7febb54 8232236: ZGC: Move ZThread inline funtions to zThread.inline.hpp
Reviewed-by: tschatzl
2019-10-21 09:56:58 +02:00
Per Lidén
11d949f202 8232235: ZGC: Move ZValue inline funtions to zValue.inline.hpp
Reviewed-by: tschatzl
2019-10-21 09:56:43 +02:00
Per Lidén
cf86d3519c 8231996: ZGC: Replace ZStatisticsForceTrace with check if JFR event is enabled
Reviewed-by: eosterlund
2019-10-21 09:55:58 +02:00
Per Lidén
2e1040e4c6 8231940: ZGC: Print correct low/high capacity
Reviewed-by: eosterlund
2019-10-21 09:55:48 +02:00
Per Lidén
f751808df9 8232001: ZGC: Ignore metaspace GC threshold until GC is warm
Reviewed-by: eosterlund
2019-10-21 09:51:24 +02:00
Zhengyu Gu
ce4a41c71f 8232008: Shenandoah: C1 load barrier does not match interpreter version
Reviewed-by: rkennke
2019-10-18 14:03:44 -04:00
Zhengyu Gu
0f822d90d1 8232010: Shenandoah: implement self-fixing native barrier
Reviewed-by: rkennke
2019-10-18 13:07:46 -04:00
Zhengyu Gu
2c573582ab 8232009: Shenandoah: C2 load barrier does not match interpreter version
Reviewed-by: rkennke
2019-10-18 12:20:51 -04:00
Zhengyu Gu
7987b2fbae 8231324: Shenandoah: avoid duplicated weak root works during final traversal
Reviewed-by: rkennke
2019-10-18 11:36:35 -04:00
Aleksey Shipilev
f630646baf 8232573: Shenandoah: cleanup and add more logging for in-pause phases
Reviewed-by: rkennke
2019-10-17 20:56:11 +02:00
Aleksey Shipilev
86f50ba1ef 8232534: Shenandoah: guard against reentrant ShenandoahHeapLock locking
Reviewed-by: rkennke
2019-10-17 20:56:04 +02:00
Zhengyu Gu
2324892e0b 8231999: Shenandoah: Traversal failed compiler/jsr292/CallSiteDepContextTest.java
Reviewed-by: rkennke
2019-10-17 13:14:48 -04: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
Aleksey Shipilev
6b11446797 8232051: Epsilon should warn about Xms/Xmx/AlwaysPreTouch configuration
Reviewed-by: zgu
2019-10-15 19:45:09 +02:00
Aleksey Shipilev
c1972ecd19 8232205: Shenandoah: missing "Update References" -> "Update Roots" tracing
Reviewed-by: rkennke, zgu
2019-10-15 19:38:59 +02:00
Aleksey Shipilev
67a89143dd 8232176: Shenandoah: new assert in ShenandoahEvacuationTask is too strong
Reviewed-by: rkennke
2019-10-14 11:03:13 +02:00
Erik Österlund
1a0e073932 8232116: ZGC: Remove redundant ZLock in ZNMethodTable
Reviewed-by: stefank, pliden
2019-10-11 13:07:21 +00: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
Per Lidén
e598c94852 8232070: ZGC: Remove unused ZVerifyLoadBarriers
Reviewed-by: tschatzl
2019-10-11 10:16:35 +02:00
Aleksey Shipilev
d2d6b6378e 8231947: Shenandoah: cleanup ShenandoahHumongousMoves flag treatment
Reviewed-by: rkennke
2019-10-10 21:54:54 +02:00
Aleksey Shipilev
57fcedc33d 8232102: Shenandoah: print everything in proper units
Reviewed-by: rkennke
2019-10-10 21:54:53 +02:00
Erik Österlund
42885307f6 8230565: ZGC: Redesign C2 load barrier to expand on the MachNode level
Co-authored-by: Per Liden <per.liden@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Reviewed-by: pliden, stefank, neliasso
2019-10-09 12:30:06 +00: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
Aleksey Shipilev
67a0aa7960 8231946: Remove obsolete and unused ShenandoahVerifyObjectEquals flag
Reviewed-by: rkennke
2019-10-07 17:12:22 +02:00
Aleksey Shipilev
89c8b7be66 8231932: Shenandoah: conc/par GC threads ergonomics overrides user settings
Reviewed-by: rkennke
2019-10-07 17:12:13 +02:00
Roland Westrelin
703760bbec 8231550: C2: ShouldNotReachHere() in verify_strip_mined_scheduling
Reviewed-by: vlivanov, thartmann
2019-10-02 17:32:08 +02:00
Per Lidén
0009f8a51f 8231825: ZGC: Remove ZMaxHeapSize and ZMaxHeapSizeShift
Reviewed-by: tschatzl, eosterlund
2019-10-07 07:53:38 +02: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
Aleksey Shipilev
808a435d79 8231667: Shenandoah: Full GC should take empty regions into slices for compaction
Reviewed-by: rkennke
2019-10-01 15:38:27 +02:00
Roman Kennke
aa251e0762 8231499: Shenandoah: compiler/arraycopy/TestDefaultMethodArrayCloneDeoptC2 fails
Reviewed-by: shade, roland
2019-09-30 17:00:16 +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
Roland Westrelin
e4314c158d 8231405: [Shenandoah] guarantee(d != NULL) failed: Null dominator info
Reviewed-by: shade, rkennke
2019-09-26 17:49:44 +02:00
Erik Österlund
c1865c4ad3 8219724: ZGC: Make inline cache cleaning more robust
Reviewed-by: pliden
2019-09-26 10:00:07 +00:00
Aleksey Shipilev
c49aa4ffa5 8231410: Shenandoah: clone barrier should use base pointer
Reviewed-by: rkennke
2019-09-25 12:21:10 +02:00
Roman Kennke
b8715b4004 8231447: Shenandoah: Compilation-time regression after JDK-8231086
Reviewed-by: shade
2019-09-25 12:33:05 +02:00
Per Lidén
f740058c3d 8231270: ZGC: Remove ZAddressSpace* and ZAddressReserved*
Reviewed-by: stefank, eosterlund
2019-09-24 17:08:19 +02:00