Commit Graph

279 Commits

Author SHA1 Message Date
Ekaterina Pavlova
b8e5aefce8 8225199: [Graal] compiler/jvmci/compilerToVM/IsMatureVsReprofileTest.java fails with -XX:CompileThresholdScaling=0.1
Reviewed-by: kvn
2019-06-03 17:14:23 -07:00
Patric Hedlin
d222b01dee 8223363: Bad node estimate assertion failure
8223502: Node estimate for loop unswitching is not correct: assert(delta <= 2 * required) failed: Bad node estimate
8224648: assert(!exceeding_node_budget()) failed: Too many NODES required! failure with ctw

Tighten the node estimates. New est_loop_clone_sz() implementation that will compute a "fan-out" complexity estimate as part of the size estimate (to better estimate complex loop body size after cloning). New est_loop_unroll_sz() function, used to estimate the size of a loop body att full/maximal unrolling. Correction to node budget final tests and asserts.

Reviewed-by: neliasso, kvn
2019-05-28 14:56:58 +02:00
Gustavo Romero
88cef8d961 8223660: jtreg: Decouple Unsafe from RTM tests
Reviewed-by: mdoerr, shade
2019-05-22 12:17:26 -04:00
Wang Xue
2e04779cef 8224723: [TESTBUG] compiler/arraycopy/TestArrayCopyWithBadOffset.java failed
Added missing -XX:+IgnoreUnrecognizedVMOptions

Reviewed-by: thartmann
2019-05-24 09:51:02 +02:00
Robbin Ehn
9baafa55a6 8221734: Deoptimize with handshakes
Reviewed-by: dcubed, dholmes, pchilanomate, dlong, coleenp
2019-05-23 10:13:29 +02:00
Tobias Hartmann
abe90da665 8224539: C2 compilation fails during ArrayCopyNode optimizations with assert(i < _max) failed: oob: i=1, _max=1
Bail out if src_offset or dst_offset is top.

Reviewed-by: roland, vlivanov, kvn
2019-05-23 08:57:37 +02:00
Dmitrij Pochepko
c21fc9448d 8218966: AArch64: String.compareTo() can read memory after string
Reviewed-by: dsamersoff
2019-05-22 20:39:04 +03:00
Dmitrij Pochepko
d83c89b805 8215792: AArch64: String.indexOf generates incorrect result
Reviewed-by: dsamersoff
2019-05-22 20:12:19 +03:00
Ekaterina Pavlova
fddcb90369 8222482: [Graal] Update java-allocation-instrumenter.jar handling in graalunit README.md
Reviewed-by: kvn, shade
2019-05-21 12:29:47 -07:00
Jie Fu
c69b24eb77 8222302: [TESTBUG]test/hotspot/jtreg/compiler/intrinsics/sha/cli/TestUseSHAOptionOnUnsupportedCPU.java fails on any other CPU
Reviewed-by: kvn, dlong
2019-05-18 12:13:38 -07:00
Ekaterina Pavlova
954169d7d1 8223910: TestFloatJNIArgs and TestTrichotomyExpressions time out with Graal as JIT
Reviewed-by: thartmann
2019-05-16 11:30:32 -07:00
Sandhya Viswanathan
707c30fae6 8222074: Enhance auto vectorization for x86
Reviewed-by: kvn, vlivanov
2019-05-07 13:33:27 -07:00
Xin Liu
63dbcdc874 8222670: pathological case of JIT recompilation and code cache bloat
Prevent downgraded compilation tasks from recompiling.

Reviewed-by: sgehwolf, thartmann
2019-05-07 09:17:03 +02:00
Vladimir Kozlov
72f082e925 8223332: Update JVMCI
Reviewed-by: never, dnsimon
2019-05-06 20:05:19 -07:00
Pengfei Li
58a1f6ac13 8223054: [TESTBUG] Put graalJarsCP before existing classpath in GraalUnitTestLauncher
Reviewed-by: iignatyev, dlong
2019-05-07 00:58:10 +00:00
Vladimir Kozlov
e9c523ae5f 8220623: [JVMCI] Update JVMCI to support JVMCI based Compiler compiled into shared library
Reviewed-by: dnsimon, never, stefank, rehn, neliasso, dholmes, kbarrett, coleenp
2019-05-01 12:31:29 -07:00
Rahul Raghavan
fee481d5a2 8202414: Unsafe write after primitive array creation may result in array length change
Avoided collecting unaligned stores in Initialize node by making can_capture_store return false for same

