917 Commits

Author SHA1 Message Date
Zhengyu Gu
6a94be7047 8228490: Shenandoah: Shenandoah concurrent root evacuation may race against OopStorage::release()
Reviewed-by: rkennke
2019-07-22 16:32:58 -04:00
Zhengyu Gu
f2e1bfa38a 8227927: Move ParallelCleaningTask back to G1
Reviewed-by: tschatzl, kbarrett
2019-07-24 08:34:06 -04:00
Thomas Schatzl
5e48c76e81 8228388: Add information about dirty/skipped card for Merge HCC in G1 log
Collect and print informatio about the number of processed cards during the Merge HCC phase to improve log output.

Reviewed-by: kbarrett, sangheki
2019-07-24 11:49:39 +02:00
Thomas Schatzl
b3c21d9a9b 8227719: G1 Pending cards estimation too conservative in cost prediction
Instead of using a coarse prediction for the log buffers, accumulate the actual number directly.

Reviewed-by: kbarrett, sangheki
2019-07-24 11:49:39 +02:00
Thomas Schatzl
550408d240 8226913: Scale cards per chunk used during heap root scanning with region size
Scale cards per chunk based on heap size to decrease constant overhead with heap root scanning data structure initialization

Reviewed-by: kbarrett, sangheki
2019-07-24 11:49:39 +02:00
Coleen Phillimore
d9c3c6f9bf 8228484: Remove NoAllocVerifier because nothing uses it
Reviewed-by: hseigel, kbarrett
2019-07-23 13:56:41 -04:00
Mikael Vidstedt
f73a94a772 Merge 2019-07-23 11:17:59 -07:00
Zhengyu Gu
3f470a2466 8227866: Shenandoah: Split weak root processing and class unloading in parallel cleaning task
Reviewed-by: rkennke
2019-07-13 12:15:17 -04:00
Kim Barrett
4b3c528140 8162929: Enqueuing dirty cards into a single DCQS during GC does not scale
Refactor into G1RedirtyCardsQueue[Set] and G1DirtyCardQueueSet

Reviewed-by: tschatzl, sangheki
2019-07-19 16:47:11 -04:00
Matthias Baesken
9fb552745f 8228420: compile error in shenandoahSupport.cpp with clang 9
Reviewed-by: shade
2019-07-19 12:35:33 +02:00
Kim Barrett
e396e38bb3 8227653: Add VM Global OopStorage
Replaced conditional JVMCI global storage with VM global storage.

Reviewed-by: tschatzl, lfoltan, kvn
2019-07-18 14:57:32 -04:00
Roman Kennke
6a746de90e 8228364: Shenandoah: Remove unused code from ShenandoahBarrierSetC1
Reviewed-by: shade
2019-07-18 13:16:10 +02:00
Coleen Phillimore
d35c1540e6 8227766: CheckUnhandledOops is broken in MemAllocator
Save oop created in handle more eagerly, so CheckUnhandledOops doesn't bash it.

Reviewed-by: lfoltan, eosterlund
2019-07-18 07:06:33 -04:00
Thomas Schatzl
1ddf09fb12 8227090: G1 does not account the OptMergeRS in cost per card calculation
Reviewed-by: sangheki, kbarrett
2019-07-17 16:33:19 +02:00
Thomas Schatzl
b4d014896a 8227089: Add timing information for merging humongous remembered sets
Reviewed-by: sangheki, kbarrett
2019-07-17 16:33:19 +02:00
Thomas Schatzl
ffe79a37c3 8227084: Add timing information for merge heap root preparation
Reviewed-by: sangheki, kbarrett
2019-07-17 16:33:19 +02:00
Thomas Schatzl
5a0525a560 8227671: G1: assert_used_and_recalculate_used_equal performs work in product builds
Reviewed-by: kbarrett, sangheki
2019-07-17 16:33:19 +02:00
Thomas Schatzl
bb7bf64fd7 8226232: Move merge heap roots code out from G1RemSetScanState
Reviewed-by: sangheki, kbarrett
2019-07-17 16:33:19 +02:00
Roman Kennke
ec7f1c13d9 8227677: Shenandoah: C2: Make in-native LRB special case of normal LRB
Reviewed-by: roland
2019-07-17 11:43:38 +02:00
Zhengyu Gu
5b05ea5a02 8225483: Shenandoah: Enhance native access barrier
Reviewed-by: rkennke
2019-07-15 11:23:05 -04:00
Roman Kennke
159a99ee41 8227676: Shenandoah: More consistent naming of LRB entry points
Reviewed-by: shade
2019-07-15 15:27:06 +02:00
Roman Kennke
02a90281ec 8227637: Adjust Shenandoah C2 verifier to recognize IN_NATIVE barriers
Reviewed-by: roland
2019-07-15 12:31:35 +02:00
Roman Kennke
5cb091693d 8226695: Shenandoah: Wire C1 and C2 IN_NATIVE barrier
Reviewed-by: roland
2019-07-04 17:31:03 +02:00
Thomas Schatzl
c03b0c2f62 8224741: Optimize the scan area during the Scan Heap Roots phase
When scanning card blocks, remember the last address already scanned. Continue scanning from this address.

