1144 Commits

Author SHA1 Message Date
Hao Tang
681475de5b 8229406: ZGC: Fix incorrect statistics
Reviewed-by: pliden, eosterlund
2019-08-12 10:49:40 +02:00
Aleksey Shipilev
28737bd07f 8229350: Shenandoah does not need barriers before CreateEx
Reviewed-by: rkennke
2019-08-09 13:07:18 +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
Jie Fu
854eeb238e 8229169: False failure of GenericTaskQueue::pop_local on architectures with weak memory model
Reviewed-by: mdoerr, kbarrett, tschatzl
2019-08-07 17:00:19 +08:00
Zhengyu Gu
2b164a34ad 8229213: Shenandoah: Allow VM global oop storage to be processed concurrently
Reviewed-by: shade, rkennke
2019-08-07 09:17:08 -04:00
Zhengyu Gu
0512111dd9 8229206: Shenandoah: ShenandoahWeakRoot::oops_do() uses wrong timing phase
Reviewed-by: shade
2019-08-07 07:45:37 -04: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
Antonios Printezis
3f2a661b7e 8227225: ParallelGC: add subspace transitions for young gen for gc+heap=info log lines
Reviewed-by: tschatzl, kbarrett
2019-08-06 15:03:48 -04:00
Per Lidén
1747e9763d 8229129: ZGC: Fix incorrect format string for doubles
Reviewed-by: stefank, eosterlund
2019-08-06 15:50:30 +02:00
Per Lidén
1f33105379 8229128: ZGC: Remove unused ZThreadRootsIterator
Reviewed-by: eosterlund, stefank
2019-08-06 15:50:25 +02:00
Per Lidén
a862b9341f 8229017: ZGC: Various cleanups of ZVerify
Reviewed-by: stefank, eosterlund
2019-08-06 15:50:12 +02:00
Per Lidén
285193d13c 8228657: ZGC: ZObjectAllocator::used() should take undone allocations into account
Reviewed-by: eosterlund
2019-08-06 15:50:00 +02:00
Per Lidén
a31fd3fc6d 8229135: ZGC: Adding missing ZStatTimerDisable before call to ZVerify::roots_strong()
Reviewed-by: stefank, eosterlund
2019-08-06 15:49:53 +02:00
Aleksey Shipilev
705b9c9496 8229176: Shenandoah should acquire CodeCache_lock without safepoint check
Reviewed-by: rkennke
2019-08-06 11:57:42 +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
Coleen Phillimore
8426db3d74 8229000: Fix lock and reenable assert in Monitor::check_safepoint_state
Reviewed-by: dholmes, kbarrett
2019-08-05 11:16:48 -04:00
Jie Fu
e33ff344e8 8229020: Failure on CPUs allowing loads reordering: assert(_tasks[t] == 1) failed: What else?
Reviewed-by: tschatzl, kbarrett
2019-08-03 09:04:04 +08:00
Roman Kennke
afdd397471 8229002: Shenandoah: Missing node types in ShenandoahLoadReferenceBarrier::needs_barrier_impl()
Reviewed-by: shade
2019-08-02 11:21:41 +02: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
Coleen Phillimore
ab9aab646b 8228630: Remove always true parameter to NoSafepointVerifier
Also remove NoGCVerifier since NoSafepointVerifier covers GC checking when not already at a safepoint and is a stronger check.

Reviewed-by: kbarrett, dholmes
2019-07-31 06:54:50 -04:00
Coleen Phillimore
9ad5641ce5 8228673: Remove develop flag StrictSafepointChecks
Reviewed-by: shade, dholmes
2019-07-31 06:37:13 -04:00
Roman Kennke
8996d4782d 8228775: Shenandoah: Remove useless null-input-verification in Shenandoah/C2 verifier
Reviewed-by: shade
2019-07-31 10:03:44 +02:00
Mikael Vidstedt
895db11053 Merge 2019-07-29 09:59:04 -07:00
Erik Österlund
a42636d34b 8227407: ZGC: C2 loads and load barriers can get separated by safepoints
Reviewed-by: neliasso, smonteith, roland
2019-07-29 13:57:54 +02:00
Kim Barrett
80ebfe9bba 8226796: Reduce debug level logging for oopstorage+blocks
Adjust logging levels based on expected volume of output.

Reviewed-by: tschatzl, pliden
2019-07-26 23:37:51 -04:00
Kim Barrett
b729cda18e 8228631: Fix inconsistent OopStorage::Block owner usage
Only use Block's owner member for address validation.

Reviewed-by: tschatzl, pliden
2019-07-26 20:15:13 -04:00
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