Reviewed-by: dlong, kvn, vlivanov
2019-05-01 22:02:48 +05:30
Tobias Hartmann
048c3dc026 8219807: C2 crash in IfNode::up_one_dom(Node*, bool)
Guard against regions degraded to copies.

Reviewed-by: kvn
2019-04-30 14:49:19 +02:00
Harold Seigel
ef40115621 8221685: -XX:BytecodeVerificationRemote and -XX:BytecodeVerificationLocal should be diagnostic options
Make the options diagnostic and add -XX:+UnlockDiagnosticVMOptions to tests where needed.

Reviewed-by: lfoltan, acorn, dholmes
2019-04-24 08:27:00 -04:00
Jesper Wilhelmsson
75db2f7df9 8221598: Update Graal
Reviewed-by: kvn
2019-04-23 22:55:09 +02:00
Ekaterina Pavlova
a8550e4589 8222747: [Graal] mx_subprocess files miss testing VM flags
Reviewed-by: kvn
2019-04-19 11:18:06 -07:00
Ekaterina Pavlova
894027aec4 8208066: compiler/graalunit/JttThreadsTest.java failed with org.junit.runners.model.TestTimedOutException: test timed out after 20 seconds
Reviewed-by: iignatyev
2019-04-12 14:13:31 -07:00
Ekaterina Pavlova
93c0734d3a 8216551: GraalUnitTestLauncher should be executed as '@run driver'
Reviewed-by: dlong, kvn
2019-04-08 11:11:22 -07:00
Rahul Raghavan
3f0955154d 8219612: compiler.codecache.stress.Helper.TestCaseImpl can't be defined in different runtime package as its nest host
Test rewritten to use top level classes rather then nested ones

Reviewed-by: iignatyev, kvn, thartmann
2019-03-27 18:33:48 +05:30
Volker Simonis
6efb59fad7 8221483: TestOopCmp.java fails due to "Multiple garbage collectors selected"
Reviewed-by: kvn, mdoerr
2019-03-26 18:42:10 +01:00
Volker Simonis
f9c08cc6fb 8221083: [ppc64] Wrong oop compare in C1-generated code
Reviewed-by: mdoerr, goetz
2019-03-26 11:51:41 +01:00
Dmitry Cherepanov
f16af8d4d5 8211100: hotspot C1 issue with comparing long numbers on x86 32-bit
Reviewed-by: iveresov, thartmann
2019-03-20 11:51:43 +03:00
Per Lidén
fbf62f0fb8 8220569: ZGC: Rename and rework ZUnmapBadViews to ZVerifyViews
Reviewed-by: stefank, eosterlund
2019-03-18 11:50:38 +01:00
Tobias Hartmann
0b42c0728a 8220611: compiler/classUnloading/methodUnloading/TestOverloadCompileQueues.java timeout
Test should not be executed with Graal as JIT.

Reviewed-by: kvn
2019-03-15 08:27:13 +01:00
Igor Ignatyev
8fb834a4bf 8219139: move hotspot tests from test/jdk/vm
Reviewed-by: dholmes, mseledtsov
2019-03-14 19:37:17 -07:00
Roland Westrelin
3ec1137c1f 8220374: C2: LoopStripMining doesn't strip as expected
Reviewed-by: rkennke, thartmann, mdoerr
2019-03-12 15:42:32 +01:00
Ekaterina Pavlova
4df6db5e3f 8219882: [AOT] Develop regression test for 8218859
Reviewed-by: kvn
2019-03-13 12:30:20 -07:00
Jesper Wilhelmsson
c7219faf86 8218074: Update Graal
Reviewed-by: kvn
2019-03-12 19:17:42 +01:00
Bernard Blaser
cf09431450 8220407: compiler/intrinsics/math/TestFpMinMaxIntrinsics.java timedout
Reviewed-by: kvn
2019-03-12 02:13:02 +01:00
Tobias Hartmann
164fcbbec9 8218201: Failures when vmIntrinsics::_getClass is not inlined
Fix BCEscapeAnalyzer to correctly handle _getClass intrinsic.

