Commit Graph

474 Commits

Author SHA1 Message Date
Christian Tornqvist ebc77ca331 8077608: [TESTBUG] Enable Hotspot jtreg tests to run in agentvm mode
8180904: Hotspot tests running with -agentvm failing due to classpath

Add -cp System.getProperty("java.class.path") to ProcessBuilder arguments.

Reviewed-by: sla, gtriantafill
2019-03-11 15:50:26 +00:00
Filipp Zhinkin 9dde00dda6 8068269: RTM tests that assert on non-zero lock statistics are too strict in RTMTotalCountIncrRate > 1 cases
Reviewed-by: kvn, iignatyev
2015-01-14 09:53:36 +03:00
Roland Westrelin dc3de9e422 8214189: test/hotspot/jtreg/compiler/intrinsics/mathexact/MulExactLConstantTest.java fails on Windows x64 when run with -XX:-TieredCompilation
Reviewed-by: kvn
2018-11-26 17:35:35 +01:00
Roland Westrelin cb1adea9b3 8213419: C2 may hang in MulLNode::Ideal()/MulINode::Ideal() with gcc 8.2.1
Reviewed-by: kvn, dlong, aph
2019-02-06 17:32:25 +01:00
Roland Westrelin 6372e24bba 8209639: assert failure in coalesce.cpp: attempted to spill a non-spillable item
Reviewed-by: neliasso, kvn
2018-10-24 10:42:54 +02:00
Tobias Hartmann 02977a0f26 8172850: Anti-dependency on membar causes crash in register allocator due to invalid instruction scheduling
Regression test and additional asserts. The problem is fixed by 8087341.

Reviewed-by: kvn
2018-10-15 11:00:27 +02:00
David Buck 2bfbbed6f0 8155635: C2: Mixed unsafe accesses break alias analysis
Reviewed-by: kvn
2018-10-22 05:26:38 -04:00
Aleksei Efimov 52fed408b2 Merge 2018-10-15 14:58:52 +01:00
Igor Ignatyev 1c3d0bbc0a 8073159: improve Test6857159.java
Reviewed-by: kvn
2018-10-14 20:44:38 -04:00
Albert Noll 79d4d536f8 8068440: Test6857159.java times out
Replace shell script with Java-only code

Reviewed-by: kvn, iignatyev
2018-10-14 20:31:03 -04:00
Aleksei Efimov 76621c92c2 Merge 2018-08-03 19:08:52 +01:00
Vaibhav Choudhary 0ca0fd1514 8196663: [TESTBUG] test/compiler/loopopts/TestCMovSplitThruPhi.java fails on 32 bit Java
Reviewed-by: kvn
2018-02-06 22:11:51 -08:00
Abhijit Saha f52e0bca3d Merge 2018-01-26 10:39:27 -08:00
Roland Westrelin 8f26c07b53 8187822: C2 conditonal move optimization might create broken graph
Reviewed-by: kvn
2017-11-08 23:32:03 -05:00
David Buck 939d381f96 8204966: [TESTBUG] hotspot/test/compiler/whitebox/IsMethodCompilableTest.java test fails with -XX:CompileThreshold=1
Enforce lower bound on number of loop iterations used to trigger OSR

Reviewed-by: kvn, iignatyev
2018-08-07 11:55:44 -04:00
Roland Westrelin dbdc162e40 8038636: speculative traps break when classes are redefined
Remove speculative traps that point to methods that are redefined

Reviewed-by: kvn, twisti
2014-04-08 09:51:25 +02:00
David Buck d4f26304e5 8166742: SIGFPE in C2 Loop IV elimination
Reviewed-by: kvn
2017-09-07 09:21:05 -04:00
Andreas Woess ba76889672 8172751: OSR compilation at unreachable bci causes C1 crash
Bailout if OSR entry is unreachable.

Reviewed-by: thartmann
2017-08-21 05:20:03 -04:00
Stefan Anzinger 863ee624a2 8073670: TypeF::eq and TypeD::eq do not handle NaNs correctly
Change TypeF:eq and TypeD:eq to compare NaN values using a bitwise comparison.

Reviewed-by: kvn
2017-08-11 03:30:28 -04:00
Tobias Hartmann 12440a31ad 8184271: Time related C1 intrinsics produce inconsistent results when floating around
C1 intrinsics for System.nanoTime(), System.currentTimeMillis() and JVM.counterTime() should be pinned.

Reviewed-by: kvn, vlivanov, iveresov
2017-08-10 12:08:50 +05:30
David Buck 1af2facc1f 8178047: Aliasing problem with raw memory accesses
Require equal bases when unaliasing offsets for raw accesses

Reviewed-by: thartmann, kvn
2017-07-25 10:10:41 -04:00
Tatiana Pivovarova 1b02cb6e02 8066250: compiler/dependencies/MonomorphicObjectCall/TestMonomorphicObjectCall.java fails product
Reviewed-by: kvn, thartmann
2014-12-08 18:21:02 +03:00
Vladimir Kempik 0847c8a257 8173373: C1: NPE is thrown instead of LinkageError when accessing inaccessible field on NULL receiver
Deoptimize if receiver null check of unresolved field access fails to throw NoClassDefFoundError instead of NPE.

Reviewed-by: vlivanov
2017-04-11 19:17:58 +03:00
Tobias Hartmann c6db213e6e 8177095: Range check dependent CastII/ConvI2L is prematurely eliminated
Disabled narrowing of range check dependent CastIIs (either through the CastII(AddI) optimization or through CastIINode::Ideal).

