Igor Ignatyev
0b42b1cf15
8250739: remove Compile::Generate_*_Graph methods declarations
...
Reviewed-by: kvn
2020-07-28 15:31:10 -07:00
Igor Ignatyev
f4301530b4
8250738: C2Compiler::is_intrinsic_supported(methodHandle&, bool) shouldn't be virtual
...
Reviewed-by: xliu, kvn
2020-07-28 15:31:09 -07:00
Christian Hagedorn
31368cd1f0
8249602: C2: assert(cnt == _outcnt) failed: no insertions allowed
...
Use DUIterator instead of DUIterator_Fast due to legit insertions.
Reviewed-by: kvn, thartmann
2020-07-28 16:05:30 +02:00
Coleen Phillimore
42ac8e1856
8250042: Clean up methodOop and method_oop names from the code
...
Reviewed-by: dholmes, sspitsyn, cjplummer, chagedorn
2020-07-28 07:33:51 -04:00
Christian Hagedorn
417e8e449d
8248552: C2 crashes with SIGFPE due to division by zero
...
Bail out in PhaseIdealLoop:split_thru_phi when trying to split a Div or ModNode iv phi whose zero check was removed but could potentially still be zero based on type information.
Reviewed-by: kvn, thartmann
2020-07-27 11:03:17 +02:00
Christian Hagedorn
18cf3d8080
8247743: Segmentation fault in debug builds due to stack overflow in find_recur with deep graphs
...
Replace the recursive algorithm of Node::find() by an iterative one to avoid a stack overflow crash with deep graphs.
Reviewed-by: kvn, thartmann
2020-07-22 10:31:37 +02:00
Christian Hagedorn
4f99e1fb11
8248467: C2: compiler/intrinsics/object/TestClone fails with -XX:+VerifyGraphEdges
...
Fix assert by taking MemBarNodes into account whose precedence edge can be NULL.
Reviewed-by: kvn, thartmann
2020-07-22 10:28:34 +02:00
Mikael Vidstedt
9ff01f7b2f
Merge
2020-07-21 20:55:29 -07:00
Jamsheed Mohammed C M
39b22d134f
8242895: failed: sanity at src/hotspot/share/opto/escape.cpp:2361
...
The address_offset code in EA was improved to detect raw stores(init captured ones) after loopopt.
Reviewed-by: kvn, thartmann
2020-07-21 08:03:20 -07:00
Mikael Vidstedt
1f5e21a16e
Merge
2020-07-15 21:24:39 -07:00
Roland Westrelin
b67814941f
8229495: SIGILL in C2 generated OSR compilation
...
Reviewed-by: kvn, chagedorn
2020-07-01 17:28:49 +02:00
Vladimir Ivanov
7a6c1a66b2
8247502: PhaseStringOpts crashes while optimising effectively dead code
...
Reviewed-by: kvn, thartmann
2020-07-14 16:57:34 +03:00
Nick Gasson
802737cae7
8248845: AArch64: stack corruption after spilling vector register
...
Reviewed-by: kvn
2020-07-07 14:14:22 +08:00
Yong Zhou
79ad5512cf
8243670: Unexpected test result caused by C2 MergeMemNode::Ideal
...
Reviewed-by: thartmann, roland
2020-07-04 08:18:17 +08:00
Nils Eliasson
999357250a
8248388: ZGC: Load barrier incorrectly elided in jdk/java/text/Format/DateFormat/SDFTCKZoneNamesTest.java
...
Reviewed-by: kvn, thartmann
2020-07-03 10:05:53 +02:00
Christian Hagedorn
83a8c4acc7
8244724: CTW: C2 compilation fails with "Live Node limit exceeded limit"
...
Fix live limit assert in node construction to be ignored during code generation in Compile::Code_Gen().
Reviewed-by: kvn, neliasso
2020-07-01 09:18:28 +02:00
Roland Westrelin
05dc2af21f
8247824: CTW: C2 (Shenandoah) compilation fails with SEGV in SBC2Support::pin_and_expand
...
Reviewed-by: rkennke, thartmann
2020-06-18 13:51:40 +02:00
Patric Hedlin
d19f2bdec0
8234605: C2 failed "assert(C->live_nodes() - live_at_begin <= 2 * _nodes_required) failed: Bad node estimate: actual = 208 >> request = 101"
...
Reviewed-by: neliasso, kvn
2020-06-29 19:33:35 +02:00
Roland Westrelin
eb758d53f1
8247763: assert(outer->outcnt() == 2) failed: 'only phis' failure in LoopNode::verify_strip_mined()
...
Reviewed-by: kvn, thartmann
2020-06-18 15:44:55 +02:00
Tobias Hartmann
326ba31787
8237950: C2 compilation fails with "Live Node limit exceeded limit" during ConvI2L::Ideal optimization
...
Postpone ConvI2L::Ideal optimization to IGVN.
Reviewed-by: kvn, neliasso
2020-06-19 11:32:51 +02:00
Vladimir Kozlov
241f401815
8247350: [aarch64] assert(false) failed: wrong size of mach node
...
Use movptr() to load address of string
Reviewed-by: adinn, azeemj
2020-06-12 14:33:20 -07:00
Christian Hagedorn
bf22f82207
8244719: CTW: C2 compilation fails with "assert(!VerifyHashTableKeys || _hash_lock == 0) failed: remove node from hash table before modifying it"
...
Fix Parse::Block::init_graph() to also count predecessors for exception blocks because they can have a direct bytecode jump to them resulting in this assertion failure.
Reviewed-by: kvn, thartmann
2020-06-10 17:56:23 +02:00
Tobias Hartmann
a98bad2b22
8246453: TestClone crashes with "all collected exceptions must come from the same place"
...
Set deoptimize_on_exception for slow paths.
Reviewed-by: neliasso
2020-06-08 08:30:52 +02:00
Vladimir Ivanov
a14490dd16
8247502: PhaseStringOpts crashes while optimising effectively dead code
...
Reviewed-by: kvn, thartmann
2020-07-13 16:44:13 +03:00
Jesper Wilhelmsson
3dcd1c1ab0
Merge
2020-07-09 04:32:30 +02:00
Christian Hagedorn
a6cf325152
8248226: TestCloneAccessStressGCM fails with -XX:-ReduceBulkZeroing
...
Taking GC barriers into account in LoadNode::find_previous_arraycopy() when ReduceInitialCardMarks is disabled.
Reviewed-by: kvn, roland
2020-07-07 13:00:46 +02:00
Patric Hedlin
485194c1a7
8245021: Adding method 'remove_if_existing' to growableArray
...
Reviewed-by: thartmann, neliasso
2020-04-21 10:35:53 +02:00
Ioi Lam
3d1b1a6bc9
8248170: Excessive include of compiledMethod, codeCache, javaClasses and systemDictionary
...
Reviewed-by: dholmes, kvn, coleenp, stefank
2020-07-06 23:11:37 -07:00
Jesper Wilhelmsson
e58423796e
Merge
2020-07-07 03:12:11 +02:00
Boris Ulasevich
6d137a3616
8248043: Need to eliminate excessive i2l conversions
...
Reviewed-by: redestad, kvn, iveresov
2020-07-06 04:44:25 -04:00
Jesper Wilhelmsson
4922a35c6a
Merge
2020-07-03 19:05:00 +02:00
Nils Eliasson
4506975561
8248398: Add diagnostic RepeatCompilation utility
...
Reviewed-by: redestad, kvn, thartmann
2020-07-03 11:46:41 +02:00
Christian Hagedorn
13b7c2e131
8244724: CTW: C2 compilation fails with "Live Node limit exceeded limit"
...
Fix live limit assert in node construction to be ignored during code generation in Compile::Code_Gen().
Reviewed-by: kvn, neliasso
2020-07-01 09:18:28 +02:00
Jesper Wilhelmsson
7c3d72fd3a
Merge
2020-06-30 20:09:03 +02:00
Patric Hedlin
622117d275
8234605: C2 failed "assert(C->live_nodes() - live_at_begin <= 2 * _nodes_required) failed: Bad node estimate: actual = 208 >> request = 101"
...
Reviewed-by: neliasso, kvn
2020-06-26 15:47:16 +02:00
Christian Hagedorn
840867efa6
8247218: Add default constructor to VectorSet to use Thread::current()->resource_area() as arena by default
...
Add a default construction to VectorSet and clean up uses of the old constructor.
Reviewed-by: kvn, thartmann
2020-06-29 17:14:19 +02:00
Boris Ulasevich
48c0ce3b4b
8247408: IdealGraph bit check expression canonicalization
...
Reviewed-by: aph, kvn, adinn
2020-06-29 07:26:10 -04:00
Tobias Hartmann
a25bacdd13
8248234: Disabling UseExactTypes crashes C2
...
Remove the flag since it is broken, untested and hasn't been used in many years.
Reviewed-by: kvn, redestad, neliasso
2020-06-29 08:21:42 +02:00
Pengfei Li
ac4f14c386
8247307: C2: Loop array fill stub routines are not called
...
Ignore safepoint polling use of CountedLoopNode when matching loop array fill pattern.
Reviewed-by: kvn, thartmann
2020-06-28 06:15:31 +00:00
Xin Liu
4076ca82d2
8151779: Some intrinsic flags could be replaced with one general flag
...
Add ControlIntrinsic switch
Reviewed-by: neliasso, phh
2020-06-23 10:40:26 -07:00
Jesper Wilhelmsson
4862d0d542
Merge
2020-06-22 18:23:49 +02:00
Roland Westrelin
5adfaa3986
8247763: assert(outer->outcnt() == 2) failed: 'only phis' failure in LoopNode::verify_strip_mined()
...
Reviewed-by: kvn, thartmann
2020-06-18 15:44:55 +02:00
Ludovic Henry
651c20d4ef
8247697: Remove delayed_forbidden dead code in C2
...
The delayed_forbidden parameter to Compile::call_generator is never used.
Reviewed-by: kvn, vlivanov, thartmann
2020-06-19 08:06:08 +02:00
Stefan Karlsson
77bdc30650
8247470: Fix CHeap GrowableArray NMT accounting
...
Reviewed-by: coleenp, tschatzl, kbarrett
2020-06-16 09:37:53 +02:00
Christian Hagedorn
08df6a1f15
8246203: Segmentation fault in verification due to stack overflow with -XX:+VerifyIterativeGVN
...
Replace the recursive verification algorithm with an iterative one to avoid a stack overflow for large graphs.
Reviewed-by: kvn, thartmann
2020-06-15 09:50:11 +02:00
Yang Zhang
3752a81ec8
8244926: Add absolute check for int/long to generate Abs nodes
...
Reviewed-by: neliasso, thartmann
2020-06-15 06:05:17 +00:00
Jesper Wilhelmsson
af83d6ab25
Merge
2020-06-13 01:00:00 +02:00
Xin Liu
892d998587
8139046: Compiler Control: IGVPrintLevel directive should set PrintIdealGraph
...
Make !PrintIdealGraph a synonym for PrintIdealGraphLevel=-1 => print nothing
Reviewed-by: simonis, phh, neliasso
2020-06-12 13:33:29 -07:00
Roland Westrelin
9c99008aff
8245714: "Bad graph detected in build_loop_late" when loads are pinned on loop limit check uncommon branch
...
Reviewed-by: thartmann
2020-05-28 13:21:54 +02:00
Roland Westrelin
01cfedf2c9
8244086: Following 8241492, strip mined loop may run extra iterations
...
Reviewed-by: mdoerr, thartmann
2020-04-29 10:06:38 +02:00