Commit Graph

1852 Commits

Author SHA1 Message Date
Tobias Hartmann
8d0975a27d 8336726: C2: assert(!do_asserts || projs->fallthrough_ioproj != nullptr) failed: must be found
Reviewed-by: chagedorn, kvn, vlivanov
2024-10-14 05:26:48 +00:00
Quan Anh Mai
7276a1bec0 8341784: Refactor TypeVect to use a BasicType instead of a const Type*
Reviewed-by: kvn, jkarthikeyan
2024-10-11 15:28:15 +00:00
Kangcheng Xu
c30ad0124e 8325495: C2: implement optimization for series of Add of unique value
Reviewed-by: chagedorn, roland
2024-10-09 15:07:13 +00:00
Roland Westrelin
ff2f39f240 8340214: C2 compilation asserts with "no node with a side effect" in PhaseIdealLoop::try_sink_out_of_loop
Reviewed-by: chagedorn, thartmann
2024-10-09 14:59:15 +00:00
Roland Westrelin
ecc77a5b4a 8336702: C2 compilation fails with "all memory state should have been processed" assert
Reviewed-by: thartmann, chagedorn
2024-10-09 14:57:37 +00:00
Daniel Skantz
d3f3c6a8cd 8330157: C2: Add a stress flag for bailouts
Reviewed-by: chagedorn, thartmann
2024-10-09 07:01:23 +00:00
Igor Veresov
7eab0a506a 8337066: Repeated call of StringBuffer.reverse with double byte string returns wrong result
Reviewed-by: kvn, thartmann
2024-10-08 23:21:44 +00:00
Tobias Hartmann
92186a2774 8341612: [BACKOUT] 8338442: AArch64: Clean up IndOffXX type and let legitimize_address() fix out-of-range operands
Reviewed-by: chagedorn
2024-10-07 07:58:01 +00:00
Todd V. Jonker
1bdd79e7b2 8341261: Tests assume UnlockExperimentalVMOptions is disabled by default
Reviewed-by: stefank, mli, ysr
2024-10-04 09:01:41 +00:00
Roberto Castañeda Lozano
0b467e902d 8334060: Implementation of Late Barrier Expansion for G1
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Siyao Liu <siyao.l.liu@oracle.com>
Co-authored-by: Kim Barrett <kbarrett@openjdk.org>
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Feilong Jiang <fjiang@openjdk.org>
Co-authored-by: Sergey Nazarkin <snazarki@openjdk.org>
Reviewed-by: kvn, tschatzl, fyang, ayang, kbarrett
2024-10-03 08:36:33 +00:00
Tobias Holenstein
8d6d37fea1 8320308: C2 compilation crashes in LibraryCallKit::inline_unsafe_access
Reviewed-by: thartmann, kvn, vlivanov, epeter, roland
2024-10-01 23:52:46 +00:00
Lutz Schmidt
777c20cb14 8339542: compiler/codecache/CheckSegmentedCodeCache.java fails
Reviewed-by: mdoerr, shade
2024-09-26 11:45:09 +00:00
Kuai Wei
e1c4d3039f 8339299: C1 will miss type profile when inline final method
Reviewed-by: lmesnik, vlivanov
2024-09-24 11:08:36 +00:00
Yudi Zheng
44024826e5 8340585: [JVMCI] compiler/unsafe/UnsafeGetStableArrayElement.java fails with -XX:-UseCompressedClassPointers
Reviewed-by: dnsimon
2024-09-24 08:25:06 +00:00
Tobias Hartmann
63e611cd5d 8335334: Stress mode to randomly execute unstable if traps
Reviewed-by: chagedorn, kvn
2024-09-23 12:30:30 +00:00
Roland Westrelin
5381f553ad 8333258: C2: high memory usage in PhaseCFG::insert_anti_dependences()
Reviewed-by: kvn, epeter
2024-09-18 07:07:45 +00:00
Kangcheng Xu
10050a7239 8332442: C2: refactor Mod cases in Compile::final_graph_reshaping_main_switch()
Reviewed-by: roland, chagedorn, jkarthikeyan
2024-09-17 07:19:02 +00:00
Hamlin Li
bacd046062 8321010: RISC-V: C2 RoundVF
8321011: RISC-V: C2 RoundVD

