3805 Commits

Author SHA1 Message Date
Robbin Ehn
39992dea38 8236766: Remove un-used oops do and drain list in VM thread
Reviewed-by: dholmes, coleenp
2020-01-17 16:17:22 +01:00
Roland Westrelin
995fae6d4b 8235584: UseProfiledLoopPredicate fails with assert(_phase->get_loop(c) == loop) failed: have to be in the same loop
Reviewed-by: thartmann, neliasso
2020-01-10 17:50:51 +01:00
Fei Yang
e3eb6dbd1f 8235762: JVM crash in SWPointer during C2 compilation
Reviewed-by: thartmann, chagedorn, neliasso
2020-01-09 19:12:16 +08:00
Henry Jen
ae81cfa30f Merge 2020-01-15 01:54:35 +00:00
Erik Gahlin
6ee7f3734d 8236691: JFR: assert((((((klass)->trace_id()) & ((JfrTraceIdEpoch::method_and_class_in_use_this_epoch_bits()))) != 0))) failed: invariant
Reviewed-by: mgronlun
2020-01-14 15:25:17 +01:00
Jatin Bhateja
eccf39b295 8236443: Issues with specializing vector register type for phi operand with generic operands
Fix special handling for operand resolution of vectorshift and shiftcount nodes. Fix for crash in the resolution algorithm due to non-machine type nodes.

Reviewed-by: vlivanov
2020-01-14 10:55:11 +05:30
Henry Jen
231d9afe6f Merge 2020-01-09 20:16:21 +00:00
Thomas Schatzl
89f2d14518 8235934: gc/g1/TestGCLogMessages.java fails with 'DerivedPointerTable Update' found
Fix determining whether C2 or JVMCI are enabled in the test.

Reviewed-by: sjohanss, kbarrett
2020-01-08 14:36:48 +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
Serguei Spitsyn
4e29c964f9 8236124: Minimal VM slowdebug build failed after JDK-8212160
Use macro JVMTI_ONLY to avoid slowdebug build fail

Reviewed-by: coleenp, cjplummer, dholmes
2020-01-07 21:36:10 +00:00
Christian Hagedorn
3e9a17c53e 8235984: C2: assert(out->in(PhiNode::Region) == head || out->in(PhiNode::Region) == slow_head) failed: phi must be either part of the slow or the fast loop
Bailout from loop unswitching if loop predicates have a control dependency to partially peeled statements.

Reviewed-by: neliasso, thartmann
2020-01-07 17:06:10 +01:00
Igor Veresov
cc99075c79 8236050: Some compiler tests fail when executed with custom TieredLevel
Make sure TieredStopAtLevel is properly supported for different compilation modes

Reviewed-by: redestad, thartmann
2020-01-07 07:31:28 -08:00
Patric Hedlin
9549cd2877 8235870: C2 crashes in IdealLoopTree::est_loop_flow_merge_sz()
Reviewed-by: thartmann
2020-01-13 11:26:44 +01:00
Tobias Hartmann
ea152dcd9b 8229855: C2 fails with assert(false) failed: bad AD file
Strengthen the check to ensure that both control and data paths die consistently.

Reviewed-by: vlivanov, roland
2020-01-13 13:37:01 +01:00
Erik Gahlin
2c7c8023ed 8236263: Remove experimental streaming events
Reviewed-by: rehn, mseledtsov
2020-01-10 21:09:53 +01:00
Erik Österlund
feccf3cdb6 8235669: G1: Stack walking API can expose AS_NO_KEEPALIVE oops
Reviewed-by: kbarrett, tschatzl
2020-01-10 16:20:31 +00:00
Goetz Lindenmaier
d6a2a079d1 8236772: Fix build for windows 32-bit after 8212160 and 8234331
Reviewed-by: clanger
2020-01-08 14:22:30 +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
Christian Hagedorn
863f741611 8236140: assert(!VerifyHashTableKeys || _hash_lock == 0) failed: remove node from hash table before modifying it
Add missing rehashing for modified node in InitializeNode::complete_stores().

