Fei Yang
5ec1b80c4a
8255287: aarch64: fix SVE patterns for vector shift count
...
Co-authored-by: Yanhong Zhu <zhuyanhong2@huawei.com>
Reviewed-by: adinn
2020-10-23 13:16:37 +00:00
Ningsheng Jian
ac1748e786
8254670: SVE test uses linux-specific api
...
Reviewed-by: adinn, vkempik
2020-10-23 10:06:40 +00:00
Vladimir Ivanov
e52156d730
8255067: Restore Copyright line in file modified by 8253191
...
Reviewed-by: kvn, shade
2020-10-23 08:33:14 +00:00
Fei Yang
b25d894015
8252204: AArch64: Implement SHA3 accelerator/intrinsic
...
Co-authored-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Co-authored-by: Dong Bo <dongbo4@huawei.com>
Reviewed-by: aph, kvn
2020-10-22 04:38:39 +00:00
Roland Westrelin
294e0705fa
8254998: C2: assert(!n->as_Loop()->is_transformed_long_loop()) failure with -XX:StressLongCountedLoop=1
...
Reviewed-by: vlivanov, kvn, thartmann
2020-10-20 11:53:41 +00:00
Roberto Castañeda Lozano
98ec4a6792
8254805: compiler/debug/TestStressCM.java is still failing
...
Use the code motion trace produced by TraceOptoPipelining (excluding traces of
stubs) to assert that two compilations with the same seed cause StressLCM and
StressGCM to take the same randomized decisions. Previously, the entire output
produced by PrintOptoStatistics was used instead, which has shown to be too
fragile. Also, disable inlining in both TestStressCM.java and the similar
TestStressIGVN.java to prevent flaky behavior, and run both tests for ten
different seeds to improve coverage.
Reviewed-by: kvn, thartmann
2020-10-20 06:08:25 +00:00
Doug Simon
f42c03226f
8254793: [JVMCI] improve speculation encoding
...
Reviewed-by: kvn, dlong, never
2020-10-19 19:06:23 +00:00
Erik Joelsson
0b5101658d
8253660: Need better error report when artifact resolution fails in AotCompiler.java
...
Reviewed-by: ihse
2020-10-19 17:40:54 +00:00
Tobias Hartmann
7c0d417027
8251535: Partial peeling at unsigned test adds incorrect loop exit check
...
Reviewed-by: chagedorn, neliasso, kvn
2020-10-16 06:25:33 +00:00
Jason Tatton (AWS)
f71e8a6198
8173585: Intrinsify StringLatin1.indexOf(char)
...
Reviewed-by: neliasso
2020-10-14 12:58:21 +00:00
Roberto Castañeda Lozano
b509e31e5f
8254602: compiler/debug/TestStressCM.java failed with "RuntimeException: got the same optimization stats for different seeds: expected 45"
...
Remove test assertion checking that different random seeds lead to different
code motion decisions. This was the case for the specific pair of random seeds,
IR fed to code motion, and target platforms tested originally; but does not need
to hold in general. Remove similar test assertion in IGVN randomization test
case. Re-enable the test case.
Reviewed-by: shade, kvn
2020-10-14 08:07:59 +00:00
Roberto Castañeda Lozano
05459df0c7
8253765: C2: Control randomization in StressLCM and StressGCM
...
Use the compilation-local seed in 'StressLCM' and 'StressGCM' rather than the
global one. As a consequence, these options use by default a fresh seed in every
compilation, unless 'StressSeed=N' is specified, in which case they behave
deterministically. Annotate tests that use 'StressLCM' and 'StressGCM' with the
'stress' and 'randomness' keys to reflect this change in default behavior.
Reviewed-by: kvn, thartmann
2020-10-12 11:40:50 +00:00
Christian Hagedorn
54bbe76ed0
8251544: CTW: C2 fails with assert(no_dead_loop) failed: dead loop detected
...
Reviewed-by: kvn, roland
2020-10-12 08:18:13 +00:00
Jatin Bhateja
4b5ac3abac
8252847: Optimize primitive arrayCopy stubs using AVX-512 masked instructions
...
Reviewed-by: neliasso, kvn
2020-10-10 06:29:38 +00:00
Evgeny Nikitin
52e45a3677
8229186: Improve error messages for TestStringIntrinsics failures
...
Reviewed-by: iignatyev, lmesnik
2020-10-09 16:48:49 +00:00
Vladimir Ivanov
6d13c766bf
8253191: C2: Masked byte comparisons with large masks produce wrong result on x86
...
Reviewed-by: thartmann
2020-10-08 12:41:46 +00:00
Roberto Castañeda Lozano
a191c586dc
8253404: C2: assert(C->live_nodes() <= C->max_node_limit()) failed: Live Node limit exceeded limit
...
Record nodes as dead in Node::destruct() if their index cannot be directly
reclaimed. This prevents the "Live Node limit exceeded limit" assertion failure
by improving the accuracy of Compile::live_nodes() when "hook" nodes in
ConvI2LNode::Ideal() are created and deleted non-consecutively.
This addition might result in multiple calls to compile::record_dead_node() for
the same node (e.g. from PhaseIdealLoop::spinup()), but this is safe, as
compile::record_dead_node() is idempotent.
Reviewed-by: neliasso, thartmann
2020-10-08 12:30:38 +00:00
Roland Westrelin
f86037207c
8253566: clazz.isAssignableFrom will return false for interface implementors
...
Reviewed-by: kvn, thartmann, neliasso
2020-10-08 09:33:42 +00:00
Roland Westrelin
76a5852776
8253756: C2 CompilerThread0 crash in Node::add_req(Node*)
...
Reviewed-by: vlivanov, thartmann
2020-10-08 08:39:40 +00:00
Igor Ignatyev
5a9bd41e79
8254102: use ProcessHandle::pid instead of ManagementFactory::getRuntimeMXBean to get pid in tests
...
Reviewed-by: rriggs, shade
2020-10-07 18:51:52 +00:00
Doug Simon
04ca660e81
8253874: [JVMCI] added test omitted in 8252881
...
Reviewed-by: shade
2020-10-07 09:14:43 +00:00
Xin Liu
ea5a2b15a0
8251464: make Node::dump(int depth) support indent
...
Reviewed-by: thartmann
2020-10-02 13:45:29 +00:00
Philippe Marschall
2a406f3ce5
8138732: Rename @HotSpotIntrinsicCandidate to @IntrinsicCandidate and move it to the jdk.internal.vm.annotation package
...
Reviewed-by: dholmes, alanb, psandoz, kvn, egahlin
2020-09-30 20:05:07 +00:00
Jie Fu
9c17a35e50
8253748: StressIGV tests fail with release VMs
...
Reviewed-by: thartmann
2020-09-29 06:37:46 +00:00
Wang Zhuo
276fcee795
8252835: Revert fix for JDK-8246051
...
Reviewed-by: psandoz, dholmes, mikael
2020-09-28 07:34:01 +00:00
Roberto Castaneda Lozano
fed3636f12
8252219: C2: Randomize IGVN worklist for stress testing
...
Add 'StressIGVN' option to let C2 randomize IGVN worklist order. When enabled,
the worklist is shuffled before each main run of the IGVN loop. Also add
'StressSeed=N' option to specify the seed. If the seed is not specified, a
random one is generated. In either case, the seed is logged if 'LogCompilation'
is enabled. The new options are declared as production+diagnostic for
consistency with the existing 'StressLCM' and 'StressGCM' options.
Reviewed-by: kvn, chagedorn, thartmann
2020-09-28 06:44:58 +00:00
Alex Menkov
3320fc0f52
8253372: [TESTBUG] update tests which require jvmti - hotspot
...
Reviewed-by: sspitsyn, iklam
2020-09-23 21:11:31 +00:00
Vladimir Kozlov
1438ce097f
8252188: Crash in OrINode::Ideal(PhaseGVN*, bool)+0x8b9
...
Reviewed-by: vlivanov, thartmann, jbhateja
2020-09-19 16:06:35 +00:00
Igor Ignatyev
41d29b752b
8252774: remove jdk.test.lib.FileInstaller action from graalunit tests
...
Reviewed-by: shade, epavlova
2020-09-10 13:25:29 +00:00
Igor Ignatyev
5b30a83133
8252778: remove jdk.test.lib.FileInstaller action from compiler/c2/stemmer test
...
Reviewed-by: shade, epavlova
2020-09-10 13:23:01 +00:00
Aleksey Shipilev
91a20ca7e5
8252695: Shenandoah: clean up Graal enabled/disabled filter in tests
...
Reviewed-by: zgu
2020-09-08 17:42:38 +00:00
Evgeny Nikitin
2cceeedfe1
8166554: Avoid compilation blocking in OverloadCompileQueueTest.java
...
Reviewed-by: shade
2020-09-08 08:24:35 +00:00
Filipp Zhinkin
70d5cac961
8251152: ARM32: jtreg c2 Test8202414 test crash
...
Some CPUs (like ARM32) does not support unaligned memory accesses. To avoid JVM crashes tests that perform such accesses should be skipped on corresponding platforms.
Reviewed-by: iignatyev, clanger
2020-09-07 15:33:27 +00:00
Christoph Langer
cc5039e19e
8252837: Cleanup SAP Copyright file headers
...
Reviewed-by: dholmes
2020-09-07 07:30:10 +00:00
Ningsheng Jian
9b5a9b6189
8231441: AArch64: Initial SVE backend support
...
Co-authored-by: Joshua Zhu <joshua.zhu@arm.com>
Co-authored-by: Yang Zhang <yang.zhang@arm.com>
Reviewed-by: adinn, pli, ihse, vlivanov, eosterlund
2020-09-02 09:45:44 +08:00
Dmitry Chuyko
35ea00085f
8251525: AARCH64: Faster Math.signum(fp)
...
Reviewed-by: aph, vlivanov, adinn
2020-09-03 14:54:43 +03:00
Christian Hagedorn
8d30bb03ee
8249607: C2: assert(!had_error) failed: bad dominance
...
Fix prevented igvn optimization in SplitIf for LoadNodes which resulted in dominanance errors with loop strip mining.
Reviewed-by: roland, kvn
2020-08-31 12:10:25 +02:00
Roland Westrelin
c663323043
8252292: 8240795 may cause anti-dependence to be missed
...
Reviewed-by: thartmann, kvn
2020-08-24 11:29:40 +02:00
Roland Westrelin
6a85e1454d
8241486: G1/Z give warning when using LoopStripMiningIter and turn off LoopStripMiningIter (0)
...
Reviewed-by: thartmann, kvn
2020-08-21 17:41:57 +02:00
Jie Fu
c31bcc58b0
8252404: compiler/c1/TestTraceLinearScanLevel.java fails with release VMs
...
Reviewed-by: kvn, thartmann
2020-08-27 10:35:00 +08:00
Christian Hagedorn
6c4a27ccb1
8251093: Improve C1 register allocator logging and debugging support
...
Various printing and debug improvements to better analyze C1 register allocator problems.
Reviewed-by: kvn, thartmann
2020-08-26 13:46:46 +02:00
Aleksey Shipilev
2462995662
8252120: compiler/oracle/TestCompileCommand.java misspells "occured"
...
Reviewed-by: iignatyev
2020-08-21 09:38:27 +02:00
Evgeny Nikitin
714db70bf3
8251349: Add TestCaseImpl to OverloadCompileQueueTest.java's build dependencies
...
Reviewed-by: iignatyev, kvn
2020-08-10 20:31:27 +02:00
Christian Hagedorn
552a73301c
8248791: sun/util/resources/cldr/TimeZoneNamesTest.java fails with -XX:-ReduceInitialCardMarks -XX:-ReduceBulkZeroing
...
Fix wrong replacement of loads by zero for non-completed InitializationNodes belonging to a clone when ReduceBulkZeroing is disabled.
Reviewed-by: kvn, thartmann
2020-08-14 10:30:51 +02:00
Tobias Hartmann
191e1e6075
8251458: Parse::do_lookupswitch fails with "assert(_cnt >= 0) failed"
...
Limit the counter value to max_jint.
Reviewed-by: kvn, vlivanov, chagedorn
2020-08-13 16:01:45 +02:00
Tobias Hartmann
51b3bd2c2e
8251456: [TESTBUG] compiler/vectorization/TestVectorsNotSavedAtSafepoint.java failed OutOfMemoryError
...
Removed allocation of large arrays to avoid OOME.
Reviewed-by: kvn, chagedorn
2020-08-13 15:59:12 +02:00
Christian Hagedorn
9885ac18ac
8249603: C1: assert(has_error == false) failed: register allocation invalid
...
Added bailout in combine_spilled_intervals() to avoid an overlap between two intervals
Reviewed-by: kvn, thartmann
2020-08-12 08:45:44 +02:00
Vladimir Kozlov
a5ae1e306e
8251306: compiler/aot/cli/jaotc/IgnoreErrorsTest.java timed out on MacOS
...
Icrease test timout to 6 min
Reviewed-by: iignatyev
2020-08-11 19:44:40 -07:00
Vladimir Kozlov
092389e3c9
8249749: modify a primitive array through a stream and a for cycle causes jre crash
...
Check align_to_ref for NULL early and bailout SuperWord optimization.
Reviewed-by: vlivanov, thartmann
2020-08-10 15:31:01 -07:00
Tobias Hartmann
970e251a54
8249608: Vector register used by C2 compiled method corrupted at safepoint
...
Always update 'max_vlen_in_bytes'.
Reviewed-by: kvn, vlivanov, chagedorn
2020-08-10 08:21:14 +02:00