Reviewed-by: kbarrett, lkorinth
2019-07-08 09:24:40 +02:00
Mikael Vidstedt
15bde6d32d Merge 2019-07-05 11:01:31 -07:00
Roman Kennke
d6dd171ece 8227039: Shenandoah: Aggressive heuristics for Traversal mode
Reviewed-by: shade
2019-07-05 11:07:09 +02:00
Kim Barrett
872e04a6a6 8226793: Replace OopStorage dup_name with os::strdup
Use os::strdup and os::free.

Reviewed-by: tschatzl
2019-07-04 13:26:41 -04:00
Roman Kennke
4b821f00f3 8226822: GC interface for C1 runtime calls
Reviewed-by: neliasso, roland
2019-07-04 17:02:17 +02:00
Roman Kennke
d4afa4e1c8 8226757: Shenandoah: Make traversal and passive modes explicit
Reviewed-by: shade
2019-07-04 14:28:31 +02:00
Erik Österlund
03030e473c 8224674: NMethod state machine is not monotonic
Reviewed-by: dlong, coleenp, thartmann
2019-07-18 11:15:20 +02:00
Antonios Printezis
dacaff48e2 8223575: add subspace transitions to gc+metaspace=info log lines
Reviewed-by: stuefe, tschatzl
2019-07-03 15:46:48 -04:00
Mikael Vidstedt
c200fc1f34 Merge 2019-07-03 07:56:41 -07:00
Poonam Bajaj
58d760898e 8227178: Backout of 8215523
Reviewed-by: tschatzl
2019-07-03 14:33:40 +00:00
Stefan Karlsson
53fefe466c 8227085: ZGC: Add on_weak load barrier verification
Reviewed-by: eosterlund
2019-07-02 12:24:28 +02:00
Stefan Karlsson
e632ccd508 8227083: ZGC: C2: Generates on_weak barrier for WeakCompareAndSwap
Reviewed-by: neliasso, eosterlund
2019-07-02 12:24:26 +02:00
Stefan Karlsson
70b0862972 8225770: ZGC: C2: Generates on_weak instead of on_strong barriers
Reviewed-by: neliasso, eosterlund
2019-07-02 12:10:18 +02:00
Zhengyu Gu
803c03c094 8227101: Shenandoah: Use ShenandoahSharedFlag for claimed flag in ShenandoahSerialRoot
Reviewed-by: shade
2019-07-02 10:21:23 -04:00
Poonam Bajaj
355346c10a 8215523: jstat reports incorrect values for OU for CMS GC
Reviewed-by: tschatzl, sgehwolf
2019-07-01 18:24:06 +00:00
Zhengyu Gu
d843b2f58e 8226957: Shenandoah: Remove obsoleted ShenandoahStoreCheck option
Reviewed-by: shade
2019-07-01 08:24:45 -04:00
Nils Eliasson
37a2e72937 8226287: Make process_users_of_allocation handle gc barriers
Reviewed-by: kvn, roland
2019-07-01 10:49:58 +02:00
Coleen Phillimore
74b8b47283 8225437: JvmtiExport::gc_epilogue is unnecessary
Remove jvmtiExport::gc_epilogue after full GCs

Reviewed-by: dholmes, sspitsyn, dlong
2019-06-27 11:40:18 -04: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
Kim Barrett
805258f3a9 8225255: Make SATB qset lock-free
Refactor PtrQueueSet, use lock-free stack for SATB completed buffers

Reviewed-by: tschatzl, shade
2019-06-26 13:18:38 -04:00
Daniel D. Daugherty
b0933034e0 8226699: [BACKOUT] JDK-8221734 Deoptimize with handshakes
Reviewed-by: dholmes, rehn, dlong
2019-06-24 22:38:17 -04:00
Zhengyu Gu
13d3c63405 8226310: Shenandoah: Concurrent evacuation of CLDG
Reviewed-by: rkennke
2019-06-24 14:13:49 -04:00
Zhengyu Gu
cfb99c9382 8226311: Shenandoah: Concurrent evacuation of OopStorage backed weak roots
Reviewed-by: rkennke
2019-06-24 11:46:46 -04:00
Zhengyu Gu
052e0e91c3 8226586: Shenandoah: No need to pre-evacuate roots for degenerated GC
Reviewed-by: rkennke
2019-06-24 09:51:45 -04:00
Zhengyu Gu
2548e0bc5d 8225590: Shenandoah: Refactor ShenandoahClassLoaderDataRoots API
Reviewed-by: rkennke
2019-06-20 18:29:34 -04:00
Zhengyu Gu
cd130d9b39 8226413: Shenandoah: Separate root scanner for SH::object_iterate()
Reviewed-by: rkennke
2019-06-20 10:12:31 -04:00
Andrew Haley
41ca20f5b5 8225716: G1 GC: Undefined behaviour in G1BlockOffsetTablePart::block_at_or_preceding
Reviewed-by: kbarrett, tschatzl
2019-06-18 16:15:15 +01:00