Commit Graph

1107 Commits

Author SHA1 Message Date
bobpengxie
8b5de27ce1 8279485: Incorrect copyright year in compiler/lib/ir_framework/IRNode.java after JDK-8278114
Reviewed-by: haosun, jiefu
2022-01-05 02:22:26 +00:00
Zhiqiang Zang
f326305396 8278114: New addnode ideal optimization: converting "x + x" into "x << 1"
Reviewed-by: kvn, redestad
2022-01-05 00:38:59 +00:00
Quan Anh Mai
f8f9148016 8278948: compiler/vectorapi/reshape/TestVectorCastAVX1.java crashes in assembler
Reviewed-by: kvn, sviswanathan
2022-01-04 22:59:33 +00:00
Jesper Wilhelmsson
191f7307bb Merge 2022-01-04 19:31:12 +00:00
Vladimir Ivanov
95a3010acf 8275830: C2: Receiver downcast is missing when inlining through method handle linkers
Reviewed-by: kvn, dlong
2022-01-04 12:35:48 +00:00
Roland Westrelin
e7244c19f4 8278966: two microbenchmarks tests fail "assert(!jvms->method()->has_exception_handlers()) failed: no exception handler expected" after JDK-8275638
Reviewed-by: rbackman, vlivanov
2022-01-04 10:56:37 +00:00
Jesper Wilhelmsson
4f607f2ada Merge 2021-12-27 01:22:11 +00:00
Sergey Bylokhov
7fea10327e 8279134: Fix Amazon copyright in various files
Reviewed-by: xliu, phh
2021-12-26 22:10:54 +00:00
Igor Veresov
54b800d56d 8271202: C1: assert(false) failed: live_in set of first block must be empty
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Reviewed-by: vlivanov, kvn
2021-12-25 05:38:12 +00:00
Jesper Wilhelmsson
a3b1c6b036 Merge 2021-12-23 21:17:50 +00:00
Aleksey Shipilev
04ad668921 8279204: [BACKOUT] JDK-8278413: C2 crash when allocating array of size too large
Reviewed-by: chagedorn, kvn
2021-12-23 16:22:10 +00:00
Aleksey Shipilev
9d5ae2e380 8279076: C2: Bad AD file when matching SqrtF with UseSSE=0
Reviewed-by: kvn, sviswanathan
2021-12-22 20:17:39 +00:00
Jesper Wilhelmsson
803cb8a768 Merge 2021-12-21 21:58:05 +00:00
Aleksey Shipilev
29bd73638a 8277893: Arraycopy stress tests
Reviewed-by: kvn, mli
2021-12-21 14:01:47 +00:00
Roland Westrelin
06206c7199 8278949: Cleanups for 8277850
Co-authored-by: John R Rose <jrose@openjdk.org>
Reviewed-by: kvn, jrose
2021-12-20 10:00:14 +00:00
Roland Westrelin
deaf75a585 8278413: C2 crash when allocating array of size too large
Reviewed-by: neliasso, kvn
2021-12-20 09:41:56 +00:00
merykitty
cc44e13797 8278623: compiler/vectorapi/reshape/TestVectorCastAVX512.java after JDK-8259610
Reviewed-by: kvn, chagedorn, psandoz
2021-12-17 23:42:28 +00:00
Igor Veresov
b46f0b0b1f 8277447: Hotspot C1 compiler crashes on Kotlin suspend fun with loop
Reviewed-by: kvn, neliasso
2021-12-17 16:30:40 +00:00
Roland Westrelin
b9a477bf19 8275638: GraphKit::combine_exception_states fails with "matching stack sizes" assert
Reviewed-by: dlong, kvn
2021-12-17 07:46:47 +00:00
Zhiqiang Zang
f6fbb5a80c 8278471: Remove unreached rules in AddNode::IdealIL
Reviewed-by: jiefu, kvn
2021-12-16 03:57:29 +00:00
Jie Fu
2def7e9132 8278584: compiler/vectorapi/VectorMaskLoadStoreTest.java failed with "Error: ShouldNotReachHere()"
Reviewed-by: kvn, psandoz
2021-12-14 22:49:04 +00:00
Vladimir Kozlov
a1dfe57249 8276455: C2: iterative EA
Reviewed-by: iveresov, neliasso, roland
2021-12-14 19:24:13 +00:00
Jesper Wilhelmsson
8401a059bd Merge 2021-12-14 02:15:15 +00:00
merykitty
ca8c58c731 8259610: VectorReshapeTests are not effective due to failing to intrinsify "VectorSupport.convert"
Reviewed-by: psandoz, chagedorn
2021-12-13 16:34:37 +00:00
Scott Gibbons
9a1bbaf8db 8273108: RunThese24H crashes with SEGV in markWord::displaced_mark_helper() after JDK-8268276
8272809: JFR thread sampler SI_KERNEL SEGV in metaspace::VirtualSpaceList::contains

