Commit Graph

1087 Commits

Author SHA1 Message Date
Aleksey Shipilev
a8fb392baf 8155739: [TESTBUG] VarHandles/Unsafe tests for weakCAS should allow spurious failures
Reviewed-by: psandoz, vlivanov, simonis
2016-05-04 17:17:10 +03:00
Tom Rodriguez
38df4e48a4 8155771: [JVMCI] expose JVM_ACC_IS_CLONEABLE_FAST
Reviewed-by: twisti
2016-05-03 12:15:06 -07:00
Zoltan Majo
528bf589fd 8155653: TestVectorUnalignedOffset.java not pushed with 8155612
Add missing test.

Reviewed-by: aph, adinn
2016-04-29 14:32:19 +02:00
Dmitry Samersoff
85deb5aa7e 8154258: [TESTBUG] Various serviceability tests fail compilation
Replace sun.misc.Unsafe with jdk.internal.misc.Unsafe

Reviewed-by: chegar, kvn
2016-05-01 12:47:00 +03:00
Max Ockner
da0fe9d476 8154110: Update class* and safepoint* logging subsystems
Refactored logging tags in class and safepoint subsystems.

Reviewed-by: coleenp, rehn, hseigel
2016-04-29 22:40:51 -04:00
Vladimir Ivanov
72747f47fd Merge 2016-04-29 02:13:40 +03:00
Tom Rodriguez
593cf3fb16 8152903: [JVMCI] CompilerToVM::resolveMethod should correctly handle private methods in interfaces
Reviewed-by: iveresov
2016-04-27 16:20:49 -07:00
Alexander Kulyakhtin
7cf6a15162 8153992: Some hotspot tests fail on compact2 due to an unnecessary test library dependency
Removing unnecessary dependency on java.management from the ProcessTool.getProcessId()

Reviewed-by: mchung
2016-04-26 13:22:32 +03:00
Jan Civlin
f2e9b827d6 8154495: SHA256 AVX2 intrinsic (when no supports_sha() available)
Reviewed-by: kvn
2016-04-26 21:54:21 -07:00
Rickard Bäckman
b853eb7f5c 8151956: Support non-continuous CodeBlobs in HotSpot
Reviewed-by: iveresov, thartmann, simonis
2016-04-26 10:28:51 +02:00
Vladimir Ivanov
67ff4391ec 8154172: C1: NPE is thrown instead of linkage error when invoking nonexistent method
Reviewed-by: kvn
2016-04-25 21:25:22 +03:00
Vladimir Ivanov
e17b342749 8134918: C2: Type speculation produces mismatched unsafe accesses
Reviewed-by: kvn
2016-04-25 18:36:27 +03:00
Tobias Hartmann
3a358f4cff 8086057: Crash with "modified node is not on IGVN._worklist" when running with -XX:-SplitIfBlocks
Pre-loop Opaque1 node 'pre_opaq' should be put on the IGVN worklist after modification.

Reviewed-by: kvn
2016-04-25 10:53:42 +02:00
Tobias Hartmann
ebc384160f 8154763: Crash with "assert(RangeCheckElimination)" if RangeCheckElimination is disabled
Disable multiversioning if range check elimination is turned off.

Reviewed-by: mcberg, kvn
2016-04-25 10:51:44 +02:00
Alejandro Murillo
f9426642c6 Merge 2016-04-22 01:04:00 -07:00
Tobias Hartmann
257c8ccafc 8086068: VM crashes with "-Xint -XX:+UseCompiler" options
Prevent incompatible compiler flag combination.

Reviewed-by: zmajo, kvn, ddmitriev
2016-04-21 10:52:00 +02:00
Roland Westrelin
794bbd1a36 8154537: AArch64: some integer rotate instructions are never emitted
Reviewed-by: aph, adinn, kvn
2016-04-19 19:52:39 -07:00
Chris Hegarty
00f6a09302 8137058: Clear out all non-Critical APIs from sun.reflect
Reviewed-by: alanb, jfranck, mchung
2016-04-15 16:19:15 +01:00
Nils Eliasson
90d0e9a566 8153013: BlockingCompilation test times out
Task has no invocation count and get stale at once

Reviewed-by: kvn, iveresov, twisti
2016-04-13 14:48:22 +02:00
Nils Eliasson
c8593eff81 8154151: VM crashes with assert "Ensure we don't compile before compilebroker init"
Drop compiles submitted with complevel_none

