869 Commits

Author SHA1 Message Date
Tobias Hartmann
55233a42f3 8199777: Deprecate -XX:+AggressiveOpts
Deprecate -XX:+AggressiveOpts and remove it from testing.

Reviewed-by: kvn, dholmes, shade
2018-03-22 08:39:51 +01:00
Roland Westrelin
35460b0e85 8196294: LoopStripMiningIterShortLoop is set to zero by default
Reviewed-by: shade, thartmann, kvn
2018-03-21 10:05:36 +01:00
Jesper Wilhelmsson
7ffa43700f Merge 2018-03-24 01:08:35 +01:00
Tobias Hartmann
eda7916ce8 8199624: [Graal] Blocking jvmci compilations time out
Handle blocking jvmci compilations that time out.

Reviewed-by: kvn, dnsimon
2018-03-21 08:18:54 +01:00
Jesper Wilhelmsson
1155614f99 Merge 2018-03-20 04:36:44 +01:00
Lutz Schmidt
f5d589fe63 8198608: Improvements to command-line flags printing
Re-implemented Flag::print_on()

Reviewed-by: dholmes, mikael, gziemski
2018-03-19 13:37:57 -05:00
Erik Joelsson
1926d24306 8199352: The Jib artifact resolver in test lib needs to print better error messages
Reviewed-by: iignatyev, ihse
2018-03-09 19:20:19 +01:00
Vladimir Kozlov
d0ec59a9fb 8195632: [Graal] Introduce EagerJVMCI flag to force eager JVMCI initialization
Reviewed-by: thartmann
2018-03-01 09:03:30 -08:00
Tobias Hartmann
23c15b8f4c 8148871: Possible wrong expression stack depth at deopt point
Add a special case for invoke bytecodes and use the parameter size instead of the oop map in that case.

Reviewed-by: never, dlong, minqi
2018-03-01 08:58:27 +01:00
Vladimir Kozlov
4b482389bf 8198251: [Graal] compiler/intrinsics/bmi/verifycode tests fail with Graal on macos
BMI tests should be excluded from Graal JIT testing for now.

Reviewed-by: thartmann
2018-02-23 10:14:23 -08:00
Razvan Lupusoru
343cf9910d 8199421: Add support for vector popcount
Reviewed-by: kvn
2018-03-13 10:22:15 -07:00
Vladimir Kozlov
944905f00c 8198591: compiler/aot/fingerprint tests should be moved to open
Reviewed-by: thartmann
2018-03-09 09:46:49 -08:00
Gilles Duboscq
597c6ac736 8194490: [JVMCI] Move iterateFrames to C++
Reviewed-by: kvn, never, dnsimon
2018-03-07 19:32:54 -08:00
Tobias Hartmann
fd90a313a7 8198987: [Graal] compiler/intrinsics/sha/sanity tests fail on macos with Graal as JIT
Use the isIntrinsicAvailable WhiteBox API method to check if an intrinsic is available.

Reviewed-by: kvn
2018-03-06 10:30:24 +01:00
Igor Ignatyev
c61f11a3ab 8199050: reenable concurrent execution of compiler tests
Reviewed-by: kvn
2018-03-05 13:10:31 -08:00
Tobias Hartmann
f6f71565b7 8198826: -XX:+VerifyStack fails with fatal error: ExceptionMark constructor expects no pending exceptions
Save and restore pending exception while executing stack verification code at deoptimization.

Reviewed-by: kvn, dholmes
2018-03-02 11:06:51 +01:00
Roland Westrelin
4f8c5b6949 8197563: assert(is_Loop()) crash in PhaseIdealLoop::try_move_store_before_loop()
Don't move store out of the loop if head is not a LoopNode.

Reviewed-by: kvn, thartmann
2018-02-13 16:57:01 +01:00
Vladimir Kozlov
ba9f9457dd 8196726: compiler/inlining/InlineAccessors.java test failed
Reviewed-by: thartmann
2018-02-06 09:35:05 -08:00
Jesper Wilhelmsson
44ab590f44 Merge 2018-02-05 23:12:03 +01:00
Tobias Hartmann
38e8a07f05 8196608: [Graal] compiler/uncommontrap/TestUnstableIfTrap.java fails in Graal JIT mode
Exclude test from Graal testing.

Reviewed-by: kvn, epavlova
2018-02-05 07:14:24 +01:00
Lana Steuck
414e05f6d7 Merge 2018-02-02 01:52:03 +00:00
Roland Westrelin
d244b3ccd1 8196296: Lucene test crashes C2 compilation
Prevent merging of back to back ifs if one is a counted loop end.

Reviewed-by: kvn, thartmann
2018-01-30 09:08:44 +01:00
Lana Steuck
aad1a3592c Merge 2018-01-16 22:24:20 +00:00
Roland Westrelin
2067aa56eb 8193597: sun/nio/cs/TestStringCoding.java fails intermittently with getBytes(csn) failed -> GBK
Should not change loop limit check of outer loop.

Reviewed-by: thartmann
2018-01-15 09:19:53 +01:00
Roland Westrelin
bf92da2c82 8194914: Compilation fails with "node not on backedge" in OuterStripMinedLoopNode::adjust_strip_mined_loop
Modified assert which is too strong.

