1252 Commits

Author SHA1 Message Date
Jesper Wilhelmsson
e788e6dd46 Merge 2019-12-18 23:46:55 +01:00
Jesper Wilhelmsson
fa070554cb Merge 2019-12-17 16:29:30 +01:00
Per Lidén
bd6ab22a59 8235905: ZGC: Rework how ZRootsIterator visits threads
Reviewed-by: stefank
2019-12-17 11:37:55 +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
Zhengyu Gu
9b4539886c 8235842: Shenandoah: Implement native LRB for narrow oop
Reviewed-by: rkennke
2019-12-12 15:20:53 -05:00
Roman Kennke
8a54d97a4d 8234974: Shenandoah: Do concurrent roots even when no evacuation is necessary
Reviewed-by: zgu
2019-12-12 18:34:30 +01:00
Per Lidén
6ad37680dd 8234654: ZGC: Only disarm NMethods when marking/relocating code roots
Reviewed-by: eosterlund, stefank
2019-12-10 13:39:38 +01:00
Per Lidén
c04194036b 8235366: ZGC: Kitchensink.java fails in ZBarrier::should_mark_through
Reviewed-by: eosterlund, stefank
2019-12-10 13:12:25 +01:00
Stefan Karlsson
5b155f05e7 8235324: Dying objects are published from users of CollectedHeap::object_iterate
Reviewed-by: pliden, eosterlund, sjohanss, rkennke
2019-12-04 11:30:32 +01:00
Zhengyu Gu
93286c94dc 8235586: Shenandoah: Traversal GC still uses old CLD::oops_do API
Reviewed-by: rkennke
2019-12-09 14:01:03 -05:00
Vladimir Ivanov
eabb5cc21f 8226411: C2: Avoid memory barriers around off-heap unsafe accesses
Reviewed-by: kvn, thartmann, eosterlund, jrose, rkennke
2019-12-09 19:29:35 +03:00
Stefan Johansson
9cabfa82ff 8165443: Free Collection Set serial phase takes very long on large heaps
Reviewed-by: tschatzl, kbarrett
2019-12-09 10:26:41 +01:00
Claes Redestad
06cb195865 8234331: Add robust and optimized utility for rounding up to next power of two
Reviewed-by: eosterlund, stuefe, jrose
2019-12-06 18:05:36 +01:00
Haoyu Li
7eadf5b372 8220465: Use shadow regions for faster ParallelGC full GCs
Reviewed-by: sjohanss, tschatzl
2019-10-23 21:28:24 +08:00
Thomas Schatzl
70c62f537c 8235341: Improve WorkerDataArray API to disallow separate instantiation of sub-items
Reviewed-by: lkorinth, sjohanss
2019-12-06 09:49:59 +01:00
Thomas Schatzl
02dad379ee 8235346: [Redo] 8235247: WorkerDataArray leaks C heap memory for associated work items
Fix gtest after last iteration to acknowledge correct ownership of sub-WorkerDataArrays.

Reviewed-by: lkorinth, sjohanss
2019-12-06 09:49:57 +01:00
Roman Kennke
0a375cfa2d 8235355: Shenandoah: Resolve deadlock between OOM handler and nmethod lock
Reviewed-by: zgu
2019-12-04 21:40:08 +01:00
Roman Kennke
61cdeba65e 8235337: Shenandoah: Fix evac OOM scoping for concurrent class unloading
Reviewed-by: zgu
2019-12-04 20:03:50 +01:00
Thomas Schatzl
72f42efcd9 8235347: [Backout] 8235247: WorkerDataArray leaks C heap memory for associated work items
Backout of earlier change due to unexpected crashes.

Reviewed-by: sjohanss
2019-12-04 18:54:29 +01:00
Thomas Schatzl
1a4d4ff1d8 8235247: WorkerDataArray leaks C heap memory for associated work items
Reviewed-by: lkorinth, kbarrett
2019-12-04 16:58:35 +01:00
Kim Barrett
577e87e5b2 8234779: Provide idiom for declaring classes noncopyable
Add NONCOPYABLE macro and uses.

Reviewed-by: dholmes, pliden, coleenp
2019-12-03 19:09:30 -05:00
Roman Kennke
3e0a524547 8235260: Shenandoah: Don't allow recycle-assist until concurrent roots are done
Reviewed-by: zgu
2019-12-03 21:23:27 +01:00
Kim Barrett
e70386f23a 8213415: BitMap::word_index_round_up overflow problems
Limit BitMap sizes so to-word round-up can't overflow.

Reviewed-by: tschatzl, stuefe
2019-12-03 15:12:56 -05:00
Erik Österlund
22ea33cf7a 8234662: Sweeper should keep current nmethod alive before yielding for ICStub refills
Reviewed-by: pliden, stefank
2019-12-03 16:13:37 +00:00
Robbin Ehn
21e03e71aa 8234796: Refactor Handshake::execute to take a more complex type than ThreadClosure
Reviewed-by: dholmes, pliden, coleenp
2019-12-03 15:32:41 +01:00
Per Lidén
5e758d2368 8234543: ZGC: Parallel pre-touch
Reviewed-by: eosterlund, stefank
2019-12-03 13:51:29 +01:00
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
Nils Eliasson
6230791e9e 8234520: ZGC: C2: Oop instance cloning causing skipped compiles
Reviewed-by: pliden, vlivanov
2019-11-29 11:26:25 +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
Zhengyu Gu
0a5505f7e9 8228720: Shenandoah: Implementation of concurrent class unloading
Reviewed-by: rkennke
2019-11-27 11:52:57 -05: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
Thomas Schatzl
a5b3bfd8a2 Merge 2019-11-27 10:21:22 +01:00
Thomas Schatzl
198beefccb 8233301: Implementation of JEP 366: Deprecate the ParallelScavenge + SerialOld GC Combination
Deprecate the ParallelScavenge + SerialOld GC combinations by deprecating the UseParallelOldGC flag. Also reviewed by Bernd Eckenfels<ecki@zusammenkunft.net>.

Reviewed-by: pliden
2019-11-27 10:19:45 +01:00
Roman Kennke
476973c47b 8234768: Shenandoah: Streamline enqueueing runtime barriers
Reviewed-by: zgu
2019-11-26 14:48:04 +01:00
Stefan Karlsson
d5c759accb 8234798: Build failure after atomic changes in JDK-8234563
Reviewed-by: tschatzl, rkennke, zgu
2019-11-26 13:50:26 +01:00
Stefan Karlsson
b468726bdc 8234602: ZGC: Windows compile error in ZHeuristic
Reviewed-by: pliden, eosterlund
2019-11-25 15:00:32 +01:00
Stefan Karlsson
e36fa7783f 8234009: ZGC: Move resurrection unblock to before the _unload.purge() call
Reviewed-by: pliden, eosterlund
2019-11-25 14:57:03 +01:00
Stefan Karlsson
265e2f13aa 8234010: ZGC: Change ZResurrection to use Atomic::load/store
Reviewed-by: pliden, eosterlund
2019-11-25 14:56:15 +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
3d426623bf 8234739: Harmonize parameter order in Atomic - xchg
Reviewed-by: rehn, dholmes
2019-11-25 12:32:40 +01:00