Vladimir Ivanov
d60a09e9c5
8072008: Emit direct call instead of linkTo* for recursive indy/MH.invoke* calls
...
Reviewed-by: jrose, dlong, aph, forax
2015-12-04 23:46:19 +03:00
Andreas Eriksson
c64b2175e7
6869327: Add new C2 flag to keep safepoints in counted loops
...
Reviewed-by: kvn, shade
2015-12-04 14:06:38 +01:00
Christian Thalinger
a676faba28
8144529: [JVMCI] compiler/jvmci/errors/TestInvalidCompilationResult.java fails to compile after JDK-8143730
...
Reviewed-by: kvn
2015-12-02 14:59:57 -10:00
Andrew Haley
87662ee432
8144028: Use AArch64 bit-test instructions in C2
...
Reviewed-by: kvn
2015-11-25 18:13:13 +00:00
Nils Eliasson
2a7b97807e
Merge
2015-12-01 19:18:56 +01:00
Jesper Wilhelmsson
c7a51854d9
Merge
2015-11-30 19:38:51 +01:00
Christian Thalinger
875865b60c
Merge
2015-11-26 02:09:46 +01:00
Pavel Punegov
8f2fb74418
8143308: Add inline checks and tests
...
Fix inlining state creation
Reviewed-by: twisti
2015-11-26 03:05:19 +03:00
Tatiana Pivovarova
c17490ef7b
8144053: [TESTBUG] CompilerToVM::getStackTraceElementTest : unexpected line number for abstract or native method (assert failed: 0 < -1)
...
Reviewed-by: iignatyev, twisti
2015-11-25 20:30:28 +03:00
Dmitrij Pochepko
ad8dfcdf38
8139384: [TESTBUG] JVMCI test fails with java.lang.RuntimeException: a 100_000 times invoked method should be mature
...
A test was redesigned to track xcomp and tiered states
Reviewed-by: twisti
2015-11-24 22:59:50 +03:00
Pavel Punegov
5e051287af
8142967: [TESTBUG] Compiler control tests get NullPointerException
...
Fix incoorect build jtreg tags
Reviewed-by: iignatyev, neliasso
2015-11-24 21:03:39 +03:00
Pavel Punegov
0f008d2194
8142385: [Testbug] RandomCommandsTest fails with error: Could not parse method pattern
...
Fix CompileCommand output processing
Reviewed-by: kvn, iignatyev, neliasso
2015-11-24 20:58:53 +03:00
Pavel Punegov
06c9ee5a1c
8138993: JEP-JDK-8046155: Test task: add check for Compiler.directives_print diagnostic command
...
Test Compiler.directive_print command
Reviewed-by: iignatyev, neliasso
2015-11-24 20:55:46 +03:00
Pavel Punegov
faa5a2381c
8066156: JEP-JDK-8046155: Test task: stress by dcmd
...
Stress dcmd tests that add directives
Reviewed-by: iignatyev, neliasso
2015-11-24 20:52:15 +03:00
Ioi Lam
ce1bdba7c7
8145620
: Disable compiler/floatingpoint/ModNaN.java
...
Reviewed-by: dholmes, coleenp
2015-12-16 19:30:10 -08:00
Pavel Punegov
38c7096e4e
8066154: JEP-JDK-8046155: Test task: huge directive file
...
Stress tests for directive parser
Reviewed-by: iignatyev, neliasso
2015-11-24 16:58:20 +03:00
Tatiana Pivovarova
98bc340162
8138815: improve tests CompilerToVM::getStackTraceElement
...
Reviewed-by: kvn
2015-11-16 19:21:35 +03:00
Ahmed Khawaja
e28d9ba105
8143012: CRC32 Intrinsics support on SPARC
...
Reviewed-by: kvn, roland
2015-11-20 08:29:10 -08:00
Volker Simonis
350b04eab2
8141551: C2 can not handle returns with inccompatible interface arrays
...
Reviewed-by: kvn
2015-11-16 14:19:10 +01:00
Gerard Ziemski
a138de1354
8141706: [TESTBUG] Update tests failing due to changed behavior
...
Add UnlockDiagnosticVMOptions as appropriate.
Reviewed-by: kvn, dholmes
2015-11-20 11:57:33 -06:00
Tobias Hartmann
039050a9f7
8142303: C2 compilation fails with "bad AD file"
...
Move range checks into intrinsics for String methods.
Reviewed-by: kvn, aph
2015-11-27 09:36:46 +01:00
Goetz Lindenmaier
dd76bcc4c2
8134579: [TESTBUG] Some bmi tests fail if can_access_local_variables is on
...
Others fail because of uncommon trap. Also fix test file names.
Reviewed-by: vlivanov
2015-09-18 13:41:24 +02:00
Roland Westrelin
c18a26c573
8142386: Octane crashes with assert(is_Load())
...
Unsafe access to an array is wrongly marked as mismatched
Reviewed-by: vlivanov, thartmann
2015-11-17 12:00:16 +01:00
Nils Eliasson
36d1144c83
8143059: TestUnsafeUnalignedMismatchedAccesses doens't build after 8139891
...
Use new Unsafe import path
Reviewed-by: roland, thartmann, shade
2015-11-16 20:57:49 +01:00
Nils Eliasson
c2892b5dce
Merge
2015-11-16 20:56:18 +01:00
Hui Shi
854b8d1ff1
8139758: [REDO] Elide more final field's write memory barrier with escape analysis result
...
Membar for all final field initializations eliminated if possible
Reviewed-by: roland, vlivanov
2015-11-16 16:14:15 +01:00
Nils Eliasson
2f9e32256d
Merge
2015-11-13 13:31:48 +01:00
Roland Schatz
eee22b283d
8142387: Various JVMCI tests fail on unexpected exception
...
Reviewed-by: iignatyev, twisti
2015-11-12 13:30:35 +01:00
Joseph Provino
539395ffbf
Merge
2015-11-11 23:47:41 +00:00
Tatiana Pivovarova
163e0435dc
8139388: [TESTBUG] JVMCI test failed with RuntimeException profiling info wasn't changed after 100 invocations (assert failed: BaseProfilingInfo<> != BaseProfilingInfo<>)
...
Reviewed-by: twisti
2015-11-10 21:09:49 +03:00
Tatiana Pivovarova
e0d743ff05
8138810: rework tests for CompilerToVM::allocateCompiledId
...
Reviewed-by: twisti
2015-11-11 15:04:15 +03:00
Aleksey Shipilev
ac09d8a135
8140650: Method::is_accessor should cover getters and setters for all types
...
Reviewed-by: vlivanov, coleenp, sgehwolf
2015-11-11 01:27:36 +03:00
Vladimir Kozlov
6ed8c23581
8141624: Limit calculation of pre loop during super word optimization is wrong
...
Reviewed-by: vlivanov, kvn
2015-11-10 21:36:35 -08:00
Nils Eliasson
3307d0f163
Merge
2015-11-06 11:34:03 +01:00
Jesper Wilhelmsson
1a5787d42e
Merge
2015-11-05 19:31:57 +01:00
Christian Thalinger
a38ea495d6
8139170: JVMCI refresh
...
Reviewed-by: kvn
2015-11-04 07:23:23 -10:00
Pavel Punegov
b03077878d
8141129: 3 compiler control tests fail on product builds
...
UnlockDiagnosticVMOptions should be placed before the PrintAssembly
Reviewed-by: kvn
2015-11-03 18:42:40 +03:00
Tatiana Pivovarova
25bd94edfe
8138809: improve tests for CompilerToVM::hasCompiledCodeForOSR
...
Reviewed-by: kvn
2015-11-03 20:12:47 +03:00
Tobias Hartmann
7af927f9c1
8141132: JEP 254: Compact Strings
...
Adopt a more space-efficient internal representation for strings.
Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Vivek Deshpande <vivek.r.deshpande@intel.com>
Co-authored-by: Charlie Hunt <charlie.hunt@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Xueming Shen <xueming.shen@oracle.com>
Co-authored-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Reviewed-by: alanb, bdelsart, coleenp, iklam, jiangli, jrose, kevinw, naoto, pliden, roland, smarks, twisti
2015-11-03 09:41:03 +01:00
Andrew Haley
4e24e2cc6c
8079459: JCK test api/java_nio/ByteBuffer/index.html#GetPutXXX start failing after JDK-8026049
...
NextPutIndex used where nextGetIndex is correct.
Reviewed-by: alanb
2015-11-02 12:34:27 +00:00
Pavel Punegov
d64b0e82b2
8140776: CompilerControl: Remove UTF-16 from the tests
...
Remove UTF-16 from the generation until the failure reason isn't found
Reviewed-by: iignatyev
2015-10-29 21:31:47 +03:00
Igor Ignatyev
7a6c42b823
Merge
2015-10-29 10:56:58 +00:00
Zoltan Majo
c04398f782
8138651: -XX:DisableIntrinsic matches intrinsics overly eagerly
...
Improve parsing of DisableIntrinsic flag.
Reviewed-by: kvn, shade, neliasso
2015-10-29 09:24:00 +01:00
Pavel Punegov
9290f65010
8140668: Quarantine RandomValidCommandsTest
...
8140669: Quarantine ClearDirectivesFileStackTest
Quarantine two tests
Reviewed-by: iignatyev, neliasso, kvn
2015-10-29 01:16:56 +03:00
Gerard Ziemski
684ae3fa6e
8140539: compiler/membars/DekkerTest.java fails with -XX:CICompilerCount=1
...
Add back "-XX:+IgnoreUnrecognizedVMOptions" that was removed in a prototype.
Reviewed-by: dcubed, ddmitriev
2015-10-28 09:09:55 -05:00
Roland Westrelin
45b3ce816a
8140309: [REDO] failed: no mismatched stores, except on raw memory: StoreB StoreI
...
Mismatched stores on same slice possible with Unsafe.Put*Unaligned methods
Reviewed-by: kvn, thartmann
2015-10-28 10:20:33 +01:00
Dmitrij Pochepko
8d1f664989
8141552: [TESTBUG] compiler/jvmci/events/JvmciNotifyInstallEventTest failed after jvmci refresh
...
Fixed test bug, which used same CompilationResult object instance in 2 installCode calls
Reviewed-by: iignatyev, twisti
2015-11-06 15:07:00 +03:00
Dmitrij Pochepko
38339b3fe9
8138689: use package for /compiler/whitebox common classes
...
Moved CompilerWhiteBoxTest to package, updating tests accordingly
Reviewed-by: iignatyev
2015-11-06 14:54:02 +03:00
Roland Schatz
26f02e4686
8139589: [JVMCI] throw exceptions in faulty code installation operations
...
Reviewed-by: twisti
2015-11-06 10:06:51 -10:00
Tobias Hartmann
7e827560be
Merge
2015-11-06 08:45:13 +00:00
Tobias Hartmann
af2e00ae90
8140574: C2 must re-execute checks after deoptimizing from merged uncommon traps
...
Before merging uncommon traps we have to check for proper bci domination and compatible JVMStates to guarantee correct re-execution of the checks.
Reviewed-by: kvn, roland
2015-11-06 09:36:47 +01:00
Dmitrij Pochepko
df5a5904ce
8141331: Test hotspot/compiler/oracle/MethodMatcher.java fails with NPE
...
Reviewed-by: iignatyev
2015-11-04 00:59:44 +03:00
Dean Long
206767c0a2
Merge
2015-10-27 01:45:01 -04:00
Igor Ignatyev
8cb3dad077
Merge
2015-10-28 16:01:45 +00:00
Zoltan Majo
d8c5daffb0
8139907: compiler/intrinsics/montgomerymultiply/MontgomeryMultiplyTest.java fails with timeout
...
Change MontgomeryMultiplyTest.java test to execute only on platforms on which the tested intrinsics are available.
Reviewed-by: kvn, neliasso
2015-10-28 15:15:59 +01:00
Pavel Punegov
1c3f45d213
8066158: JEP-JDK-8046155: Test task: directive parser
...
Check directive file parser with correct and incorrect files
Reviewed-by: kvn
2015-10-28 16:38:30 +03:00
Pavel Punegov
c95fc22507
8140453: compiler control test failed with RuntimeException: CompileCommand: nonexistent missing
...
Replace incorrect check for validity of method pattern with full command check
Reviewed-by: kvn
2015-10-28 16:26:42 +03:00
Pavel Punegov
2abe5caf98
8140350: compiler control tests fail with compiled: true, but should: false on required level: 1
...
Replace isMethodCompiled with isMethodCompilable with particular level
Reviewed-by: kvn
2015-10-28 16:00:54 +03:00
Dean Long
374baee57f
Merge
2015-10-21 18:34:36 -04:00
Dean Long
42c3dcab55
8140267: assert(is_native_ptr || alias_type->adr_type() == TypeOopPtr::BOTTOM || alias_type->field() != __null || alias_type->element() != __null) failed: field, array element or unknown
...
Back out 8136473
Reviewed-by: twisti
2015-10-21 18:05:45 -04:00
Nils Eliasson
3ee545ab1d
8140240: Missing test files in CompilerControl tests
...
Add missing files
Reviewed-by: kvn, neliasso
2015-10-21 19:31:23 +02:00
Pavel Punegov
169541f4f9
8066166: JEP-JDK-8046155: Test task: dcmd tests
...
Tests for diagnostic command in CompilerControl
Reviewed-by: kvn
2015-10-20 21:12:25 +03:00
Pavel Punegov
0ea5332014
8066153: JEP-JDK-8046155: Test task: cover existing
...
Tests for CompilerCommand and CompilerControl's directives
Reviewed-by: kvn
2015-10-20 21:09:57 +03:00
Nils Eliasson
5a5faf94bf
8137167: JEP165: Compiler Control: Implementation task
...
Compiler Control JEP
Reviewed-by: roland, twisti, zmajo, simonis
2015-10-20 18:07:28 +02:00
Alejandro Murillo
cfbb592424
Merge
2015-10-19 12:30:17 -07:00
Roland Westrelin
096fa934a8
8136473: failed: no mismatched stores, except on raw memory: StoreB StoreI
...
Mismatched stores on same slice possible with Unsafe.Put*Unaligned methods
Reviewed-by: kvn, thartmann
2015-10-16 16:53:02 +02:00
Igor Ignatyev
c1408bb0c8
8139707: [TESTBUG] Quarantine unstable compiler/jvmci tests
...
Reviewed-by: twisti
2015-10-16 02:05:54 +03:00
Konstantin Shefov
a4cb6b3eb4
8072369: [TESTBUG] Remove potentially insecure class cast in some hotspot tests
...
Reviewed-by: twisti, kvn, iignatyev, tpivovarova
2015-10-15 18:00:00 +03:00
Dmitrij Pochepko
72de147944
8139438: [TESTBUG] JVMCI test fails with RuntimeException: Has no virtual object before materialization
...
Reviewed-by: iignatyev, twisti
2015-10-15 02:46:51 +03:00
Tatiana Pivovarova
d3ad64d9d6
8139375: [TESTBUG] compiler/jvmci/SecurityRestrictionsTest checks are too tight
...
Reviewed-by: twisti, iignatyev
2015-10-15 01:58:28 +03:00
Chris Hegarty
ca4787d77b
8139891: Prepare Unsafe for true encapsulation
...
Reviewed-by: alanb, dholmes, jrose, psandoz, twisti
2015-10-27 14:18:56 +00:00
Igor Ignatyev
815be268ee
8139376: [TESTBUG] ExecuteInstalledCodeTest should be run only on amd64 and sparcv9
...
Reviewed-by: twisti, kvn
2015-10-13 16:21:25 +03:00
Gerard Ziemski
f84561609b
8129855: "-XX:+IgnoreUnrecognizedVMOptions" hides out of range VM options
...
Implement strict spec rgarding how IgnoreUnrecognizedVMOptions works, supplied with the corresponding test case.
Reviewed-by: dcubed, ddmitriev
2015-10-23 11:17:23 -05:00
Christian Tornqvist
de06de1d7b
8140243: [TESTBUG] Exclude compiler/jvmci/compilerToVM/GetConstantPoolTest.java
...
Reviewed-by: gtriantafill, kvn
2015-10-21 09:47:23 -07:00
Chris Hegarty
1a83e59745
8138978: Examine usages of sun.misc.IOUtils
...
Reviewed-by: alanb, mullan, psandoz, rriggs, weijun
2015-10-09 14:21:33 +01:00
Christian Thalinger
16526e000e
8136421: JEP 243: Java-Level JVM Compiler Interface
...
Reviewed-by: ihse, alanb, roland, coleenp, iveresov, kvn, kbarrett
2015-10-08 12:49:30 -10:00
Tobias Hartmann
b9bf98abb2
8139048
: Quarantine compiler/startup/SmallCodeCacheStartup.java
...
Quarantine the test because it fails on JPRT for the CPU, CompactStrings and JVMCI repositories.
Reviewed-by: roland
2015-10-08 08:54:57 +02:00
Felix Yang
12cba200a3
8138583: aarch64: add support for vectorizing fabs/fneg
...
Reviewed-by: aph, roland
2015-09-30 04:35:39 -04:00
Ed Nevill
cb8cff7e6e
8135231: aarch64: add support for vectorizing double precision sqrt
...
Reviewed-by: roland, aph
2015-09-23 12:39:30 -04:00
Pavel Punegov
4af470b866
8066157: JEP-JDK-8046155: Test task: method matcher
...
MethodMatcher test and framework
Reviewed-by: iignatyev, neliasso
2015-09-24 20:13:04 +03:00
Roland Westrelin
92af9b015c
8136926: phi == NULL assert in PhaseIdealLoop::try_move_store_after_loop
...
Multiple phis on same slice are possible in a loop
Reviewed-by: kvn, mcberg
2015-09-22 15:25:34 +02:00
Zoltan Majo
a61a0cec2e
8136914: compiler/loopopts/superword/SumRedSqrt_Double.java times out
...
Change test to execute only on relevant (x86-based) platforms.
Reviewed-by: kvn, dlong
2015-09-22 13:42:09 +02:00
Tatiana Pivovarova
89e62a6274
8136693: add package statement 'compiler.testlibrary' to CompilerUtils
...
Reviewed-by: iignatyev
2015-09-19 12:03:36 +03:00
Nils Eliasson
5ca8983920
8135068: Extract method matchers from CompilerOracle
...
Ecapsulate code to enable reuse
Reviewed-by: roland, kvn
2015-09-18 10:11:11 +02:00
Roland Westrelin
c55d212196
8136461: PhaseIdealLoop::try_move_store_before_loop() may bypass early loop exit
...
PhaseIdealLoop::try_move_store_before_loop() needs to check for early loop exit before candidate Stores
Reviewed-by: kvn
2015-09-15 13:08:43 +02:00
Roland Westrelin
404fc5caa8
8134974: 8130847 broken with loop predicates
...
Pinned eliminated arraycopy loads in uncommon trap path for loop predicates may need to be moved
Reviewed-by: kvn
2015-09-08 19:19:08 +02:00
Roland Westrelin
8dd169a71f
8135069: C2 replaces range checks by unsigned comparison with -1
...
I < 0 || i > -1 wrongly folded as i >u -1
Reviewed-by: kvn
2015-09-11 16:56:56 +02:00
Igor Veresov
e88940fae6
Merge
2015-09-10 17:56:43 -07:00
Michael Berg
e75f5a5cde
8135028: support for vectorizing double precision sqrt
...
Reviewed-by: kvn, twisti
2015-09-09 10:34:17 -07:00
Jesper Wilhelmsson
1736e104a1
Merge
2015-09-08 16:10:37 +02:00
Ahmed Khawaja
d7b8032741
8132081: C2 support for Adler32 on SPARC
...
Add C2 instrinsic support for Adler32 checksum on SPARC.
Reviewed-by: kvn
2015-09-03 15:03:12 -07:00
Dmitry Samersoff
6ed285af0a
Merge
2015-08-31 21:46:33 +03:00
Roland Westrelin
ed9e8b9ff2
8134031: Incorrect JIT compilation of complex code with inlining and escape analysis
...
Bad rewiring of memory edges when we split unique types during EA
Reviewed-by: kvn
2015-08-31 17:20:08 +02:00
Roland Westrelin
7ef7c96fde
8134468: Lucene test failures with 32 bit JDK 9b78, Server compiler
...
Test that checks whether an array load falls into the range of an arraycopy is incorrect on 32bits
Reviewed-by: iveresov, kvn
2015-09-02 10:00:27 +02:00
Roland Westrelin
9dcbe322e0
8134288: compiler/runtime/6859338/Test6859338.java crashes in PhaseIdealLoop::try_move_store_after_loop
...
Store nodes may not have a control if used to update profiling
Reviewed-by: kvn
2015-08-26 12:43:15 +02:00
Roland Westrelin
8942ef410f
8134321: tools/pack200/Pack200Test.java crashes in the VM PIT jdk9 b79
...
Code that capture field values of eliminated allocation at a safepoint when there's an arraycopy behind a Phi is broken
Reviewed-by: kvn
2015-08-26 09:49:37 +02:00
Gerard Ziemski
e085f49adb
8134239: compiler/arguments/CheckCICompilerCount.java still fails
...
Compiler team updated the test by adding a new test case, but due to merging timing it was still using the old constraint error message format, which needed updating
Reviewed-by: ctornqvi, hseigel
2015-08-24 16:17:15 -05:00
Roland Westrelin
a9e232a8ef
Merge
2015-08-21 09:12:42 +02:00
Roland Westrelin
33b2496286
Merge
2015-08-20 09:31:28 +02:00
Roland Westrelin
b7b1b2778c
8131969: jit/FloatingPoint/gen_math/Loops05 assert(2 <= size && size <= 16) failed: update low bits table
...
Assert in register allocation code when vector Phi for a loop is processed because code assumes all inputs already processed
Reviewed-by: kvn
2015-08-18 16:10:34 +02:00