Reviewed-by: sviswanathan, kvn
2021-12-12 16:08:35 +00:00
Zhiqiang Zang
352435581e 8277882: New subnode ideal optimization: converting "c0 - (x + c1)" into "(c0 - c1) - x"
Reviewed-by: dlong, iveresov
2021-12-09 00:18:59 +00:00
Roland Westrelin
b3faecf739 8276116: C2: optimize long range checks in int counted loops
Reviewed-by: kvn
2021-12-08 21:33:33 +00:00
Roland Westrelin
8af3b27ce9 8277850: C2: optimize mask checks in counted loops
Reviewed-by: kvn, thartmann
2021-12-08 16:39:24 +00:00
Christian Hagedorn
7c6f57fcb1 8275610: C2: Object field load floats above its null check resulting in a segfault
Reviewed-by: kvn, roland
2021-12-06 14:48:03 +00:00
Jie Fu
6994d80937 8278291: compiler/uncommontrap/TraceDeoptimizationNoRealloc.java fails with release VMs after JDK-8154011
Reviewed-by: shade, thartmann
2021-12-06 13:44:22 +00:00
Christian Hagedorn
01cb2b9883 8277529: SIGSEGV in C2 CompilerThread Node::rematerialize() compiling Packet::readUnsignedTrint
Reviewed-by: thartmann, roland, kvn
2021-12-03 17:14:10 +00:00
Roland Westrelin
3889af3f7d 8277906: Incorrect type for IV phi of long counted loops after CCP
Reviewed-by: thartmann, chagedorn
2021-12-02 15:09:58 +00:00
Patric Hedlin
088b244ec6 8251216: Implement MD5 intrinsics on AArch64
Co-authored-by: Ludovic Henry <luhenry@openjdk.org>
Reviewed-by: aph, neliasso
2021-12-02 09:25:12 +00:00
Volker Simonis
614c6e61fa 8277878: Fix compiler tests after JDK-8275908
Reviewed-by: thartmann, chagedorn
2021-11-29 12:29:06 +00:00
Volker Simonis
40fef2311c 8275908: Record null_check traps for calls and array_check traps in the interpreter
Reviewed-by: chagedorn, mdoerr
2021-11-26 16:21:15 +00:00
Roland Westrelin
3e798dd40c 8275330: C2: assert(n->is_Root() || n->is_Region() || n->is_Phi() || n->is_MachMerge() || def_block->dominates(block)) failed: uses must be dominated by definitions
Reviewed-by: thartmann, chagedorn
2021-11-26 09:48:09 +00:00
KIRIYAMA Takuya
17e68caad7 8277042: add test for 8276036 to compiler/codecache
Reviewed-by: chagedorn, thartmann
2021-11-24 11:22:43 +00:00
Evgeny Astigeevich
7b2d823e84 8277503: compiler/onSpinWait/TestOnSpinWaitAArch64DefaultFlags.java failed with "OnSpinWaitInst with the expected value 'isb' not found."
Reviewed-by: chagedorn, aph, phh
2021-11-23 20:05:57 +00:00
Christian Hagedorn
38802ad56a 8254108: ciReplay: Support incremental inlining
Reviewed-by: dlong, thartmann
2021-11-23 15:22:11 +00:00
Jie Fu
b15e6f076a 8277449: compiler/vectorapi/TestLongVectorNeg.java fails with release VMs
Reviewed-by: thartmann, chagedorn
2021-11-19 10:38:42 +00:00
Tobias Hartmann
47564caeb0 8275643: C2's unaryOp vector intrinsic does not properly handle LongVector.neg
Reviewed-by: chagedorn, sviswanathan
2021-11-19 07:07:17 +00:00
Yi Yang
2f0bde1a65 8277102: Dubious PrintCompilation output
Reviewed-by: thartmann, dnsimon
2021-11-19 02:04:48 +00:00
Harold Seigel
b3a62b4881 8276795: Deprecate seldom used CDS flags
Reviewed-by: dholmes, ccheung, iklam
2021-11-18 13:18:37 +00:00
Evgeny Astigeevich
38345bd28d 8277137: Set OnSpinWaitInst/OnSpinWaitInstCount defaults to "isb"/1 for Arm Neoverse N1
Reviewed-by: phh, aph, ngasson
2021-11-18 11:18:15 +00:00
Fei Gao
81938001f9 8274179: AArch64: Support SVE operations with encodable immediates
Reviewed-by: aph, ngasson
2021-11-18 02:41:27 +00:00
Faye Gao
9aa30de4bb 8275317: AArch64: Support some type conversion vectorization in SLP
Reviewed-by: thartmann, ngasson
2021-11-17 08:19:46 +00:00
MeryKitty
f3eb5014aa 8276162: Optimise unsigned comparison pattern
Reviewed-by: thartmann, kvn
2021-11-16 14:09:53 +00:00
Paul Sandoz
a59c9b2ac2 8271515: Integration of JEP 417: Vector API (Third Incubator)
Co-authored-by: Sandhya Viswanathan <sviswanathan@openjdk.org>
Co-authored-by: Jatin Bhateja <jbhateja@openjdk.org>
Co-authored-by: Ningsheng Jian <njian@openjdk.org>
Co-authored-by: Xiaohong Gong <xgong@openjdk.org>
Co-authored-by: Eric Liu <eliu@openjdk.org>
Co-authored-by: Jie Fu <jiefu@openjdk.org>
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Co-authored-by: John R Rose <jrose@openjdk.org>
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Rado Smogura <mail@smogura.eu>
Reviewed-by: kvn, sviswanathan, ngasson
2021-11-15 21:48:38 +00:00
Dean Long
9326eb1461 8276095: ciReplay: replay failure due to incomplete ciMethodData information
Reviewed-by: chagedorn, kvn
2021-11-15 21:09:23 +00:00
Coleen Phillimore
0d2980cdd1 8258192: Obsolete the CriticalJNINatives flag
Reviewed-by: mdoerr, shade
2021-11-12 17:03:33 +00:00
Nils Eliasson
710f496456 8273277: C2: Move conditional negation into rc_predicate
Reviewed-by: thartmann, chagedorn, kvn
2021-11-12 10:08:26 +00:00
Evgeny Astigeevich
6954b98f8f 8186670: Implement _onSpinWait() intrinsic for AArch64
Reviewed-by: phh, aph
2021-11-11 22:23:35 +00:00
Tobias Hartmann
c29cab8ab4 8276112: Inconsistent scalar replacement debug info at safepoints
Reviewed-by: kvn, chagedorn
2021-11-11 13:09:05 +00:00
casparcwang
aea096770e 8275854: C2: assert(stride_con != 0) failed: missed some peephole opt
Co-authored-by: Roland Westrelin <roland@openjdk.org>
Reviewed-by: thartmann, roland, kvn
2021-11-11 10:39:09 +00:00
Christian Hagedorn
7a140af253 8276546: [IR Framework] Whitelist and ignore CompileThreshold
Reviewed-by: kvn, neliasso
2021-11-11 08:03:01 +00:00
Christian Hagedorn
54481394a3 8271056: C2: "assert(no_dead_loop) failed: dead loop detected" due to cmoving identity
Reviewed-by: kvn, thartmann
2021-11-08 12:47:58 +00:00
Nick Gasson
3934fe54b4 8275847: Scheduling fails with "too many D-U pinch points" on small method
Reviewed-by: thartmann, kvn
2021-11-08 06:40:49 +00:00
Ningsheng Jian
96c396b701 8276151: AArch64: Incorrect result for double to int vector conversion
Reviewed-by: aph, psandoz
2021-11-05 07:45:54 +00:00
Dean Long
dcf36f87f8 8275670: ciReplay: java.lang.NoClassDefFoundError when trying to load java/lang/invoke/LambdaForm$MH
Reviewed-by: kvn, chagedorn
2021-11-04 19:52:27 +00:00
Christian Hagedorn
a1f4c428ba 8276227: ciReplay: SIGSEGV if classfile for replay compilation is not present after JDK-8275868
Reviewed-by: kvn, thartmann, dlong
2021-11-04 08:53:37 +00:00
Christian Hagedorn
7439b59b5a 8276044: ciReplay: C1 does not dump a replay file when using DumpReplay as compile command option
Reviewed-by: kvn, thartmann, dlong
2021-11-03 08:44:03 +00:00
sunguoyun
87b926ebb7 8275086: compiler/c2/irTests/TestPostParseCallDevirtualization.java fails when compiler1 is disabled
Reviewed-by: iveresov
2021-11-03 05:51:18 +00:00
Christian Hagedorn
5bb1992b84 8275868: ciReplay: Inlining fails with "unloaded signature classes" due to wrong protection domains
Reviewed-by: kvn, dlong, thartmann
2021-11-01 08:22:59 +00:00
Doug Simon
2448b3f5f9 8275874: [JVMCI] only support aligned reads in c2v_readFieldValue
Reviewed-by: never, shade
2021-10-26 18:50:21 +00:00
Roland Westrelin
82f4aacb42 8259609: C2: optimize long range checks in long counted loops
Co-authored-by: John R Rose <jrose@openjdk.org>
Reviewed-by: thartmann, jrose
2021-10-26 15:53:37 +00:00
Igor Veresov
89671aa164 8273712: C2: Add mechanism for rejecting inlining of low frequency call sites and deprecate MinInliningThreshold.
Reviewed-by: kvn, rbackman
2021-10-25 17:03:57 +00:00
Christian Hagedorn
1da5e6b0e2 8275104: IR framework does not handle client VM builds correctly
Reviewed-by: kvn, thartmann
2021-10-25 07:25:19 +00:00
Doug Simon
4dec8fc4cc 8275645: [JVMCI] avoid unaligned volatile reads on AArch64
Reviewed-by: kvn, never
2021-10-22 16:20:31 +00:00
Dean Long
0961de47de 8275347: ciReplay: staticfield lines not properly terminated
Reviewed-by: neliasso, chagedorn
2021-10-21 19:02:38 +00:00
Christian Hagedorn
3b0ce23bcd 8274888: Dump "-DReproduce=true" to the test VM command line output
Reviewed-by: thartmann, kvn
2021-10-21 14:05:45 +00:00
Christian Hagedorn
4cb7124c1e 8262912: ciReplay: replay does not simulate unresolved classes
Reviewed-by: kvn, dlong
2021-10-15 07:38:38 +00:00
Christian Hagedorn
f623460668 8274911: testlibrary_tests/ir_framework/tests/TestIRMatching.java fails with "java.lang.RuntimeException: Should have thrown exception"
Reviewed-by: kvn, thartmann
2021-10-12 13:21:35 +00:00
Martin Doerr
49f8ce6e9c 8274773: [TESTBUG] UnsafeIntrinsicsTest intermittently fails on weak memory model platform
Reviewed-by: eosterlund, goetz
2021-10-11 10:31:54 +00:00
Roland Westrelin
2aacd4220a 8274145: C2: condition incorrectly made redundant with dominating main loop exit condition
Reviewed-by: kvn, neliasso
2021-10-08 14:48:35 +00:00
Christian Hagedorn
df125f680b 8273410: IR verification framework fails with "Should find method name in validIrRulesMap"
Reviewed-by: thartmann, neliasso
2021-10-06 08:21:18 +00:00
Igor Veresov
83b2219220 8273612: Fix for JDK-8272873 causes timeout in running some tests with -Xcomp
Reviewed-by: kvn, neliasso
2021-10-05 19:44:17 +00:00
Christian Hagedorn
3953e0774c 8271459: C2: Missing NegativeArraySizeException when creating StringBuilder with negative capacity
Reviewed-by: roland, thartmann, neliasso
2021-10-05 07:02:06 +00:00
Christian Hagedorn
dfc557cbea 8274406: RunThese30M.java failed "assert(!LCA_orig->dominates(pred_block) || early->dominates(pred_block)) failed: early is high enough"
Reviewed-by: kvn, thartmann
2021-09-30 08:29:43 +00:00
Roland Westrelin
980c50dc60 8272562: C2: assert(false) failed: Bad graph detected in build_loop_late
Reviewed-by: chagedorn, kvn
2021-09-29 14:51:33 +00:00
Claes Redestad
aaa36cc006 8274242: Implement fast-path for ASCII-compatible CharsetEncoders on x86
Reviewed-by: naoto, thartmann
2021-09-29 12:58:14 +00:00
Martin Doerr
c4d115701d 8271855: [TESTBUG] Wrong weakCompareAndSet assumption in UnsafeIntrinsicsTest
Reviewed-by: goetz, thartmann
2021-09-29 09:54:59 +00:00
Christian Hagedorn
b0983df5a4 8274074: SIGFPE with C2 compiled code with -XX:+StressGCM
Reviewed-by: roland, thartmann
2021-09-27 14:05:51 +00:00
Smita Kamath
13e9ea9e92 8273297: AES/GCM non-AVX512+VAES CPUs suffer after 8267125
Reviewed-by: ascarpino, sviswanathan, aph
2021-09-24 19:21:32 +00:00
Tobias Holenstein
653a612a5a 8270156: Add "randomness" and "stress" keys to JTreg tests which use StressGCM, StressLCM and/or StressIGVN
Reviewed-by: thartmann, chagedorn
2021-09-23 12:59:22 +00:00
Aleksey Shipilev
c77ebe8874 8274060: C2: Incorrect computation after JDK-8273454
Reviewed-by: thartmann, neliasso, chagedorn
2021-09-22 08:40:04 +00:00
Stefan Karlsson
c60bcd09b7 8273928: Use named run ids when problem listing tests
Reviewed-by: pliden, kbarrett, dholmes
2021-09-21 07:42:36 +00:00
Christian Hagedorn
6f3e40c16d 8273825: TestIRMatching.java fails after JDK-8266550
Reviewed-by: thartmann, roland
2021-09-20 12:56:08 +00:00
Christian Hagedorn
a561eac912 8273895: compiler/ciReplay/TestVMNoCompLevel.java fails due to wrong data size with TieredStopAtLevel=2,3
Reviewed-by: kvn, dlong
2021-09-20 12:53:56 +00:00
Zhengyu Gu
7c9868c0b3 8273454: C2: Transform (-a)*(-b) into a*b
Reviewed-by: thartmann, eliu, chagedorn
2021-09-18 23:11:06 +00:00
Christian Hagedorn
c86e24d4be 8271954: C2: assert(false) failed: Bad graph detected in build_loop_late
Reviewed-by: roland, kvn
2021-09-16 11:57:30 +00:00
Aleksey Shipilev
09ecb11927 8273806: compiler/cpuflags/TestSSE4Disabled.java should test for CPU feature explicitly
Reviewed-by: thartmann
2021-09-16 08:23:55 +00:00
Aleksey Shipilev
1c5de8b86b 8273807: Zero: Drop incorrect test block from compiler/startup/NumCompilerThreadsCheck.java
Reviewed-by: thartmann
2021-09-16 08:12:31 +00:00
casparcwang
16c3ad1ff4 8272574: C2: assert(false) failed: Bad graph detected in build_loop_late
Co-authored-by: Hui Shi <hshi@openjdk.org>
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Reviewed-by: thartmann, chagedorn, kvn
2021-09-14 20:55:01 +00:00
Coleen Phillimore
1d3eb147ee 8273635: Attempting to acquire lock StackWatermark_lock/9 out of order with lock tty_lock/3
Reviewed-by: dholmes, eosterlund
2021-09-14 13:09:46 +00:00
Roland Westrelin
1d2458db34 8266550: C2: mirror TypeOopPtr/TypeInstPtr/TypeAryPtr with TypeKlassPtr/TypeInstKlassPtr/TypeAryKlassPtr
Reviewed-by: vlivanov, thartmann
2021-09-14 08:35:09 +00:00
Jie Fu
261cb44b13 8273629: compiler/uncommontrap/TestDeoptOOM.java fails with release VMs
Reviewed-by: shade
2021-09-13 12:10:56 +00:00
Yi Yang
a73c06de2a 8273021: C2: Improve Add and Xor ideal optimizations
Co-authored-by: yulei <lei.yul@alibaba-inc.com>
Reviewed-by: thartmann, kvn
2021-09-13 02:10:45 +00:00
Coleen Phillimore
461a467f91 8273456: Do not hold ttyLock around stack walking
Reviewed-by: dholmes, eosterlund
2021-09-10 14:54:47 +00:00
Tobias Hartmann
c81690d716 8273498: compiler/c2/Test7179138_1.java timed out
Reviewed-by: roland
2021-09-09 13:54:47 +00:00
Tobias Hartmann
4866eaa997 8273409: Receiver type narrowed by CCP does not always trigger post-parse call devirtualization
Reviewed-by: vlivanov, neliasso
2021-09-09 13:44:05 +00:00
Vladimir Ivanov
f7e9f56e23 8273359: CI: ciInstanceKlass::get_canonical_holder() doesn't respect instance size
Reviewed-by: kvn
2021-09-08 16:17:56 +00:00
Roland Westrelin
2abf3b3b27 8271340: Crash PhaseIdealLoop::clone_outer_loop
Reviewed-by: kvn, thartmann
2021-09-07 15:15:17 +00:00
Roland Westrelin
99fb12c798 8271341: Opcode() != Op_If && Opcode() != Op_RangeCheck) || outcnt() == 2 assert failure with Test7179138_1.java
Reviewed-by: kvn, thartmann
2021-09-07 15:13:12 +00:00
Vladimir Ivanov
377b186724 8269119: C2: Avoid redundant memory barriers in Unsafe.copyMemory0 intrinsic
Reviewed-by: thartmann, roland
2021-09-07 11:35:31 +00:00
Aleksey Shipilev
4d25e6f6c7 8273335: compiler/blackhole tests should not run with interpreter-only VMs
Reviewed-by: kvn
2021-09-06 08:08:05 +00:00
Dean Long
14a3ac09fe 8271911: replay compilations of methods which use JSR292 (easy cases)
8012267: ciReplay: fails to resolve @SignaturePolymorphic methods in replay data
8012268: ciReplay: process_ciInstanceKlass: JVM_CONSTANT_MethodHandle not supported

