1514 Commits

Author SHA1 Message Date
Aleksey Shipilev
7cd21cfdec 8237821: Shenandoah: build broken after JDK-8237637 (Remove dubious type conversions from oop)
Reviewed-by: rkennke
2020-01-24 21:11:31 +01:00
Stefan Karlsson
46423b0f70 8237637: Remove dubious type conversions from oop
Reviewed-by: kbarrett, dholmes, mdoerr
2020-01-24 09:27:07 +01:00
Stefan Karlsson
b223907794 8237645: Remove OopsInGenClosure::par_do_barrier
Reviewed-by: sjohanss
2020-01-24 09:24:46 +01:00
Stefan Karlsson
17106c9e9d 8236778: Add Atomic::fetch_and_add
Reviewed-by: kbarrett, dholmes
2020-01-24 09:15:08 +01:00
Per Lidén
4eacb6361b 8234440: ZGC: Print relocation information on info level
Reviewed-by: stefank, eosterlund
2020-01-23 15:13:32 +01:00
Zhengyu Gu
b1d5bee8ca 8234399: Shenandoah: Cleanup native load barrier
Reviewed-by: rkennke
2020-01-22 20:07:49 -05:00
David Holmes
7c27f9f5dd 8235741: Inappropriate uses of os::javaTimeMillis()
Reviewed-by: rehn, kbarrett, egahlin, shade
2020-01-17 00:52:10 -05:00
Jesper Wilhelmsson
b7cdc097e3 Merge 2020-01-22 21:02:16 +01:00
Zhengyu Gu
ac7f36ce25 8236880: Shenandoah: Move string dedup cleanup into concurrent phase
Reviewed-by: rkennke, shade
2020-01-22 14:27:13 -05:00
Thomas Schatzl
e3c7f43298 8235305: Corrupted oops embedded in nmethods due to parallel modification during optional evacuation
During optional evacuation it is possible that G1 modifies oops embedded in nmethods in parallel. One source are oop* gathered by a previous evacuation phase in the optional roots, the other the region's strong code roots list. Since these oops may be unaligned on x64, this can result in them being corrupted. The fix is to not gather embedded oops in the optional roots list as the strong code roots list contains them already.

Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Stefan Johansson <stefan.johansson@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Reviewed-by: sjohanss, stefank
2020-01-22 10:00:13 +01:00
Aleksey Shipilev
d9df6feabe 8237586: Shenandoah: provide option to disable periodic GC
Reviewed-by: zgu
2020-01-21 20:58:48 +01:00
Zhengyu Gu
f7165c322a 8237392: Shenandoah: Remove unreliable assertion
Reviewed-by: shade
2020-01-16 16:30:20 -05:00
Zhengyu Gu
85255c54da 8237369: Shenandoah: failed vmTestbase/nsk/jvmti/AttachOnDemand/attach021/TestDescription.java test
Reviewed-by: rkennke
2020-01-16 14:22:35 -05:00
Aleksey Shipilev
72a4aa8c11 8237570: Shenandoah: cleanup uses of allocation/free threshold in static heuristics
Reviewed-by: rkennke
2020-01-21 13:40:10 +01:00
Kim Barrett
f779e49590 8237261: Concurrent refinement activation threshold not updated for card counts
Fix special-case threshold calculation for primary refinement thread

Reviewed-by: tschatzl, sjohanss
2020-01-20 14:31:20 -05:00
Jesper Wilhelmsson
b936939454 Merge 2020-01-20 18:05:07 +01:00
Roman Kennke
330100ddce 8237543: Shenandoah: More asserts around code roots
Reviewed-by: zgu
2020-01-20 18:03:31 +01:00
Thomas Schatzl
4aab3078a2 8235860: Obsolete the UseParallelOldGC option
Obsolete the UseParallelOldGC option by removing code and other mentions.

Reviewed-by: kbarrett, lkorinth
2020-01-20 11:15:45 +01:00
Zhengyu Gu
b81bfcbff1 8236902: Shenandoah: Missing string dedup roots in all root scanner
Reviewed-by: rkennke
2020-01-10 07:21:32 -05:00
Roman Kennke
ba6cedcf24 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
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 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
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
Per Lidén
72609092fe 8237201: ZGC: Remove unused ZRelocationSetSelector::fragmentation()
Reviewed-by: tschatzl
2020-01-17 10:20:38 +01:00
Per Lidén
74f0ef5050 8237199: ZGC: Rename ZBackingFile to ZPhysicalMemoryBacking
Reviewed-by: stefank, eosterlund, smonteith
2020-01-17 10:20:38 +01:00
Per Lidén
c6dc3308a1 8237198: ZGC: Share multi-mapping code in ZBackingFile
Reviewed-by: stefank, eosterlund, smonteith
2020-01-17 10:20:37 +01:00
Zhengyu Gu
0b2da9e239 8236878: Use atomic instruction to update StringDedupTable's entries and entries_removed counters
Reviewed-by: rkennke, shade
2020-01-16 18:36:24 -05:00
Aleksey Shipilev
abfab9e0a7 8237223: Shenandoah: important flags should not be ergonomic for concurrent class unloading
Reviewed-by: zgu
2020-01-15 21:38:12 +01:00
Aleksey Shipilev
45bc3871f5 8237217: Incorrect G1StringDedupEntry type used in StringDedupTable destructor
Reviewed-by: kbarrett, zgu
2020-01-15 20:04:51 +01:00
Mikael Vidstedt
b63b9a2edb 8237182: Update copyright header for shenandoah and epsilon files
Reviewed-by: iignatyev, zgu
2020-01-14 19:27:03 -08:00
Zhengyu Gu
ab90653aa9 8237017: Shenandoah: Remove racy assertion
Reviewed-by: rkennke
2020-01-13 11:51:45 -05:00
Jesper Wilhelmsson
913b8702d1 Merge 2020-01-13 15:40:09 +01:00