Reviewed-by: kvn
2016-04-18 11:30:10 +02:00
Alejandro Murillo
45b6e4a1ca Merge 2016-04-11 14:21:25 -07:00
Chris Hegarty
b7075c2db9 8153737: Unsupported Module
Reviewed-by: alanb, mchung, psandoz
2016-04-09 23:03:39 +01:00
Bharadwaj Yadavalli
cecf2d83d5 Merge 2016-04-08 12:36:27 -04:00
Bharadwaj Yadavalli
1e6ac67ecf 8153816: [BACKOUT] Make intrinsics flags diagnostic
Backout fix for 8145348

Reviewed-by: kvn, jwilhelm
2016-04-08 01:00:10 -04:00
Daniel D. Daugherty
4397e85e26 Merge 2016-04-07 09:47:48 -07:00
Pavel Punegov
3a407ecde7 Merge 2016-04-14 15:28:46 +02:00
Tobias Hartmann
63403a410e 8154073: Several compiler tests fail when are executed with C1 only
Added missing flag checks to the tests and Whitebox API.

Reviewed-by: kvn
2016-04-14 08:32:39 +02:00
Pavel Punegov
82dc0d42a6 8140354: Unquarantine tests that failed with OutOfMemoryError
Unquarantine CompilerControl tests

Reviewed-by: iignatyev
2016-04-13 18:31:43 +03:00
Bharadwaj Yadavalli
b2ead5ac2d Merge 2016-04-12 14:17:42 -04:00
Nils Eliasson
a74ee72e1e 8153885: [TESTBUG] few regression tests failed after 8151880 changes
Test that uses compile() as missed in update

Reviewed-by: kvn
2016-04-12 11:29:08 +02:00
Vladimir Ivanov
7fc81004e3 8152590: C2: @Stable support doesn't always work w/ incremental inlining
Reviewed-by: kvn
2016-04-11 21:42:55 +03:00
Doug Simon
1131e05b66 8153439: do not install an empty SpeculationLog in an nmethod
Reviewed-by: iveresov, twisti
2016-04-07 08:57:26 -10:00
Nils Eliasson
c70e07ccbe 8151880: EnqueueMethodForCompilationTest.java still fails to compile method
Extract SimpleTestCaseHelper inner class

Reviewed-by: kvn
2016-04-06 14:48:45 +02:00
Zoltan Majo
86e696a816 Merge 2016-07-19 11:02:28 +02:00
Zoltan Majo
c7bc59b6cb 8161581: Quarantine compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestResolvedJavaType.java
Quarantine test.

Reviewed-by: goetz, thartmann
2016-07-18 15:53:56 +02:00
Aleksey Shipilev
b349843be4 8153265: [TESTBUG] compiler/whitebox/ForceNMethodSweepTest should not assume asserts are benign
Reviewed-by: twisti, ikrylov
2016-04-06 10:55:46 +03:00
Bharadwaj Yadavalli
e258fc4bc7 Merge 2016-04-05 15:39:35 -04:00
Tobias Hartmann
edee2ddca8 Merge 2016-04-05 10:11:07 +00:00
Jamsheed Mohammed C M
b26b78a4d4 8067247: Crash: assert(method_holder->data() == 0 ...) failed: a) MT-unsafe modification of inline cache
Made invoker LambdaForm instance & its compiled form lifetime tightly coupled.

Reviewed-by: vlivanov
2016-04-05 01:46:40 -07:00
Per Lidén
07299d4428 8152929: Remove UNSUPPORTED_GC_OPTION, use UNSUPPORTED_OPTION instead
Reviewed-by: brutisso, jmasa
2016-04-05 09:05:19 +02:00
Zoltan Majo
69d14c811b 8072422: Cleanup: Remove some unused flags/code in loop optimizations
Remove unused flags, change test using them.

Reviewed-by: kvn, twisti
2016-04-04 12:52:11 +02:00
Dmitrij Pochepko
05de4a3fe0 8138798: improve tests for HotSpotVMEventListener::notifyInstall
Reviewed-by: twisti
2016-04-01 16:56:49 +03:00
Zoltan Majo
526582022d 8153195: Quarantine compiler/gcbarriers/PreserveFPRegistersTest.java
Quarantine test.

Reviewed-by: thartmann
2016-03-31 16:09:29 +02:00
Tobias Hartmann
3aa353de7b 8136798: TestMonomorphicObjectCall.java fails with compilation error
Refactored test to work with Jake.

Reviewed-by: kvn, zmajo
2016-03-31 09:26:13 +02:00
Ivan Krylov
429b1c80a1 8147844: new method j.l.Runtime.onSpinWait() and the corresponding x86 hotspot instrinsic
Adds c1 & c2 x86 intrinsics for j.l.Runtime.onSpinWait() that utilize the PAUSE instruction