Reviewed-by: kvn, vlivanov
2021-09-03 23:23:10 +00:00
Vladimir Ivanov
28ba78e647 8244675: assert(IncrementalInline || (_late_inlines.length() == 0 && !has_mh_late_inlines()))
Reviewed-by: dlong
2021-09-03 12:05:00 +00:00
Tobias Hartmann
9166ba37b6 8272973: Incorrect compile command used by TestIllegalArrayCopyBeforeInfiniteLoop
Reviewed-by: chagedorn, jiefu, neliasso
2021-08-26 08:34:46 +00:00
casparcwang
0f428ca533 8272570: C2: crash in PhaseCFG::global_code_motion
Co-authored-by: Hui Shi <hshi@openjdk.org>
Reviewed-by: thartmann, rbackman
2021-08-25 01:16:48 +00:00
Smita Kamath
0e7288ffbf 8267125: AES Galois CounterMode (GCM) interleaved implementation using AVX512 + VAES instructions
Co-authored-by: Smita Kamath <svkamath@openjdk.org>
Co-authored-by: Tomasz Kantecki <tomasz.kantecki@intel.com>
Co-authored-by: Anthony Scarpino <ascarpino@openjdk.org>
Reviewed-by: kvn, valeriep
2021-08-24 18:48:31 +00:00
Vladimir Ivanov
86add21a85 8223923: C2: Missing interference with mismatched unsafe accesses
Reviewed-by: thartmann
2021-08-20 12:41:20 +00:00
Vladimir Ivanov
e8f1219d6f 8271276: C2: Wrong JVM state used for receiver null check
Reviewed-by: kvn, thartmann
2021-08-18 10:31:24 +00:00
Christian Hagedorn
79a06df811 8272567: [IR Framework] Make AbstractInfo.getRandom() static
Reviewed-by: thartmann
2021-08-18 06:39:22 +00:00
Tobias Hartmann
5189047d09 8272558: IR Test Framework README misses some flags
Reviewed-by: chagedorn
2021-08-18 04:47:58 +00:00
Christian Hagedorn
3677734584 8271471: [IR Framework] Rare occurrence of "<!-- safepoint while printing -->" in PrintIdeal/PrintOptoAssembly can let tests fail
Reviewed-by: kvn, thartmann
2021-08-16 14:51:11 +00:00
Yi Yang
3f38a50c52 8271203: C2: assert(iff->Opcode() == Op_If || iff->Opcode() == Op_CountedLoopEnd || iff->Opcode() == Op_RangeCheck) failed: Check this code when new subtype is added
Reviewed-by: chagedorn, roland, thartmann
2021-08-16 02:30:57 +00:00
Hui Shi
5350b9901c 8272131: PhaseMacroExpand::generate_slow_arraycopy crash when clone null CallProjections.fallthrough_ioproj
Reviewed-by: neliasso, xliu, thartmann
2021-08-11 02:00:19 +00:00
Tobias Hartmann
2384e12888 8270098: ZGC: ZBarrierSetC2::clone_at_expansion fails with "Guard against surprises" assert
Reviewed-by: neliasso, kvn
2021-08-10 05:37:55 +00:00
Jatin Bhateja
392fcc9df7 8271589: fatal error with variable shift count integer rotate operation.
Reviewed-by: kvn, sviswanathan
2021-08-04 17:49:17 +00:00
Jesper Wilhelmsson
c8add223a1 Merge
Reviewed-by: mikael
2021-08-03 01:01:25 +00:00
Igor Ignatyev
ada58d13f7 8067223: [TESTBUG] Rename Whitebox API package
Reviewed-by: dholmes, kvn
2021-08-02 20:44:18 +00:00
Jesper Wilhelmsson
7cc1eb3e57 Merge 2021-07-30 22:30:23 +00:00
Christian Hagedorn
9856ace828 8268963: [IR Framework] Some default regexes matching on PrintOptoAssembly in IRNode.java do not work on all platforms
Reviewed-by: kvn, thartmann
2021-07-30 12:28:57 +00:00
Roland Westrelin
e351de3bd6 8271272: C2: assert(!had_error) failed: bad dominance
Reviewed-by: kvn, thartmann, chagedorn
2021-07-30 07:28:04 +00:00
Christian Hagedorn
489e5fd12a 8268019: C2: assert(no_dead_loop) failed: dead loop detected
Reviewed-by: kvn, thartmann
2021-07-29 09:31:22 +00:00
Roland Westrelin
6afcf5f5a2 8270886: Crash in PhaseIdealLoop::verify_strip_mined_scheduling
Reviewed-by: kvn, thartmann
2021-07-29 07:34:20 +00:00
Dean Long
034788a02c 8270925: replay dump using CICrashAt does not include inlining data
Reviewed-by: kvn, thartmann
2021-07-28 18:50:21 +00:00
Dean Long
fcc7d59b99 8269342: CICrashAt=1 does not always catch first Java method
Reviewed-by: kvn, thartmann
2021-07-26 22:09:17 +00:00
Andreas Woess
3aadae2077 8271140: Fix native frame handling in vframeStream::asJavaVFrame()
Reviewed-by: dnsimon, kvn, never
2021-07-26 19:47:34 +00:00
Christian Hagedorn
36aefa351a 8270447: [IR Framework] Add missing compilation level restriction when using FlipC1C2 stress option
Reviewed-by: kvn, thartmann
2021-07-26 07:54:22 +00:00
Igor Veresov
7468bbcd64 8266988: compiler/jvmci/compilerToVM/IsMatureTest.java fails with Unexpected isMature state for multiple times invoked method: expected false to equal true
Reviewed-by: kvn
2021-07-23 22:18:51 +00:00
Vladimir Kozlov
4ed548b3ee 8268261: C2: assert(n != __null) failed: Bad immediate dominator info.
Reviewed-by: iveresov, vlivanov
2021-07-23 18:51:25 +00:00
Jesper Wilhelmsson
9935440ede Merge 2021-07-23 01:41:14 +00:00
Tobias Hartmann
4119a52c4b 8270461: ZGC: Invalid oop passed to ZBarrierSetRuntime::load_barrier_on_oop_array
Reviewed-by: chagedorn, kvn
2021-07-22 05:59:12 +00:00
Jesper Wilhelmsson
1eeb1791ab Merge
Reviewed-by: jvernee
2021-07-21 00:24:17 +00:00
Yi Yang
0cec11d3eb 8270307: C2: assert(false) failed: bad AD file after JDK-8267687
Co-authored-by: Kuai Wei <kuaiwei.kw@alibaba-inc.com>
Reviewed-by: kvn, thartmann
2021-07-20 06:10:58 +00:00
Jesper Wilhelmsson
c3519c3e20 Merge 2021-07-19 23:12:55 +00:00
Roland Westrelin
c1304519b5 8269752: C2: assert(false) failed: Bad graph detected in build_loop_late
Reviewed-by: chagedorn, kvn
2021-07-19 07:31:28 +00:00
Jie Fu
676d425c6b 8270459: Conflict inlining decisions by C1/C2 with the same CompileCommand
Reviewed-by: kvn, xliu
2021-07-16 05:45:25 +00:00
Christoph Göttschkes
bb82005a81 8270468: TestRangeCheckEliminated fails because methods are not compiled
Reviewed-by: kvn, thartmann
2021-07-15 19:53:31 +00:00
Zhengyu Gu
746fe5dc68 8270366: C2: Add associative rule to add/sub node
Reviewed-by: kvn, adinn
2021-07-15 16:40:30 +00:00
Andreas Woess
b1bb05bcf4 8269592: [JVMCI] Optimize c2v_iterateFrames
Reviewed-by: kvn, never, dlong
2021-07-14 17:32:55 +00:00
Jesper Wilhelmsson
4a7ccf36e9 Merge 2021-07-14 01:07:52 +00:00
Severin Gehwolf
d32e42cdd4 8270184: [TESTBUG] Add coverage for jvmci ResolvedJavaType.toJavaName() for lambdas
Backport-of: 6a9bc10873
2021-07-13 14:34:35 +00:00
Christian Hagedorn
040c02b942 8269795: C2: Out of bounds array load floats above its range check in loop peeling resulting in SEGV
Reviewed-by: thartmann, roland, kvn
2021-07-13 08:50:09 +00:00
Severin Gehwolf
6a9bc10873 8270184: [TESTBUG] Add coverage for jvmci ResolvedJavaType.toJavaName() for lambdas
Reviewed-by: kvn
2021-07-12 08:25:22 +00:00
Jesper Wilhelmsson
ec975c6a05 Merge 2021-07-10 01:23:18 +00:00
Christian Hagedorn
f791fdf23e 8261147: C2: Node is wrongly marked as reduction resulting in a wrong execution due to wrong vector instructions
Reviewed-by: thartmann, kvn
2021-07-09 11:53:45 +00:00
Jesper Wilhelmsson
7a4f08ae32 Merge 2021-07-06 23:00:31 +00:00
Eric Liu
1166ef25e9 8268966: AArch64: 'bad AD file' in some vector conversion tests
Reviewed-by: aph
2021-07-06 15:59:04 +00:00
Roland Westrelin
df1364b508 8269575: C2: assert(false) failed: graph should be schedulable after JDK-8252372
Reviewed-by: kvn, thartmann
2021-07-06 07:03:08 +00:00
Roland Westrelin
6d8fc7249a 8268883: C2: assert(false) failed: unscheduable graph
Reviewed-by: chagedorn, kvn, yyang
2021-07-06 06:47:45 +00:00
Jesper Wilhelmsson
17f53f2f9c Merge 2021-07-02 20:50:11 +00:00
Christian Hagedorn
2db9005c07 8262017: C2: assert(n != __null) failed: Bad immediate dominator info.
Reviewed-by: roland, neliasso, kvn
2021-07-02 07:43:57 +00:00
Jamsheed Mohammed C M
5644c4f942 8265132: C2 compilation fails with assert "missing precedence edge"
Reviewed-by: iveresov, kvn
2021-07-02 04:26:09 +00:00
Jesper Wilhelmsson
b0e186792e Merge 2021-07-02 01:07:50 +00:00
Aleksey Shipilev
c16d1fc981 8269285: Crash/miscompile in CallGenerator::for_method_handle_inline after JDK-8191998
Reviewed-by: kvn, iveresov, vlivanov
2021-07-01 09:27:55 +00:00
Roland Westrelin
ad27d9b3ec 8269088: C2 fails with assert(!n->is_Store() && !n->is_LoadStore()) failed: no node with a side effect
Reviewed-by: kvn, iveresov, neliasso
2021-07-01 08:11:59 +00:00
Jesper Wilhelmsson
9def3b068e Merge 2021-07-01 01:01:34 +00:00
Nils Eliasson
0dc65d3c74 8268897: [TESTBUG] compiler/compilercontrol/mixed/RandomCommandsTest.java must not fail on Command.quiet
Reviewed-by: kvn
2021-06-30 21:05:15 +00:00
Wang Huang
ca283c3ac0 8265907: JVM crashes when matching VectorMaskCmp Node
Co-authored-by: Wang Huang <whuang@openjdk.org>
Co-authored-by: Ai Jiaming <aijiaming1@huawei.com>
Reviewed-by: njian, jbhateja, sviswanathan, dlong, adinn
2021-06-30 08:52:27 +00:00
Jesper Wilhelmsson
a29953d805 Merge 2021-06-27 23:51:05 +00:00
Christoph Göttschkes
561a3a5077 8269129: Multiple tier1 tests in hotspot/jtreg/compiler are failing for client VMs
Reviewed-by: kvn, iveresov
2021-06-27 13:12:51 +00:00
Patricio Chilano Mateo
2fd7943ec1 8256425: Obsolete Biased Locking in JDK 18
Reviewed-by: kvn, dholmes, dcubed, rrich
2021-06-24 18:54:41 +00:00
Christoph Göttschkes
595446bff4 8269087: CheckSegmentedCodeCache test fails in an emulated-client VM
Reviewed-by: iveresov, kvn
2021-06-24 16:49:45 +00:00
Joshua Zhu
36d82b6ef1 8268858: Determine register pressure automatically by the number of available registers for allocation
Reviewed-by: kvn, dlong
2021-06-23 03:54:00 +00:00
Dean Long
ab7ff1e137 8266885: [aarch64] Crash with 'Field too big for insn' for some tests under compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/
Reviewed-by: ngasson, dnsimon, kvn
2021-06-23 01:48:19 +00:00
Jesper Wilhelmsson
b6cfca8a89 Merge 2021-06-23 01:05:44 +00:00
Roland Westrelin
578c55bbe6 8267399: C2: java/text/Normalizer/ConformanceTest.java test failed with assertion
Reviewed-by: kvn, neliasso
2021-06-22 15:46:44 +00:00
Jesper Wilhelmsson
0458113c6b Merge 2021-06-21 23:09:01 +00:00
Roland Westrelin
d3ad8cd344 8268672: C2: assert(!loop->is_member(u_loop)) failed: can be in outer loop or out of both loops only
Reviewed-by: kvn, neliasso
2021-06-21 14:16:54 +00:00
Hui Shi
22ebd1926d 8268362: [REDO] C2 crash when compile negative Arrays.copyOf length after loop
Reviewed-by: kvn, roland
2021-06-21 11:59:00 +00:00
Christoph Göttschkes
cbec37d45d 8269029: compiler/codegen/TestCharVect2.java fails for client VMs
Reviewed-by: kvn, jiefu
2021-06-21 11:08:33 +00:00
Boris Ulasevich
c294ae4fed 8267042: bug in monitor locking/unlocking on ARM32 C1 due to uninitialized BasicObjectLock::_displaced_header
Co-authored-by: Chris Cole <chris@sageembedded.com>
Reviewed-by: dsamersoff
2021-06-21 06:04:57 +00:00
Boris Ulasevich
8f2456e5b0 8267042: bug in monitor locking/unlocking on ARM32 C1 due to uninitialized BasicObjectLock::_displaced_header
Co-authored-by: Chris Cole <chris@sageembedded.com>
Reviewed-by: dsamersoff
2021-06-18 16:25:25 +00:00
Jesper Wilhelmsson
a051e735cd Merge 2021-06-18 00:53:09 +00:00
Vladimir Ivanov
9130b8a9d7 8268371: C2: assert(_gvn.type(obj)->higher_equal(tjp)) failed: cast_up is no longer needed
Reviewed-by: roland, kvn
2021-06-17 21:25:46 +00:00
Jesper Wilhelmsson
3637e50b30 Merge 2021-06-17 01:05:54 +00:00
Christian Hagedorn
9ad19f7838 8256934: C2: assert(C->live_nodes() <= C->max_node_limit()) failed: Live Node limit exceeded limit
Reviewed-by: roland, vlivanov
2021-06-16 13:02:51 +00:00
Roland Westrelin
4d545a1f86 8267988: C2: assert(!addp->is_AddP() || addp->in(AddPNode::Base)->is_top() || addp->in(AddPNode::Base) == n->in(AddPNode::Base)) failed: Base pointers must match (addp 1301)
Reviewed-by: chagedorn, vlivanov, kvn
2021-06-16 07:36:07 +00:00
Jesper Wilhelmsson
e0f6f70d3f Merge 2021-06-15 22:45:28 +00:00
Nils Eliasson
e36136fa93 8268125: ZGC: Clone oop array gets wrong acopy stub
Reviewed-by: vlivanov
2021-06-15 11:33:12 +00:00
Nils Eliasson
d384093289 8268125: ZGC: Clone oop array gets wrong acopy stub
Reviewed-by: kvn, vlivanov
2021-06-15 08:53:39 +00:00
Vladimir Kozlov
4d8b5c70df 8268347: C2: nested locks optimization may create unbalanced monitor enter/exit code
Reviewed-by: roland, vlivanov, dcubed
2021-06-14 23:41:50 +00:00
Dean Long
702e3ff054 8268366: Incorrect calculation of has_fpu_registers in C1 linear scan
Reviewed-by: kvn, chagedorn
2021-06-14 19:25:49 +00:00
Yi Yang
5cee23a9ed 8265518: C1: Intrinsic support for Preconditions.checkIndex
Reviewed-by: dfuchs, iveresov
2021-06-12 01:03:50 +00:00
Roland Westrelin
d4377afb99 8263303: C2 compilation fails with assert(found_sfpt) failed: no node in loop that's not input to safepoint
Reviewed-by: chagedorn, kvn
2021-06-10 06:56:04 +00:00
Vladimir Kozlov
81fdeb579a 8268417: Add test from JDK-8268360
Reviewed-by: roland, chagedorn
2021-06-09 15:15:15 +00:00
Roland Westrelin
4413142eca 8268017: C2: assert(phi_type->isa_int() || phi_type->isa_ptr() || phi_type->isa_long()) failed: bad phi type
Reviewed-by: vlivanov, chagedorn, whuang
2021-06-09 07:58:17 +00:00
Christian Hagedorn
3396b69fc9 8254129: IR Test Framework to support regex-based matching on the IR in JTreg compiler tests
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Co-authored-by: Tobias Hartmann <thartmann@openjdk.org>
Reviewed-by: iignatyev
2021-06-07 14:11:50 +00:00
Hui Shi
3e48244084 8268301: Closed test: compiler/c2/6371167/Test.java fails after JDK-8267904
Reviewed-by: kvn, dlong
2021-06-07 06:26:47 +00:00
Hui Shi
b05fa02e74 8267904: C2 crash when compile negative Arrays.copyOf length after loop
Reviewed-by: roland, kvn
2021-06-07 01:34:22 +00:00
Jie Fu
52d88ee1d1 8268292: compiler/intrinsics/VectorizedMismatchTest.java fails with release VMs
Reviewed-by: dcubed
2021-06-06 13:53:29 +00:00
Jatin Bhateja
b05c40ca3b 8266951: Partial in-lining for vectorized mismatch operation using AVX512 masked instructions
Reviewed-by: psandoz, vlivanov
2021-06-05 18:07:14 +00:00
Vladimir Ivanov
74b70a5677 8036580: CHA: improve default method support
Reviewed-by: thartmann, neliasso
2021-06-01 12:14:48 +00:00
Vladimir Ivanov
20479c3de9 8065760: CHA: Improve abstract method support
Reviewed-by: neliasso, thartmann
2021-06-01 12:06:57 +00:00
Wang Huang
7ab6b40120 8267375: Aarch64: JVM crashes with option -XX:PrintIdealGraphLevel=3 on SVE backend
Co-authored-by: Wang Huang <whuang@openjdk.org>
Co-authored-by: Ai Jiaming <aijiaming1@huawei.com>
Reviewed-by: aph, neliasso
2021-05-31 09:40:18 +00:00
Weijun Wang
640a2afda3 8267184: Add -Djava.security.manager=allow to tests calling System.setSecurityManager
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: dholmes, alanb, dfuchs, mchung, mullan, prr
2021-05-24 16:55:55 +00:00
Hui Shi
4023646ed1 8266528: Optimize C2 VerifyIterativeGVN execution time
Reviewed-by: kvn, thartmann
2021-05-22 11:51:37 +00:00
Nils Eliasson
4ba761381c 8267332: xor value should handle bounded values
Reviewed-by: thartmann, redestad
2021-05-21 14:06:18 +00:00