Reviewed-by: rehn, luhenry
2024-09-13 08:05:19 +00:00
Andrew Dinn
b88ff9c986 8339849: Enumerate opto and C1 stubs, generate enums, names, fields and generator calls
Reviewed-by: kvn
2024-09-13 06:43:38 +00:00
Robbin Ehn
bfe7f9205b 8339741: RISC-V: C ABI breakage for integer on stack
Reviewed-by: fyang, luhenry
2024-09-11 16:08:24 +00:00
Jasmine Karthikeyan
92431049fd 8335444: Generalize implementation of AndNode mul_ring
Reviewed-by: chagedorn, qamai, dfenacci
2024-09-10 16:52:59 +00:00
Roland Westrelin
e203df46fa 8338100: C2: assert(!n_loop->is_member(get_loop(lca))) failed: control must not be back in the loop
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: chagedorn, thartmann
2024-09-05 15:51:27 +00:00
Jasmine Karthikeyan
6f8714ee19 8336860: x86: Change integer src operand for CMoveL of 0 and 1 to long
Reviewed-by: epeter, chagedorn, shade, qamai, jbhateja
2024-09-04 13:44:24 +00:00
Damon Fenacci
633fad8e53 8326615: C1/C2 don't handle allocation failure properly during initialization (RuntimeStub::new_runtime_stub fatal crash)
Reviewed-by: thartmann, kvn
2024-09-03 09:45:43 +00:00
Kangcheng Xu
1383fec417 8327381: Refactor type-improving transformations in BoolNode::Ideal to BoolNode::Value
Reviewed-by: chagedorn, thartmann, jkarthikeyan, epeter
2024-08-29 05:34:08 +00:00
Roland Westrelin
0c14579fef 8336830: C2: assert(get_loop(lca)->_nest < n_loop->_nest || lca->in(0)->is_NeverBranch()) failed: must not be moved into inner loop
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: thartmann, chagedorn, epeter
2024-08-26 07:31:04 +00:00
Qizheng Xing
965dd1acd0 8333334: C2: Make result of Node::dominates more precise to enhance scalar replacement
Reviewed-by: chagedorn, kvn, thartmann
2024-08-23 09:30:47 +00:00
Christian Hagedorn
55a97ec879 8336729: C2: Div/Mod nodes without zero check could be split through iv phi of outer loop of long counted loop nest resulting in SIGFPE
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: epeter, kvn, thartmann
2024-08-20 15:47:16 +00:00
Fei Gao
3859131505 8338442: AArch64: Clean up IndOffXX type and let legitimize_address() fix out-of-range operands
Reviewed-by: aph, dlong
2024-08-15 15:16:14 +00:00
Aleksey Shipilev
74fdd6868d 8333791: Fix memory barriers for @Stable fields
Reviewed-by: liach, vlivanov
2024-08-15 11:24:22 +00:00
SendaoYan
e3a5e265a7 8338344: Test TestPrivilegedMode.java intermittent fails java.lang.NoClassDefFoundError: jdk/test/lib/Platform
Reviewed-by: chagedorn, shade
2024-08-14 18:55:58 +00:00
Emanuel Peter
c27a8c8c8b 8338124: C2 SuperWord: MulAddS2I input permutation still partially broken after JDK-8333840
Reviewed-by: chagedorn, thartmann, kvn
2024-08-13 05:52:58 +00:00
Christian Hagedorn
c01f53ac2d 8337876: [IR Framework] Add support for IR tests with @Stable
Reviewed-by: shade, kvn
2024-08-09 07:17:59 +00:00
Carlo Refice
c095c0e6a5 8336489: Track scoped accesses in JVMCI compiled code
Reviewed-by: dnsimon, never
2024-08-05 14:09:54 +00:00
Daniel Lundén
fdb4350fce 8324345: Stack overflow during C2 compilation when splitting memory phi
Reviewed-by: thartmann, kvn
2024-07-31 16:05:42 +00:00
Jasmine Karthikeyan
f2ba2ebbca 8331090: Run Ideal_minmax before de-canonicalizing CMoves
Reviewed-by: thartmann, epeter
2024-07-31 15:16:21 +00:00
Aleksey Shipilev
c73b3cb599 8336635: Add IR test for Reference.refersTo intrinsic
Reviewed-by: thartmann, kvn
2024-07-31 12:56:43 +00:00
David Leopoldseder
9b428dda8f 8336242: compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/SimpleDebugInfoTest.java failed assert(oopDesc::is_oop_or_null(val)) failed: bad oop found (again)
Reviewed-by: dnsimon, never
2024-07-31 09:40:47 +00:00
Ashutosh Mehra
e63d01654e 8337031: Improvements to CompilationMemoryStatistic
Reviewed-by: kvn, stuefe
2024-07-31 01:36:37 +00:00
Fei Gao
d10afa26e5 8336245: AArch64: remove extra register copy when converting from long to pointer
Co-authored-by: Andrew Haley <aph@openjdk.org>
Reviewed-by: aph, adinn
2024-07-26 09:36:23 +00:00
William Kemper
0584af2325 8336685: Shenandoah: Remove experimental incremental update mode
Reviewed-by: shade
2024-07-25 23:59:56 +00:00
Roland Westrelin
3baff2af6a 8335393: C2: assert(!had_error) failed: bad dominance
Reviewed-by: thartmann, chagedorn
2024-07-25 09:26:11 +00:00
Matthias Baesken
5b4824cf9a 8336827: compiler/vectorization/TestFloat16VectorConvChain.java timeouts on ppc64 platforms after JDK-8335860
Reviewed-by: kvn, mdoerr, shade
2024-07-24 07:21:45 +00:00
Roland Westrelin
0ddf54e222 8335709: C2: assert(!loop->is_member(get_loop(useblock))) failed: must be outside loop
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: epeter, thartmann
2024-07-19 07:30:23 +00:00
Roland Westrelin
10982fe557 8335843: C2 hits assert(_print_inlining_stream->size() > 0) failed: missing inlining msg
Reviewed-by: thartmann, kvn, vlivanov
2024-07-19 07:28:51 +00:00
Jatin Bhateja
35df48e1b3 8335860: compiler/vectorization/TestFloat16VectorConvChain.java fails with non-standard AVX/SSE settings
Reviewed-by: sviswanathan, kvn
2024-07-18 11:22:58 +00:00
Cesar Soares Lucas
005fb67e99 8331194: NPE in ArrayCreationTree.java with -XX:-UseCompressedOops
Reviewed-by: kvn
2024-07-16 20:47:42 +00:00
Jatin Bhateja
55fd1ed228 8333890: Fatal error in auto-vectorizer with float16 kernel.
Reviewed-by: kvn
2024-07-08 06:42:46 +00:00
Jasmine Karthikeyan
685e5878b8 8334816: compiler/c2/irTests/TestIfMinMax.java fails after 8334629
Reviewed-by: thartmann, chagedorn
2024-07-02 14:36:29 +00:00
Emanuel Peter
9046d7aee3 8335390: C2 MergeStores: wrong result with Unsafe
Reviewed-by: thartmann, chagedorn, kvn
2024-07-02 08:20:26 +00:00
Albert Mingkun Yang
71e3798bf6 8335308: compiler/uncommontrap/DeoptReallocFailure.java times out with SerialGC on Windows
Reviewed-by: kvn, thartmann, chagedorn
2024-07-01 08:12:20 +00:00
Christian Hagedorn
6f4ddc2f6b 8335142: compiler/c1/TestTraceLinearScanLevel.java occasionally times out with -Xcomp
Reviewed-by: thartmann, kvn
2024-06-28 09:23:48 +00:00
Vladimir Ivanov
243bae7dc0 8304693: Remove -XX:-UseVtableBasedCHA
Reviewed-by: kvn, coleenp, dholmes
2024-06-27 18:25:16 +00:00
Kangcheng Xu
b2ac7259c9 8327380: Add tests for Shenandoah barrier expansion optimization
Reviewed-by: roland, shade
2024-06-26 13:19:34 +00:00
Vladimir Kozlov
9c89f0861c 8334421: assert(!oldbox->is_unbalanced()) failed: this should not be called for unbalanced region
Reviewed-by: vlivanov, thartmann
2024-06-25 16:04:03 +00:00
Emanuel Peter
edf7f055ee 8334083: C2 SuperWord: TestCompatibleUseDefTypeSize.java fails with -XX:+AlignVector after JDK-8325155
Reviewed-by: chagedorn, kvn
2024-06-24 07:14:57 +00:00
Emanuel Peter
e965d70a74 8333876: C2 SuperWord: regression after JDK-8325155: failed: internal connection
Reviewed-by: kvn, roland
2024-06-18 16:15:09 +00:00
Roland Westrelin
fa401f37df 8333805: Replaying compilation with null static final fields results in a crash
Reviewed-by: thartmann, dlong
2024-06-18 12:08:57 +00:00
Gui Cao
e95f092862 8333964: RISC-V: C2: Check "requires_strict_order" flag for floating-point add reduction
Reviewed-by: fyang
2024-06-18 05:24:33 +00:00
Gui Cao
ef7923e127 8334078: RISC-V: TestIntVect.java fails after JDK-8332153 when running without RVV
Reviewed-by: fyang, mli
2024-06-17 11:35:41 +00:00
Emanuel Peter
7b38bfea33 8333729: C2 SuperWord: remove some @requires usages in test/hotspot/jtreg/compiler/loopopts/superword
Reviewed-by: chagedorn, kvn
2024-06-17 07:00:03 +00:00
Emanuel Peter
29b6392838 8334228: C2 SuperWord: fix JDK-24 regression in VPointer::cmp_for_sort after JDK-8325155
Reviewed-by: chagedorn, kvn
2024-06-17 06:58:55 +00:00
Gui Cao
9b0a5c5cd0 8333248: VectorGatherMaskFoldingTest.java failed when maximum vector bits is 64
Reviewed-by: dfenacci, fyang
2024-06-14 09:19:04 +00:00
Emanuel Peter
b09a45163c 8333840: C2 SuperWord: wrong result for MulAddS2I when inputs permuted
Reviewed-by: kvn, chagedorn
2024-06-13 18:11:36 +00:00
Fei Gao
2c9185eb81 8321308: AArch64: Fix matching predication for cbz/cbnz
Reviewed-by: fyang, adinn, aph
2024-06-12 13:29:45 +00:00
Doug Simon
bd750b6b78 8319933: Disable tests for JDK-8280481 on Graal
Reviewed-by: chagedorn
2024-06-12 10:03:39 +00:00
Christian Hagedorn
ef101f1bf2 8332920: C2: Partial Peeling is wrongly applied for CmpU with negative limit
Reviewed-by: kvn, thartmann, epeter
2024-06-11 11:32:12 +00:00
Bhavana Kilambi
0e4d4a0c31 8320725: AArch64: C2: Add "requires_strict_order" flag for floating-point add and mul reduction
Co-authored-by: Eric Liu <eliu@openjdk.org>
Reviewed-by: gli, epeter, aph
2024-06-11 07:16:56 +00:00
Vladimir Kozlov
9691153755 8329141: Obsolete RTM flags and code
Reviewed-by: chagedorn
2024-06-10 17:58:22 +00:00
Richard Reingruber
f7862bd6b9 8331311: C2: Big Endian Port of 8318446: optimize stores into primitive arrays by combining values into larger store
Reviewed-by: epeter, kvn
2024-06-07 06:16:03 +00:00
Emanuel Peter
b4beda21b4 8332537: C2: High memory usage reported for compiler/loopopts/superword/TestAlignVectorFuzzer.java
Reviewed-by: kvn, thartmann, stuefe
2024-06-07 05:07:03 +00:00
Emanuel Peter
944aeb81b1 8325155: C2 SuperWord: remove alignment boundaries
Reviewed-by: chagedorn, kvn
2024-06-07 05:01:23 +00:00
Emanuel Peter
487c477181 8333647: C2 SuperWord: some additional PopulateIndex tests
Reviewed-by: kvn, chagedorn
2024-06-06 15:21:31 +00:00
Christian Hagedorn
7ef2831293 8333644: C2: assert(is_Bool()) failed: invalid node class: Phi
Reviewed-by: thartmann, kvn
2024-06-06 06:58:05 +00:00
Cesar Soares Lucas
b351b5f60e 8331736: C2: Live Node limit exceeded limit after JDK-8316991
Reviewed-by: thartmann, chagedorn
2024-06-06 05:21:09 +00:00
Jatin Bhateja
4c09d9f828 8332119: Incorrect IllegalArgumentException for C2 compiled permute kernel
Reviewed-by: sviswanathan, kvn
2024-06-05 18:36:49 +00:00
Christian Hagedorn
c5c0867881 8333252: C2: assert(assertion_predicate_has_loop_opaque_node(iff)) failed: must find OpaqueLoop* nodes
Reviewed-by: kvn, epeter
2024-06-05 15:37:31 +00:00
Christian Hagedorn
64bbae7512 8333394: C2: assert(bol->is_Opaque4() || bol->is_OpaqueInitializedAssertionPredicate()) failed: Opaque node of non-null-check or of Initialized Assertion Predicate
Reviewed-by: thartmann, roland
2024-06-04 09:47:08 +00:00
Emanuel Peter
67d6f3ca9e 8332905: C2 SuperWord: bad AD file, with RotateRightV and first operand not a pack
Reviewed-by: chagedorn, thartmann
2024-06-04 06:20:31 +00:00
Vladimir Ivanov
29e10e4582 8332547: Unloaded signature classes in DirectMethodHandles
Reviewed-by: jvernee, liach
2024-06-04 04:02:49 +00:00
Roberto Castañeda Lozano
e0ac8249f5 8332959: C2: ZGC fails with 'Incorrect load shift' when invoking Object.clone() reflectively on an array
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: kvn, thartmann, aboldtch
2024-06-03 07:37:17 +00:00
Christian Hagedorn
7c83d7ab53 8333366: C2: CmpU3Nodes are not pushed back to worklist in PhaseCCP leading to non-fixpoint assertion failure
Reviewed-by: kvn, thartmann
2024-06-03 06:41:33 +00:00
Christian Hagedorn
95c8a69b0e 8332032: C2: Remove ExpandSubTypeCheckAtParseTime flag
Reviewed-by: thartmann, rcastanedalo
2024-05-31 06:56:57 +00:00
Pavel Rappo
3cff588a31 8332826: Make hashCode methods in ArraysSupport friendlier
Reviewed-by: redestad, liach
2024-05-30 09:33:30 +00:00
Damon Fenacci
2ea365c945 8333099: Missing check for is_LoadVector in StoreNode::Identity
Reviewed-by: chagedorn, thartmann
2024-05-30 05:11:32 +00:00
Hamlin Li
fed2b56017 8320999: RISC-V: C2 RotateLeftV
8321000: RISC-V: C2 RotateRightV