Co-authored-by: Yuri Gaevsky <ygaevsky@azul.com>
Reviewed-by: iveresov, kvn
2016-03-30 17:04:14 +02:00
Christian Thalinger
58c9c16e11 Merge 2016-03-29 22:39:17 +00:00
Igor Ignatyev
9723b912e9 8152636: TestHasNegatives.java fails after Jigsaw changes were integrated
Reviewed-by: kvn
2016-03-30 00:25:39 +03:00
Vladimir Ivanov
03d9887e1c 8152945: TestStableU* tests aren't Jigsaw-ready
Reviewed-by: kvn, thartmann
2016-03-29 21:33:22 +03:00
Vladimir Ivanov
79c80f1282 8152857: [TESTBUG] UnsafeGetConstantField.testUnsafeGetFieldUnaligned fails w/ -XX:-UseUnalignedAccesses in -Xcomp mode
Reviewed-by: kvn, thartmann
2016-03-29 21:33:16 +03:00
Rahul Raghavan
9acc5ad3ce 8145348: Make intrinsics flags diagnostic
Converted product or develop intrinsics flags to diagnostic.

Reviewed-by: kvn
2016-03-28 01:08:02 -07:00
Vladimir Ivanov
ee1caca2a6 8148175: C1: G1 barriers don't preserve FP registers
Reviewed-by: kvn
2016-03-28 13:49:34 +03:00
Vladimir Ivanov
661796fe3f 8152179: C2: Folding of unsigned loads is broken w/ @Stable
Reviewed-by: jrose, kvn
2016-03-28 13:49:34 +03:00
Aleksey Shipilev
0a8f970d76 Merge 2016-03-25 13:15:41 +00:00
Aleksey Shipilev
d8f23ea33b 8152698: Remove obsolete Unsafe.putOrdered{X} methods, usages, runtime and compiler support
Reviewed-by: kvn, psandoz
2016-03-25 15:34:30 +03:00
Konstantin Shefov
ec1e7dbde1 8152344: JVMCI test task: Unit tests for ConstantReflectionProvider
Reviewed-by: twisti, dpochepk, tpivovarova
2016-03-25 14:46:09 +03:00
Roland Schatz
49558c8d6e 8152634: generalize exception throwing routines in JVMCIRuntime
Reviewed-by: twisti
2016-03-25 12:43:23 +01:00
Zoltan Majo
720f99dec9 Merge 2016-03-24 16:21:18 +01:00
Zoltan Majo
c47b3aee01 8152640: Quarantine compiler/intrinsics/string/TestHasNegatives.java
Quarantine test

Reviewed-by: thartmann
2016-03-24 11:44:12 +01:00
Tobias Hartmann
ce350e07fa 8136458: Remove "marked for reclamation" nmethod state
Removed "marked for reclamation" nmethod state because only sweeper sets nmethods to zombie.

Reviewed-by: kvn, neliasso
2016-03-24 09:09:52 +01:00
Zoltan Majo
3edb7b95ba Merge 2016-03-23 15:01:42 +01:00
Alejandro Murillo
1bd14828a0 8152483: Fix a couple of tests that are being incorrectly run on C1 after jigsaw M3
Reviewed-by: ctornqvi, kvn
2016-03-22 18:41:09 -07:00
Chris Hegarty
9978f9b065 Merge 2016-03-22 17:04:25 +00:00
Chris Hegarty
5af2dcd643 Merge 2016-03-22 10:43:58 +00:00
Nils Eliasson
f058b201f6 8152169: LockCompilationTest.java fails due method present in the compiler queue
Too many compiles waiting, wait time not enough

Reviewed-by: twisti
2016-03-18 15:54:47 +01:00
Guy Delamarter
579f0ea8ec 8144693: Intrinsify StringCoding.hasNegatives() on SPARC
Implemented C2 instrinsic for StringCode.hasNegatives() on SPARC.

Reviewed-by: kvn, jrose, thartmann
2016-03-21 08:42:20 +01:00
Alan Bateman
f30fc1c88b 8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282

Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Christian Tornqvist <christian.tornqvist@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: George Triantafillou <george.triantafillou@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jiangli Zhou <jiangli.zhou@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: acorn, ccheung, coleenp, ctornqvi, dholmes, dsimms, gtriantafill, iklam, jiangli, mgronlun, mseledtsov, cjplummer, sspitsyn, stefank, twisti, hseigel, lfoltan, alanb, mchung, dfazunen
2016-03-17 19:04:01 +00:00
Nils Eliasson
338ff211b4 8152090: Code missing from JDK-8150054 causing many test failures
Add missing method