Reviewed-by: neliasso, thartmann
2020-01-09 16:14:14 +01: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
Roman Kennke
49b1cc8ee6 8236181: C2: Remove useless step_over_gc_barrier() in int->bool conversion
Reviewed-by: thartmann, roland
2020-01-07 13:45:10 +01:00
Sandhya Viswanathan
45e4c4c4dc 8236364: TEMP vector registers could be incorrectly assigned upper bank xmm registers after Generic Operands (JDK-8234391)
Reviewed-by: kvn, vlivanov
2019-12-24 16:49:37 +03:00
Tobias Hartmann
34b08ed2a5 8233164: C2 fails with assert(phase->C->get_alias_index(t) == phase->C->get_alias_index(t_adr)) failed: correct memory chain
Use _src_type/_dest_type as address types for the loads and stores.

Reviewed-by: vlivanov, roland
2019-12-23 09:44:35 +01:00
Markus Grönlund
5acd373a10 8234059: Stress test fails with "Unexpected Exception in thread JFR Event Stream"
Reviewed-by: egahlin
2019-12-21 13:03:02 +01:00
Markus Grönlund
304ab31cff 8233111: Epoch shift synchronization point for Compiler threads
Reviewed-by: egahlin
2019-12-21 12:45:08 +01:00
Aditya Mandaleeka
950ebec4a9 8236179: C1 register allocation error with T_ADDRESS
Reviewed-by: rkennke, vlivanov, roland, mdoerr
2019-12-20 19:51:00 +01:00
Goetz Lindenmaier
51abf67ce1 8235998: [c2] Memory leaks during tracing after '8224193: stringStream should not use Resource Area'
Reviewed-by: dholmes, kvn
2019-12-16 14:10:20 +01: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
Markus Grönlund
ffdf1dea9b 8235390: JfrEmergencyDump::on_vm_shutdown crashes
Reviewed-by: egahlin
2019-12-20 16:04:34 +01: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
Coleen Phillimore
eb6beeac94 8235829: graal crashes with Zombie.java test
Start ServiceThread before compiler threads, and run nmethod barriers for zgc before adding to the service thread queues, or posting events from the java thread.

Reviewed-by: pliden, dholmes, rehn
2019-12-18 11:51:22 -05:00
Aleksei Voitylov
f58a8cbed2 8231612: 100% cpu on arm32 in Service Thread
Reviewed-by: kbarrett, dsamersoff
2019-12-18 14:36:49 +03: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
Jatin Bhateja
079db54d51 8230185: assert(is_Loop()) failed: invalid node class
Adding missing check for a counted loop.

Reviewed-by: kvn, thartmann
2019-12-18 10:04:53 +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
Christian Hagedorn
49048adcf2 8231501: VM crash in MethodData::clean_extra_data(CleanExtraDataClosure*): fatal error: unexpected tag 99
Snapshot MDO extra trap and argument data only after it is prepared.

Reviewed-by: roland, thartmann
2019-12-16 09:19:52 +01:00
Jorn Vernee
8f4f088a12 8234049: Implementation of Memory Access API (Incubator)
Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com>
Reviewed-by: alanb, psandoz, chegar, rriggs, plevart, briangoetz, jrose, adinn, vlivanov
2019-12-12 22:59:57 +00: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
Erik Gahlin
0562caa4cb 8236487: JFR Recorder Thread crashed due to "assert(_chunkwriter.is_valid()) failed: invariant"
Reviewed-by: mgronlun, mseledtsov
2020-01-08 19:12:20 +01: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
Claes Redestad
40bbdf472c 8234328: VectorSet::clear can cause fragmentation
Reviewed-by: neliasso
2019-12-12 14:22:50 +01:00
Jatin Bhateja
31e075b019 8234392: C2: Extend Matcher::match_rule_supported_vector() with element type information
Reviewed-by: vlivanov, sviswanathan, kvn, jrose
2019-12-12 13:09:16 +03: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
Matthias Baesken
e5b0e366ea 8235489: handle return values of sscanf calls in hotspot
Reviewed-by: clanger, kbarrett
2019-12-11 09:42:52 +01:00