1235 Commits

Author SHA1 Message Date
Coleen Phillimore
016b0f0caa 8232759: Remove GC.class_stats
Make the GC.class_stats option obsolete

Reviewed-by: dholmes, iklam
2020-01-09 17:38:41 -05:00
Jesper Wilhelmsson
943b87ddde Merge 2020-01-09 20:21:53 +01:00
Thomas Schatzl
fab3122111 8214277: Use merged G1ArchiveRegionMap for open and closed archive heap regions
Reviewed-by: kbarrett, jiangli
2020-01-09 21:57:18 +01:00
Zhengyu Gu
11738f10a7 8228818: Shenandoah: Processing weak roots in concurrent phase when possible
Reviewed-by: rkennke
2020-01-09 08:35:44 -05:00
Roman Kennke
4a84146e43 8236815: Shenandoah: Fix weak roots in final Traversal GC phase
Reviewed-by: zgu
2020-01-08 22:46:33 +01:00
Thomas Schatzl
ea83ced243 8231670: Remove TaskExecutor abstraction used in preserved marks processing
Reviewed-by: sjohanss, kbarrett
2020-01-08 13:33:34 +01:00
Ioi Lam
584db9818a 8236625: Remove writeable macro from JVM flags declaration
Reviewed-by: coleenp, hseigel, gziemski
2020-01-07 18:56:18 -08:00
Roman Kennke
ba6cedcf24 8236732: Shenandoah: Stricter placement for oom-evac scopes
Reviewed-by: zgu
2020-01-07 21:53:52 +01:00
Roman Kennke
769f853592 8236732: Shenandoah: Stricter placement for oom-evac scopes
Reviewed-by: zgu
2020-01-07 21:53:52 +01:00
Zhengyu Gu
9e09ba5e13 8236681: Shenandoah: Disable concurrent class unloading flag if no class unloading for the GC cycle
Reviewed-by: rkennke
2020-01-07 08:53:37 -05:00
Zhengyu Gu
ee5729ac21 8236681: Shenandoah: Disable concurrent class unloading flag if no class unloading for the GC cycle
Reviewed-by: rkennke
2020-01-07 08:53:37 -05:00
Mikael Vidstedt
c33466012e Merge 2019-12-20 22:41:53 -08:00
Stefan Johansson
8d00c5aa0d 8235119: Incomplete initialization of scan_top values results in out-of-bounds scanning of regions
Reviewed-by: kbarrett, tschatzl, sangheki
2019-12-20 09:42:38 -08:00
Vladimir Kozlov
4b1be3ecf9 8236000: VM build without C2 fails
C2 flags should be checked only when C2 is present.

Reviewed-by: kbarrett, thartmann
2019-12-18 12:32:34 -08:00
Nick Gasson
995fbebd81 8235982: AArch64: Insufficient memory barriers in shadow region algorithm
The memory barriers used for synchronizing ParallelCompactData::RegionData::_shadow_state and ParallelCompactData::RegionData::shadow_region are insufficient to prevent reordering of loads.

Reviewed-by: tschatzl, sjohanss
2019-12-18 11:20:13 +01:00
Yasumasa Suenaga
4778cbbafb 8235819: -Wformat-overflow is reported from GCC 9
Reviewed-by: tschatzl, lkorinth
2019-12-17 10:00:55 +09:00
Zhengyu Gu
0591a66b90 8235842: Shenandoah: Implement native LRB for narrow oop
Reviewed-by: rkennke
2019-12-12 15:20:53 -05:00
Roman Kennke
450b97f593 8234974: Shenandoah: Do concurrent roots even when no evacuation is necessary
Reviewed-by: zgu
2019-12-12 18:34:30 +01:00
Kim Barrett
ef5b447b04 8235751: Assertion when triggering concurrent cycle during shutdown
Skip initial mark during shutdown and don't assert when that happens.

Reviewed-by: sjohanss, tschatzl
2020-01-07 17:28:42 -05:00
Stefan Karlsson
e6876a9cc3 8226797: serviceability/tmtools/jstat/GcCapacityTest.java fails with Exception: java.lang.RuntimeException: OGCMN > OGCMX (min generation capacity > max generation capacity)
Reviewed-by: sjohanss, tschatzl
2019-12-12 16:23:13 +01:00
Stefan Karlsson
47ee85a247 8235760: ZGC: Implement precise check for @require vm.gc.Z for Windows
Reviewed-by: eosterlund, pliden
2019-12-11 12:53:10 +01:00
Stefan Karlsson
938a4951ab 8235759: Extend GCConfig::is_gc_supported to mean supported not only included in build
Reviewed-by: pliden
2019-12-11 12:29:49 +01:00
Stefan Karlsson
8c27388905 8235757: Rename SupportedGC to IncludedGC
Reviewed-by: pliden
2019-12-11 12:29:43 +01:00
Per Lidén
b7bca76f51 8235748: ZGC: Remove ZAddress::address()
Reviewed-by: eosterlund, stefank
2019-12-12 10:10:37 +01:00
Per Lidén
056b70c4b7 8235696: ZGC: assert(ZNMethod::is_armed(nm) == _should_disarm_nmethods) failed: Invalid state
Reviewed-by: eosterlund, stefank
2019-12-12 10:10:28 +01:00
Zhengyu Gu
5fd2efb7e9 8235776: Shenandoah: Shenandoah root updater not always uses right code blob closure
Reviewed-by: rkennke
2019-12-11 14:01:00 -05:00
Roland Westrelin
51bc2d15a4 8235636: gc/shenandoah/compiler/TestUnsafeOffheapSwap.java fails after JDK-8226411
Reviewed-by: rkennke
2019-12-06 16:21:26 -05:00
Roman Kennke
3f7ecfb5b1 8235729: Shenandoah: Remove useless casting to non-constant
Reviewed-by: roland
2019-12-11 16:43:02 +01:00
Robbin Ehn
0df5be808d 8220049: Obsolete ThreadLocalHandshakes
Reviewed-by: dholmes, dcubed, mdoerr
2019-12-11 15:30:07 +01:00
Nils Eliasson
e1b94b1635 8235653: Clean-up BarrierSetC2
Reviewed-by: redestad, rkennke, thartmann
2019-12-11 14:08:20 +01:00
Stefan Johansson
a20fa5b995 8235427: Remove unnecessary parameters from G1CollectedHeap::free_region and HeapRegion::hr_clear
Reviewed-by: tschatzl, kbarrett
2019-12-11 12:12:39 +01:00
Roman Kennke
bd1d7356a3 8235598: Shenandoah: Update copyrights
Reviewed-by: zgu
2019-12-10 20:06:06 +01:00
Daniel D. Daugherty
03c3f174ae 8236226: fix merge error in src/hotspot/share/gc/z/zRootsIterator.cpp
Reviewed-by: dholmes, kbarrett
2019-12-18 18:22:52 -05:00
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