Reviewed-by: kvn
2016-03-17 21:55:55 +01:00
Nils Eliasson
a7d116c1f3 8150054: Make compilercontrol test ignore xcomp
Add -Xmixed and use jtreg driver

Reviewed-by: kvn
2016-03-16 10:45:43 +01:00
Tobias Hartmann
23a62fdfca 8150804: C2 Compilation fails with assert(_base >= OopPtr && _base <= AryPtr) failed: Not a Java pointer
Wait with removing casts from inputs in PhiNode::ideal() until after parsing for the type information to propagate.

Reviewed-by: kvn
2016-03-15 17:42:28 +01:00
Pavel Punegov
616744c4c9 8150955: RandomValidCommandsTest.java fails with UnsatisfiedLinkError: sun.hotspot.WhiteBox.registerNatives
Replace invalid command with a valid one

Reviewed-by: kvn
2016-03-15 16:23:31 +03:00
Nils Eliasson
a20ceb80f4 8151796: compiler/whitebox/BlockingCompilation.java fails due to method not compiled
Make test more robust

Reviewed-by: simonis
2016-03-15 11:17:22 +01:00
Vladimir Ivanov
6ea5772a9b 8143407: C1: @Stable array support
Reviewed-by: twisti
2016-03-14 12:35:52 +03:00
Nils Eliasson
e34f88b0a6 Merge 2016-03-11 21:02:09 +01:00
Doug Simon
b87feb324c 8151664: [JVMCI] add missing test in 8151266 integration
Reviewed-by: never, twisti
2016-03-10 14:06:21 -08:00
Nils Eliasson
b01a1a42e3 8066770: EnqueueMethodForCompilationTest.java fails to compile method
Make compiles blocking and always check queue

Reviewed-by: kvn
2016-03-09 21:20:43 +01:00
Alejandro Murillo
2da4580684 Merge 2016-03-05 20:46:42 -08:00
Daniel D. Daugherty
3a33180c01 8151348: quarantine compiler/codecache/jmx/PeakUsageTest.java in JDK9-dev
Reviewed-by: ctornqvi, amurillo
2016-03-05 19:22:57 -08:00
Christian Tornqvist
30bbb5ee4b 8151156: [TESTBUG] Integrate trivial Hotspot test changes from Jake before Jigsaw M3
Reviewed-by: hseigel, gtriantafill
2016-03-03 12:44:34 -08:00
Volker Simonis
173a62a8d6 8150646: Add support for blocking compiles though whitebox API
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Reviewed-by: kvn, ppunegov, simonis, neliasso
2016-03-03 16:21:16 +01:00
Vladimir Ivanov
c69ad2078e 8151157: Quarantine test/compiler/unsafe/UnsafeGetStableArrayElement.java
Reviewed-by: zmajo, thartmann
2016-03-03 16:46:58 +03:00
Vladimir Ivanov
68ce6b3b9f 8151020: [TESTBUG] UnsafeGetStableArrayElement::testL_* fail intermittently
Reviewed-by: zmajo, shade
2016-03-02 15:42:03 +03:00
Aleksey Shipilev
ff51364bf6 8151017: [TESTBUG] test/compiler/c1/CanonicalizeArrayLength does not work on product builds
Reviewed-by: thartmann, zmajo
2016-03-02 12:29:17 +03:00
Zoltan Majo
77c73b6d4f Merge 2016-03-07 09:34:29 +01:00
Aleksey Shipilev
548530cf08 8150465: Unsafe methods to produce uninitialized arrays
Reviewed-by: jrose, kvn, psandoz, aph, twisti, flar
2016-03-03 23:57:29 +03:00
Aleksey Shipilev
890f94d7e6 8150669: C1 intrinsic for Class.isPrimitive
Reviewed-by: twisti, vlivanov, redestad
2016-03-03 22:17:38 +03:00
Mikael Vidstedt
c40e7bc21f 8149159: Clean up Unsafe
Reviewed-by: jrose, kvn, stsmirno, chegar, aph, psandoz, redestad, twisti
2016-03-03 09:33:30 -08:00
Pavel Punegov
adde13cc80 Merge 2016-03-03 16:54:06 +01:00
Pavel Punegov
694727f144 8148563: compiler/compilercontrol/jcmd/StressAddMultiThreadedTest.java timesout
Decrease amount of directives and threads