Reviewed-by: vlivanov, kvn
2017-03-29 09:20:08 +02:00
Roland Westrelin 547f2a3b65 8175097: [TESTBUG] 8174164 fix missed the test
Reviewed-by: kvn
2017-02-16 15:14:44 -08:00
Aleksey Shipilev 6802bab56f 8175887: C1 value numbering handling of Unsafe.get*Volatile is incorrect
Reviewed-by: vlivanov
2017-03-08 14:22:52 +01:00
David Buck 9000d071e7 8164508: unexpected profiling mismatch in c1 generated code
Made 8027631 first arg skip applicable to not inlined virtual callsite too.

Reviewed-by: kvn, jcm
2016-12-02 10:39:04 +00:00
Shafi Ahmad 832c943cd1 8162101: C2: Handle "wide" aliases for unsafe accesses
Reviewed-by: kvn, thartmann
2016-11-23 23:15:05 -08:00
Shafi Ahmad 738bda00e1 8155781: C2: opaque unsafe access triggers an assert
Reviewed-by: kvn, thartmann
2016-11-23 23:10:03 -08:00
Shafi Ahmad 6c59b93904 8134918: C2: Type speculation produces mismatched unsafe accesses
Reviewed-by: kvn, thartmann
2016-11-23 23:06:39 -08:00
David Buck 34992e8d23 8158639: C2 compilation fails with SIGSEGV
Fixed the jvms for callsite traps based on declared signature.

Reviewed-by: jcm, coleenp, vlivanov
2016-11-17 16:06:56 +00:00
Abhijit Saha e1bb4aa412 Merge 2016-09-23 23:07:57 -07:00
Abhijit Saha 3b3bc2d6d1 Merge 2016-07-20 15:12:01 -07:00
Zoltan Majo 40046165d1 8160591: Improve internal array handling
Co-authored-by: Xiang Yuan <xiang.yuan@linaro.org>
Reviewed-by: kvn
2016-07-01 09:33:34 +02:00
Abhijit Saha f326a218e7 Merge 2016-06-29 11:53:58 -07:00
Shafi Ahmad 0d8eb65d0a 8156836: SIGSEGV: Test test/compiler/jsr292/VMAnonymousClasses.java fails with JTREG 4.2 b02
Need to specify /othervm in annotation section if jvm command line option -Xbatch is specified.

Reviewed-by: kvn
2016-06-27 11:27:57 +00:00
Tobias Hartmann 90f05443e7 8160122: Backport of JDK-8159244 used wrong version of the JDK 9 fix
Correct backport of 8159244.

Reviewed-by: kvn
2016-06-27 08:10:51 +02:00
Boris Molodenkov 60b30b072e 8151722: TESTBUG: New test compiler/native/TestDirtyInt.sh should be modified
Fixed string comparison and indentation

Reviewed-by: kvn
2016-06-24 22:09:08 +03:00
Dmitrij Pochepko cfe7d16002 8162603: Unrecognized VM option 'UseCountedLoopSafepoints'
Reviewed-by: kvn
2016-07-28 16:09:31 +03:00
Roland Westrelin 00c5ef5b27 8161147: jvm crashes when -XX:+UseCountedLoopSafepoints is enabled
Don't convert loop with safepoint on the backedge to Counted loop

Reviewed-by: kvn
2016-07-25 14:31:42 -07:00
Tobias Hartmann 3e70897637 8159244: Partially initialized string object created by C2's string concat optimization may escape
Emit release barrier after String creation to prevent partially initialized object from escaping.

Reviewed-by: kvn
2016-06-20 08:04:04 +02:00
Abhijit Saha 7c3870e0a1 Merge 2016-06-15 14:21:31 -07:00
Cheleswer Sahu dbef8b42d5 8063086: Math.pow yields different results upon repeated calls
C2 treats x^2 as a special case and computes x * x while the interpreter and c1 don't have special case code for X^2.

Reviewed-by: kvn
2016-05-24 17:49:06 +05:30
Tobias Hartmann 87cd3c3999 8159244: Partially initialized string object created by C2's string concat optimization may escape
Emit release barrier after String creation to prevent partially initialized object from escaping.

Reviewed-by: kvn
2016-06-20 08:04:04 +02:00
Shafi Ahmad 2c435c2ad6 8141551: C2 can not handle returns with inccompatible interface arrays
Reviewed-by: kvn
2016-04-21 21:53:15 +05:30
Abhijit Saha 90ff9290f0 Merge 2016-03-31 14:23:12 -07:00
Vladimir Kempik 9ba3601252 8152098: Fix 8151522 caused test compiler/intrinsics/squaretolen/TestSquareToLen.java to fail
Reviewed-by: kvn
2016-03-18 17:23:07 +03:00
Vladimir Kempik d0724d1d2b 8152098: Fix 8151522 caused test compiler/intrinsics/squaretolen/TestSquareToLen.java to fail
Reviewed-by: kvn
2016-03-18 17:23:07 +03:00
Vladimir Kempik 79b5a05b5f 8151522: Disable 8130150 and 8081778 intrinsics by default
Reviewed-by: kvn
2016-03-09 19:51:23 +03:00
Vladimir Kempik 5ecfaab343 8151522: Disable 8130150 and 8081778 intrinsics by default
Reviewed-by: kvn
2016-03-09 19:51:23 +03:00