Reviewed-by: thartmann
2018-01-15 09:17:25 +01:00
Jesper Wilhelmsson
fb8bca78ee Merge 2018-01-05 22:02:20 +01:00
Igor Veresov
98601408f0 8194271: jaotc crashes with --debug flag
Reviewed-by: kvn, thartmann
2018-01-04 14:44:38 -08:00
Ramkumar Sunderbabu
674a4ce25b 8193607: Test failure with java.lang.ClassNotFoundException: compiler.tiered.LevelTransitionTest
Added compiler.tiered.LevelTransitionTest to @build

Reviewed-by: thartmann
2018-01-10 02:31:25 -08:00
Rickard Bäckman
9ba6ab25e4 8191915: JCK tests produce incorrect results with C2
Reviewed-by: thartmann, vlivanov, goetz
2018-01-18 19:21:11 +01:00
Nils Eliasson
16d95cbf9d 8192971: LockCompilationTest fails intermittently
Remove all unnecessary compilations

Reviewed-by: kvn, thartmann
2017-12-13 10:21:21 +01:00
Tobias Hartmann
8ab2ee6ab1 8193363: TestDumpReplay.java fails with product builds
Added missing -XX:+IgnoreUnrecognizedVMOptions

Reviewed-by: kvn
2017-12-12 19:05:02 +01:00
Roland Westrelin
29bab311ab 8192908: -XX:+UseCountedLoopSafepoints alone doesn't disable strip mining with G1
-XX:+UseCountedLoopSafepoints should disable loop strip mining.

Reviewed-by: kvn, thartmann
2017-12-07 15:52:46 +01:00
Doug Simon
77eb30dae3 8193930: [JVMCI] calling ResolvedTypeType.getClassInitializer on an array type crashes
Reviewed-by: never, dlong
2017-12-22 18:34:36 +01:00
Boris Ulasevich
f4b397b4ba 8189439: Parameters type profiling is not performed from aarch64 interpreter
Reviewed-by: vlivanov
2017-12-01 18:24:52 +03:00
Dmitry Chuyko
d24ef2f18f 8191129: AARCH64: Invalid value passed to critical JNI function
Reviewed-by: vlivanov
2017-12-01 18:20:00 +03:00
Roland Westrelin
386e258e20 8186027: C2: loop strip mining
Reviewed-by: kvn, neliasso
2017-11-28 11:59:16 +01:00
Jesper Wilhelmsson
d679703c0b Merge 2018-01-30 16:41:40 +01:00
Rickard Bäckman
6f1c27a2c9 8191915: JCK tests produce incorrect results with C2
Reviewed-by: thartmann, vlivanov, goetz
2018-01-18 19:21:11 +01:00
Igor Ignatyev
a400b9417f 8195729: compiler.aot.AotCompiler should be run as a driver
Reviewed-by: kvn, mseledtsov
2018-01-18 16:57:54 -08:00
Igor Ignatyev
fff718badb 8195724: compiler.calls.common.InvokeDynamicPatcher can be run as driver
Reviewed-by: kvn
2018-01-18 16:57:51 -08:00
Igor Ignatyev
71a40bce38 8186635: ClassFileInstaller should be run as a driver
Reviewed-by: dholmes
2018-01-17 21:44:44 -08:00
Roland Westrelin
eb10d407d3 8191887: assert(b->is_Bool()) in PhaseIdealLoop::clone_iff() due to Opaque4 node
Add special handling for graph shape If->Opaque4->Bool->CmpP

Reviewed-by: kvn
2017-11-27 16:05:11 -08:00
Roland Westrelin
1c25161036 8191153: assert(u_ctrl != blk1 && u_ctrl != blk2) failed: won't converge
Relax assert

Reviewed-by: kvn
2017-11-27 10:44:19 -08:00
Rahul Raghavan
fa19052aa4 8191313: compiler/runtime/SpreadNullArg.java fails in tier1
Corrected SpreadNullArg.java test to expect NullPointerException after 8157246 fix

Reviewed-by: dcubed, mchung
2017-11-26 09:05:13 -08:00
Dean Long
fb89c1729c 8190817: deopt special-case for _return_register_finalizer is confusing and leads to bugs
Reviewed-by: vlivanov, dpochepk
2017-11-21 09:04:42 -08:00
Nils Eliasson
fc7955d5fc 8160548: Inconsistent inlining behavior with CompileOnly
Can_be_compiled should not affect inlining

Reviewed-by: thartmann
2017-11-20 09:50:27 +01:00
Nils Eliasson
c5e0971547 8065838: compiler/relocations/TestPrintRelocations.java times out after 1920 seconds
Compile fewer methods

Reviewed-by: thartmann, kvn
2017-11-20 09:50:23 +01:00
Roland Westrelin
002aff0a75 8190375: Java Crash in JavaBug.formatPos(I)Ljava/lang/String
Skip the logic that set the value of the Phi iv if the exit condition is "not equal"

Reviewed-by: thartmann, mdoerr
2017-11-13 14:53:28 -05:00
Tobias Hartmann
b0c9129d6c 8190797: OSR compilation fails with "assert(__the_thread__->can_call_java()) failed: can not load classes with compiler thread"
Bail out with a meaningful error message in case we cannot throw a Java exception.

Reviewed-by: kvn, dholmes
2017-11-10 13:10:54 +01:00
Roland Westrelin
85d2a057a4 8186125: "DU iteration must converge quickly" assert in split if with unsafe accesses
Added missing checks for Opaque4Node in split-if code

Reviewed-by: kvn
2017-11-09 12:43:13 -08:00