Reviewed-by: neliasso
2016-03-01 20:17:27 +03:00
Vladimir Ivanov
bb51ea7a06 8150543: Mismatched access detection is inaccurate
Reviewed-by: kvn, shade
2016-02-29 23:46:55 +03:00
Vladimir Ivanov
a7d78599d7 8150436: Incorrect invocation mode when linkToInteface linker is eliminated
Reviewed-by: kvn, shade
2016-02-26 01:58:29 +03:00
Vladimir Ivanov
abebc2da5c 8150186: Folding mismatched accesses with @Stable is incorrect
Reviewed-by: kvn, jrose, shade
2016-02-26 01:58:26 +03:00
Aleksey Shipilev
4a8c4fc074 8150534: C1 compilation fails with "Constant field loads are folded during parsing"
Reviewed-by: vlivanov, thartmann
2016-02-25 15:10:16 +03:00
Nils Eliasson
e09bb29c2d 8148159: [TESTBUG] TestCompilerDirectivesCompatibility tests fails on non-tiered server VMs
Add whitebox for checking available compilers

Reviewed-by: kvn
2016-02-25 10:42:42 +01:00
Roland Westrelin
7c3120b3da Merge 2016-02-24 20:18:04 +00:00
Aleksey Shipilev
6e26b67678 8150514: C1 crashes in Canonicalizer::do_ArrayLength() after fix for JDK-8150102
Reviewed-by: thartmann, vlivanov
2016-02-24 18:43:51 +03:00
Aleksey Shipilev
0c43809cfe 8148146: Integrate new internal Unsafe entry points, and basic intrinsic support for VarHandles
Reviewed-by: psandoz, kvn, jrose, adinn, simonis, coleenp
2016-02-23 22:09:41 +03:00
Roland Westrelin
744d73a67f 8148353: [linux-sparc] Crash in libawt.so on Linux SPARC
Gcc expects clean 32 bit int in 64 bit register on function entry

Reviewed-by: kvn, dlong
2016-02-23 17:18:31 +01:00
Roland Westrelin
db36e29ab0 8149916: Test case for 8149797
Reviewed-by: kvn
2016-02-16 12:54:20 +01:00
Tobias Hartmann
8b42758800 Merge 2016-02-15 11:52:51 +01:00
Konstantin Shefov
719c07ec10 8141619: Develop new tests for JVMCI compilerToVM class' CP related methods
Reviewed-by: twisti, dpochepk
2016-02-20 11:49:45 +03:00
Konstantin Shefov
ac6fe07b05 8141618: Change JVMCI compilerToVM constant pool tests to support CP cache
Reviewed-by: twisti, dpochepk
2016-02-20 11:49:02 +03:00
Martin Doerr
de01af89d8 8149655: PPC64: Implement CompactString intrinsics
Reviewed-by: goetz, kvn
2016-02-19 11:09:59 +01:00
Vladimir Ivanov
4532f54300 7177745: JSR292: Many Callsite relinkages cause target method to always run in interpreter mode
Reviewed-by: jrose, kvn
2016-02-19 20:40:20 +03:00
Pavel Punegov
0e441f9177 8144621: CompilerControl: inline tests timeout with Xcomp
Restrict patterns that lead to timeout

Reviewed-by: kvn, neliasso
2016-02-17 17:48:56 +03:00
Jesper Wilhelmsson
c6d81e192d Merge 2016-02-11 21:07:38 +01:00
Tobias Hartmann
afca49ff29 8148752: Compiled StringBuilder code throws StringIndexOutOfBoundsException
Fixed handling of long/double MH arguments in GraphBuilder::try_method_handle_inline().

Reviewed-by: roland, shade, vlivanov, kvn, twisti
2016-02-10 07:54:26 +01:00
Roland Schatz
7cf2c51fa7 8148741: compiler/jvmci/code/SimpleDebugInfoTest.java fails in 'frame::sender_for_compiled_frame'
Reviewed-by: twisti
2016-02-08 18:52:03 +01:00
Tobias Hartmann
904898e762 8148564: compiler/intrinsics/string/TestStringIntrinsics2.java times out
Test should not run with -Xcomp because MaxInlineSize is large.

Reviewed-by: kvn, simonis
2016-02-12 12:18:44 +01:00
Jamsheed Mohammed
45bd62d1f1 8149123: [TESTBUG] compiler/loopopts/superword/SumRed* tests running on non-x86 platforms
Restricted test execution to supported archs.

Reviewed-by: kvn
2016-02-10 15:24:22 +01:00
Doug Simon
60a582e9be 8149019: remove redundant modifiers
Reviewed-by: twisti
2016-02-08 18:52:03 +01:00
Tom Rodriguez
7c15712c40 Merge 2016-02-08 12:13:56 -08:00
Tom Rodriguez
938471481b 8149076: [JVMCI] missing ResourceMark in JVMCIRuntime::initialize_HotSpotJVMCIRuntime
Reviewed-by: twisti, iignatyev
2016-02-05 12:27:02 -08:00
Pavel Punegov
fc58d951d2 8148864: Quarantine CompilerControl tests
Exclude tests affected by JDK-8148563 and JDK-8140354 from execution

