1144 Commits

Author SHA1 Message Date
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
Zhengyu Gu
fe66fd327f 8225582: Shenandoah: Enable concurrent evacuation of JNIHandles
Reviewed-by: rkennke, shade
2019-06-19 08:52:15 -04:00
Per Lidén
0cc21805ba 8225779: Remove unused CollectedHeap::cell_header_size()
Reviewed-by: eosterlund, rkennke, shade
2019-06-19 08:43:23 +02:00
Zhengyu Gu
da39f4ff6e 8225573: Shenandoah: Enhance ShenandoahVerifier to ensure roots to-space invariant
Reviewed-by: shade
2019-06-18 17:58:07 -04:00
Robbin Ehn
21ab801a22 8226227: Missing include of thread.inline.hpp
Reviewed-by: coleenp
2019-06-18 11:06:29 +02:00
Zhengyu Gu
9a2f403a3f 8225550: Shenandoah: Prevent SH::object_iterate() call's side-effects
Reviewed-by: shade
2019-06-14 11:58:23 -04:00
Aleksey Shipilev
5370654910 8225743: Remove ShenandoahBarrierSetC2::escape_is_barrier_node and related GC interface
Reviewed-by: roland, eosterlund
2019-06-14 16:47:58 +02:00
Aleksey Shipilev
63d9446117 8224881: Shenandoah: trashing "Collection Set, Pinned" region during Degenerated GC
Reviewed-by: rkennke, zgu
2019-06-13 19:37:49 +02:00
Kim Barrett
ae6dee44ed 8226366: Excessive ServiceThread wakeups for OopStorage cleanup
Drive wakes via safepoint cleanups with interval minimums.

Reviewed-by: coleenp, tschatzl
2019-07-02 18:24:47 -04:00
Erik Österlund
a8842c9f59 8225642: ZGC: Crash due to bad oops being spilled to stack in load barriers
Co-authored-by: Stuart Monteith <stuart.monteith@linaro.org>
Reviewed-by: neliasso, pliden
2019-07-02 11:33:05 +02:00
Erik Österlund
ec5bfaba53 8219687: G1 asserts nmethod should not be unloaded during parallel code cache unloading
Reviewed-by: tschatzl, kvn
2019-07-02 11:33:01 +02:00
Aleksey Shipilev
0711ca8671 8224881: Shenandoah: trashing "Collection Set, Pinned" region during Degenerated GC
Reviewed-by: rkennke, zgu
2019-06-13 19:37:49 +02:00
Thomas Schatzl
55492a7d8b 8225418: G1: region attribute remembered set state disagrees with actual remembered set state
Keep remembered set update information when updating region attributes when abandoning the remaining collection set after mixed gc.

Reviewed-by: kbarrett, mdoerr
2019-06-13 11:54:55 +02:00
Sangheon Kim
62d7317f86 8225478: Make G1CMRootRegions independent of HeapRegions
Remove dependency of HeapRegion from G1CMRootRegions class

Reviewed-by: tschatzl, kbarrett
2019-06-12 10:34:29 +02:00
Zhengyu Gu
9597144fb2 8225572: Shenandoah: Move JNIHandles root out of serial roots
Reviewed-by: rkennke
2019-06-11 19:15:31 -04:00
Stefan Karlsson
02a31bf561 8227175: ZGC: ZHeapIterator visits potentially dead objects
Reviewed-by: zgu, eosterlund
2019-06-10 13:04:12 +02:00
Stefan Karlsson
24f58a0ac0 8227083: ZGC: C2: Generates on_weak barrier for WeakCompareAndSwap
Reviewed-by: neliasso, eosterlund
2019-07-02 12:24:26 +02:00
Stefan Karlsson
1e9f16c448 8225770: ZGC: C2: Generates on_weak instead of on_strong barriers
Reviewed-by: neliasso, eosterlund
2019-07-02 12:10:18 +02:00
Nils Eliasson
5fa2642f15 8225564: Remove wrong assert in clean_catch_blocks
Reviewed-by: thartmann
2019-06-11 12:39:37 +02:00
Nils Eliasson
d216c34a43 8225509: clean_catch_blocks must add preds first
Reviewed-by: kvn
2019-06-11 09:27:51 +02:00
Zhengyu Gu
712996ae87 8225514: Shenandoah: ShenandoahCodeRoots should inherit from AllStatic
Reviewed-by: shade
2019-06-10 13:42:11 -04:00
Per Lidén
797a62e938 8225227: ZGC: Be exact in what load barrier to use in ZHeapIterator
Reviewed-by: stefank
2019-06-10 12:52:57 +02:00
Stefan Karlsson
2fded1c480 8223837: Add -XX:MinHeapSize flag to set the minimum heap size
Reviewed-by: pliden, tschatzl
2019-06-07 13:50:14 +02:00
Nils Eliasson
ccbc87cc31 8226287: Make process_users_of_allocation handle gc barriers
Reviewed-by: kvn, roland
2019-07-01 10:49:58 +02:00