Reviewed-by: kvn, dlong, redestad, neliasso
2019-03-11 11:42:57 +01:00
Severin Gehwolf
1952af8053 8220353: [TESTBUG] TestRegisterRestoring uses SafepointALot without UnlockDiagnosticVMOptions
Reviewed-by: thartmann, shade
2019-03-08 13:56:05 +01:00
Jatin Bhateja
c2ec1085e1 8217561: X86: Add floating-point Math.min/max intrinsics
Implementation taking care of +/-0.0 and NaN which uses a specific pattern for reductions

Reviewed-by: aph, kvn, neliasso, sviswanathan, adinn
2019-03-07 15:27:42 +01:00
Goetz Lindenmaier
3d593b0c1c 8219651: compiler/ciReplay/TestServerVM.java is failing on windows
Reviewed-by: thartmann, kvn
2019-03-06 16:01:01 +01:00
Tobias Hartmann
ac17b61a59 8163511: Allocation of compile task fails with assert: "Leaking compilation tasks?"
Use weak handles for compile tasks to allow unloading of referenced methods.

Reviewed-by: kvn, coleenp, eosterlund
2019-03-07 08:38:16 +01:00
Fairoz Matte
3e71e62ff6 8219513: compiler/codegen/aes/TestCipherBlockChainingEncrypt.java timeout on Solaris-sparc
Reviewed-by: kvn, iignatyev
2019-03-01 04:34:28 -08:00
Roland Westrelin
7fd7a118da 8219335: "failed: unexpected type" assert failure in ConnectionGraph::split_unique_types() with unsafe accesses
Reviewed-by: thartmann, kvn
2019-02-18 17:41:31 +01:00
Harold Seigel
dd7e50dc01 8214719: Deprecate -Xverify:none option
Deprecate -Xverify:none and -noverify and remove them from tests

Reviewed-by: dholmes, mikael
2019-02-20 13:21:36 -05:00
Tobias Hartmann
799c9a66fd 8218721: C1's CEE optimization produces safepoint poll with invalid debug information
Bail out of CEE if one of the gotos is a safepoint but the if is not.

Reviewed-by: vlivanov, mdoerr
2019-02-19 08:58:55 +01:00
Igor Ignatyev
8512c3117d 8218471: generate-unsafe-access-tests.sh does not correctly invoke build.tools.spp.Spp
Reviewed-by: kvn, thartmann
2019-02-14 23:45:03 -08:00
Vladimir Ivanov
992f8f87ad 8218758: [TESTBUG] compiler/cha/StrengthReduceInterfaceCall.java misses recompilation event
Reviewed-by: iignatyev
2019-02-14 15:27:12 -08:00
Igor Ignatyev
328fae7880 8145845: [AOT] NullPointerException in compiler/whitebox/GetCodeHeapEntriesTest.java
Reviewed-by: kvn, thartmann
2019-02-12 11:23:43 -08:00
Aleksey Shipilev
7ce7e1b3d7 8218715: [TESTBUG] TestUseOptoBiasInliningWithoutEliminateLocks needs to unlock WhiteBoxAPI
Reviewed-by: kvn
2019-02-09 19:39:28 +01:00
Roland Westrelin
f88962f2d9 8217990: C2 UseOptoBiasInlining: load of markword optimized to 0 if running with -XX:-EliminateLocks
Reviewed-by: thartmann, mdoerr, rrich, kvn
2019-02-07 09:55:57 +01:00
Pengfei Li
42f34d1076 8218550: Add test omitted from JDK-8212043
Add test case omitted from fix for JDK-8212043

Reviewed-by: shade
2019-02-06 16:25:58 +00:00
Jesper Wilhelmsson
b2d0be746a Merge 2019-02-02 00:11:54 +01:00