Reviewed-by: kvn
2016-02-05 18:05:33 +03:00
Tobias Hartmann
4cce6f082e Merge 2016-02-05 15:38:21 +01:00
Tobias Hartmann
2bdb607d7d 8149109: [TESTBUG] TestRegisterRestoring.java fails with "VM option 'SafepointALot' is develop"
Added missing -XX:+IgnoreUnrecognizedVMOptions.

Reviewed-by: vlivanov
2016-02-05 12:43:57 +01:00
Tobias Hartmann
16f749ef45 8148751: [TESTBUG] compiler/whitebox/AllocationCodeBlobTest.java fails due to unexpected code cache allocation
Do all the measurements and then check the results to avoid unexpected code cache allocations.

Reviewed-by: vlivanov
2016-02-03 17:51:47 +01:00
Roland Westrelin
1462f0b038 8147645: get_ctrl_no_update() code is wrong
Array.fill intrinsification code doesn't mark replaced control as dead

Reviewed-by: kvn
2016-02-03 10:58:50 +01:00
Tobias Hartmann
694d16f4cc 8148490: RegisterSaver::restore_live_registers() fails to restore xmm registers on 32 bit
Fixed stack offsets for xmm register saving/restoring code on 32 bit.

Reviewed-by: kvn, mcberg
2016-02-03 09:09:56 +01:00
Doug Simon
56c2dccccf 8148981: remove ResolvedJavaType.getClassFilePath()
Reviewed-by: twisti
2016-02-03 12:16:44 +01:00
Roland Schatz
76b459d629 8146608: [JVMCI] DebugInfo Tests on DeoptimizeALot runs fails in assert(_pc == *pc_addr || pc == *pc_addr) frame::patch_pc() /frame_x86.cpp:285
Reviewed-by: twisti
2016-02-03 12:16:44 +01:00
Krystal Mo
415eda1274 8003585: strength reduce or eliminate range checks for power-of-two sized arrays
Change ((x & m) u<= m) to always true and ((x & (m - 1)) u< m) into (m > 0)

Reviewed-by: kvn, roland
2016-01-19 14:52:33 +01:00
Pavel Punegov
d26d6fa3ef 8144239: [TESTBUG] InlineCommandTest.java: unknown compiler level 0 for commpile ID: 651
Add Xbatch to make compilation block test thread.

Reviewed-by: kvn
2016-02-01 19:45:26 +03:00
Igor Ignatyev
ffbb39518c 8148012: get rid of slash-dot-dot in @library directives
Reviewed-by: dholmes, dfazunen, cjplummer
2016-01-29 03:11:16 +03:00
Christian Wimmer
b220252b74 8148202: move lookup of Java class and hub from ResolvedJavaType to ConstantReflectionProvider
Reviewed-by: twisti
2016-01-26 11:28:54 -10:00
Igor Ignatyev
3bebe35b7b 8148136: compile control tests have incorrect @build directives
Reviewed-by: kvn
2016-01-26 00:25:20 +03:00
Igor Ignatyev
972bf92ef7 8148161: quarantine compiler/loopopts/UseCountedLoopSafepoints.java
Reviewed-by: kvn
2016-01-26 00:25:20 +03:00
Tom Rodriguez
a3351a8233 8148101: [JVMCI] Make CallingConvention.Type extensible
Reviewed-by: twisti
2016-01-25 09:12:58 -08:00
Goetz Lindenmaier
4e99638d69 8147937: Adapt SAP copyrights to new company name
Reviewed-by: simonis, stuefe
2016-01-21 12:37:47 +01:00
Tom Rodriguez
4205407d83 8146424: runtime/ReservedStack/ReservedStackTest.java triggers: assert(thread->deopt_mark() == __null) failed: no stack overflow from deopt blob/uncommon trap
Reviewed-by: twisti
2016-01-22 11:11:06 -08:00
Tom Rodriguez
87d68c21c4 8147432: JVMCI should report bailouts in PrintCompilation output
Reviewed-by: kvn, twisti
2016-01-22 11:08:07 -08:00
Roland Schatz
0691fac50b 8146244: compiler/jvmci/code/DataPatchTest.java crashes: SIGSEGV in (getConstClass)getConstClass
Reviewed-by: twisti
2016-01-21 16:22:01 +01:00
Igor Ignatyev
025890379a 8141557: TestResolvedJavaMethod.java times out after 1000 ms
Reviewed-by: twisti
2016-01-21 22:23:22 +03:00
Pavel Punegov
157f8f1313 Merge 2016-01-21 15:07:42 +01:00
Pavel Punegov
b5e16518f4 8145800: [Testbug] CompilerControl: inline message differs for not inlined methods
Create callables outside the Internal subclasses