Reviewed-by: luhenry, fyang
2024-05-29 12:25:40 +00:00
Christian Hagedorn
2edb6d9813 8330386: Replace Opaque4Node of Initialized Assertion Predicate with new OpaqueInitializedAssertionPredicateNode
Reviewed-by: kvn, roland
2024-05-28 08:12:36 +00:00
Adam Sotona
cfdc64fcb4 8331291: java.lang.classfile.Attributes class performs a lot of static initializations
Reviewed-by: liach, redestad, vromero
2024-05-24 15:58:34 +00:00
Damon Fenacci
0c934ff4e2 8325520: Vector loads and stores with indices and masks incorrectly compiled
Reviewed-by: epeter, thartmann
2024-05-24 13:39:17 +00:00
Roland Westrelin
c9a7b9772d 8332829: [BACKOUT] C2: crash in compiled code because of dependency on removed range check CastIIs
Reviewed-by: thartmann
2024-05-23 16:37:01 +00:00
Fei Gao
8a9d77d58d 8320622: [TEST] Improve coverage of compiler/loopopts/superword/TestMulAddS2I.java on different platforms
Reviewed-by: epeter, kvn
2024-05-22 11:33:35 +00:00
Vladimir Kozlov
52eda79522 8332538: Switch off JIT memory limit check for TestAlignVectorFuzzer.java
Reviewed-by: stuefe, thartmann
2024-05-21 15:52:52 +00:00
Hamlin Li
5cf8288b80 8332153: RISC-V: enable tests and add comment for vector shift instruct (shared by vectorization and Vector API)
Reviewed-by: fyang
2024-05-21 12:34:06 +00:00
Vladimir Ivanov
7652f9811b 8331885: C2: meet between unloaded and speculative types is not symmetric
Reviewed-by: roland, thartmann
2024-05-20 17:56:44 +00:00
Cesar Soares Lucas
8acdd2d7c8 8330565: C2: Multiple crashes with CTW after JDK-8316991
Reviewed-by: kvn, thartmann
2024-05-17 23:39:31 +00:00
Hamlin Li
6422efa3c7 8332394: Add friendly output when @IR rule missing value
Reviewed-by: chagedorn
2024-05-17 06:33:56 +00:00
Roland Westrelin
f398cd2250 8331575: C2: crash when ConvL2I is split thru phi at LongCountedLoop
Reviewed-by: chagedorn, epeter
2024-05-16 08:55:03 +00:00
Roland Westrelin
ab8d7b0ced 8324517: C2: crash in compiled code because of dependency on removed range check CastIIs
Reviewed-by: epeter, thartmann
2024-05-16 07:25:11 +00:00
Emanuel Peter
c4867c62c4 8329273: C2 SuperWord: Some basic MemorySegment IR tests
Reviewed-by: kvn, chagedorn
2024-05-15 13:16:08 +00:00
Roland Westrelin
8032d640c0 8332245: C2: missing record_for_ign() call in GraphKit::must_be_not_null()
Reviewed-by: thartmann, chagedorn
2024-05-15 12:01:20 +00:00