Reviewed-by: kvn
2016-01-20 20:26:33 +03:00
Roland Schatz
66b4fd463a 8147475: compiler/jvmci/code/SimpleDebugInfoTest.java fails in Assembler::locate_operand: ShouldNotReachHere()
Reviewed-by: kvn, twisti
2016-01-20 17:00:17 -10:00
Roland Schatz
5456fcf370 8147599: [JVMCI] simplify code installation interface
Reviewed-by: twisti
2016-01-20 14:22:46 +01:00
Volker Simonis
f3dca540d8 8145336: PPC64: fix string intrinsics after CompactStrings change
Reviewed-by: mdoerr, aph, kvn
2016-01-20 16:33:51 +01:00
Roland Westrelin
b6658d2b5f 8146999: hotspot/test/compiler/c2/8007294/Test8007294.java test nightly failure
Uncast() fails with CheckCastPP

Reviewed-by: kvn, thartmann
2016-01-18 21:34:28 +01:00
Tobias Hartmann
ca56200977 6675699: need comprehensive fix for unconstrained ConvI2L with narrowed type
Emit CastII to make narrow ConvI2L dependent on the corresponding range check.

Reviewed-by: kvn, roland
2016-01-18 08:40:25 +01:00
Tobias Hartmann
01a4b31e78 8144212: JDK 9 b93 breaks Apache Lucene due to compact strings
String compress/inflate intrinsics need to capture char and byte memory.

Reviewed-by: aph, roland, kvn
2016-01-18 08:34:14 +01:00
Tobias Hartmann
90ac004ff6 8147444: compiler/jsr292/NonInlinedCall/RedefineTest.java fails with NullPointerException in ClassFileInstaller
Removed installing of unused class. Added error output to ClassFileInstaller.

Reviewed-by: vlivanov, zmajo
2016-01-18 08:25:26 +01:00
Pavel Punegov
4b3b8b4f59 8145025: compiler/compilercontrol/commandfile/CompileOnlyTest.java and compiler/compilercontrol/commands/CompileOnlyTest.java fail: java.lang.RuntimeException:
Fix incorrect compileonly setting

Reviewed-by: kvn, neliasso
2016-01-15 16:36:43 +03:00
Nils Eliasson
48b6051ee7 8145331: SEGV in DirectivesStack::release(DirectiveSet*)
GetDefaultDirective was not updated in 8144873

Reviewed-by: twisti, kvn
2016-01-14 13:24:03 +01:00
Zoltan Majo
ee1e047269 8071864: compiler/c2/6772683/InterruptedTest.java failed in nightly
Increase the amount of time the main thread waits for the worker thread.

Reviewed-by: kvn
2016-01-14 09:30:31 +01:00
Roland Westrelin
3b0e147813 8146792: Predicate moved after partial peel may lead to broken graph
Partial peel can leave a pinned node between predicates and loop and prevent some loop predication

Reviewed-by: kvn
2016-01-11 16:02:42 +01:00
Zoltan Majo
dfa6539a6a 8086053: Address inconsistencies regarding ZeroTLAB
Add zero-initialization to C1 for fast TLAB refills; strenghten C2 conditions for skipping zero-initialization.

Reviewed-by: kvn, thartmann
2016-01-12 09:19:09 +01:00
Christian Thalinger
a0861106e3 Merge 2016-01-11 17:11:57 -08:00
Joseph Provino
9288ff53e7 Merge 2016-01-07 21:10:28 +00:00
Doug Simon
c1d5c540ac 8146001: Remove support for command line options from JVMCI
Reviewed-by: twisti
2016-01-05 10:57:15 -10:00
Kishor Kharbas
790f5bded4 8143925: Enhancing CounterMode.crypt() for AES
Add intrinsic for CounterMode.crypt() to leverage the parallel nature of AES in Counter(CTR) Mode.

Reviewed-by: kvn, ascarpino
2015-12-28 23:11:01 -08:00
Igor Ignatyev
e227bbc9da 8146205: quarantine compiler/jvmci/compilerToVM/ExecuteInstalledCodeTest.java
Reviewed-by: kvn
2015-12-25 03:27:06 +03:00
Christian Thalinger
e4b9b7a178 Merge 2015-12-24 17:21:09 +01:00
Andrew Haley
cee2a179e6 8143072: [JVMCI] Port JVMCI to AArch64
Reviewed-by: gdub, rschatz, twisti, kvn
2015-12-23 20:19:42 -10:00
Christian Thalinger
ffa21cb2b2 8146100: compiler/jvmci/code/SimpleCodeInstallationTest.java JUnit Failure: expected:<12> but was:<109710641>
Reviewed-by: kvn
2015-12-23 11:36:46 -10:00
Igor Ignatyev
2c62b9355d 8146129: quarantine compiler/cpuflags/TestAESIntrinsicsOnSupportedConfig.java
Reviewed-by: twisti
2015-12-23 23:08:16 +03:00
Max Ockner
ce74c2fa3c Merge 2016-02-03 18:16:54 +01:00
Max Ockner
9cab990401 8079408: Reimplement TraceClassLoading, TraceClassUnloading, and TraceClassLoaderData with Unified Logging
TraceClassLoading,  TraceClassUnloading, and TraceClassLoaderData have been reimplemented using Unified logging.

Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: iklam, coleenp, dholmes, jiangli, hseigel, rprotacio
2016-02-03 11:40:30 -05:00
Roland Schatz
af94163551 8144704: [JVMCI] add tests for simple code installation
Reviewed-by: twisti
2015-12-15 16:55:24 +01:00
Christian Thalinger
9e981ee107 Merge 2015-12-18 12:39:02 -08:00
Roland Westrelin
6961dea52a 8139771: Eliminating CastPP nodes at Phis when they all come from a unique input may cause crash
Lost dependency when CastPP at Phis are eliminate

Reviewed-by: kvn
2015-12-11 16:57:08 +01:00
Christian Tornqvist
a39fa54251 8015396: double a%b returns NaN for some (a,b) (|a| < inf, |b|>0)
Reviewed-by: coleenp, gtriantafill
2015-12-10 09:42:22 -08:00
Nils Eliasson
8c0ad215bc 8144246: adding lots of directives via jcmd may produce OOM crash
Add a limit to the number of directives

Reviewed-by: kvn
2015-12-16 15:38:28 +01:00
Dmitrij Pochepko
e699dcb655 8141351: Create tests for direct invoke instructions testing
Tests for invoke* instructions

Reviewed-by: twisti
2015-12-16 18:38:02 +03:00
Alexander Vorobyev
1a135175c4 8079667: port vm/compiler/AESIntrinsics/CheckIntrinsics into jtreg
Reviewed-by: kvn
2015-12-15 17:31:18 +03:00
Goetz Lindenmaier
6f27a97d77 8144466: ppc64: fix argument passing through opto stubs
Reviewed-by: kvn
2015-12-07 15:42:47 +01:00
Vladimir Ivanov
1a4c3a752d 8145137: Incorrect call signature can be used in nmethod::preserve_callee_argument_oops
Reviewed-by: roland, jrose
2015-12-11 15:03:11 +03:00
Vladimir Ivanov
e56a7de478 8145026: compiler/jsr292/NonInlinedCall/RedefineTest.java fails with: java.lang.NullPointerException in ClassFileInstaller.main
Reviewed-by: roland
2015-12-10 14:51:54 +03:00
Paul Sandoz
4d4c7ad974 8143628: Fork sun.misc.Unsafe and jdk.internal.misc.Unsafe native method tables
Reviewed-by: shade, dholmes, alanb, chegar, mchung, roland
2015-12-09 14:54:40 +01:00
Pavel Punegov
a1bb5b8456 8144933: CompilerControl: commandfile/ExcludeTest has incorrect jtreg run innotation
Fix incorrect full test name

Reviewed-by: kvn
2015-12-09 00:30:32 +03:00
Pavel Punegov
555dd24642 8140667: CompilerControl: tests incorrectly set states for excluded methods
Fix exclude command generation

Reviewed-by: kvn
2015-12-09 00:33:30 +03:00
Paul Sandoz
73acd18275 8144223: Move j.l.invoke.{ForceInline, DontInline, Stable} to jdk.internal.vm.annotation package
Reviewed-by: jrose, vlivanov, mchung, roland
2015-12-03 11:18:34 +01:00
Roland Westrelin
7925eb298b 8134883: C1 hard crash in range check elimination in Nashorn test262parallel
C1's range check elimination breaks with a non-natural loop that has an exception handler as one entry

Reviewed-by: iveresov
2015-12-02 15:13:42 +01:00
Roland Westrelin
b97ff269d0 8143930: C1 LinearScan asserts when compiling two back-to-back CompareAndSwapLongs
Refactor CAS code to decrease register pressure in c1

Reviewed-by: kvn, shade
2015-12-01 12:17:18 +01:00
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