Bharadwaj Yadavalli
2841c5eb2b
8171008: Integrate AOT compiler into JDK
...
Co-authored-by: Christian Thalinger <cthalinger@twitter.com>
Co-authored-by: Dean Long <dean.long@oracle.com>
Co-authored-by: Dmitrij Pochepko <dmitrij.pochepko@oracle.com>
Co-authored-by: Dmitry Chuyko <dmitry.chuyko@oracle.com>
Co-authored-by: Doug Simon <doug.simon@oracle.com>
Co-authored-by: Eric Caspole <eric.caspole@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Igor Veresov <igor.veresov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Morris Meyer <morris.meyer@oracle.com>
Co-authored-by: Niclas Adlertz <niclas.adlertz@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Reviewed-by: erikj, mchung, psandoz, coleenp, iklam, stefank, simonis
2016-12-11 19:07:04 -08:00
Stanislav Smirnov
c13329714b
8165687: Fix license and copyright headers in jd9 under hotspot/test
...
Legal notices and Oracle copyrights were updated (white and blank space, commas) in tests files for uniformity to meet Oracle requirements.
Co-authored-by: Vassili Igouchkine <vassili.igouchkine@oracle.com>
Reviewed-by: dholmes, iris
2016-10-17 18:54:12 -04:00
Christian Tornqvist
ad85e18f23
8157957: ClassNotFoundException: jdk.test.lib.JDKToolFinder
...
Reviewed-by: coleenp, gtriantafill, mseledtsov, iignatyev, dholmes, dsamersoff
2016-08-19 10:06:30 -04:00
Igor Ignatyev
e19479825a
8151280: update hotspot tests to use vm.compMode instead of their own logic
...
Update hs compiler tests to use vm.compMode instead of their own logic and to get VM mode using j.t.l.Platform
Reviewed-by: kvn, dpochepk
2016-07-13 18:03:15 +03:00
Igor Ignatyev
a0381422dd
8132919: Put compiler tests in packages
...
Reviewed-by: vlivanov, dpochepk
2016-07-12 18:24:48 +03:00
Vladimir Ivanov
622a5ae6f0
Merge
2016-05-06 18:20:50 +03: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
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
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
Chris Hegarty
b7075c2db9
8153737: Unsupported Module
...
Reviewed-by: alanb, mchung, psandoz
2016-04-09 23:03:39 +01: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
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
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
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
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
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
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
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
Nils Eliasson
2f9e32256d
Merge
2015-11-13 13:31:48 +01: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
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
Alexander Kulyakthin
462f735dac
8067013: Rename the com.oracle.java.testlibary package
...
Reviewed-by: dholmes, gtriantafill, sla
2015-05-04 16:30:07 +02:00
Vladimir Kozlov
b72eca85b5
Merge
2015-04-03 11:41:01 -07:00
Alexander Kulyakthin
01b9971365
8075586: Add @modules as needed to the open hotspot tests
...
Reviewed-by: sla, ctornqvi, lfoltan, mchung, alanb
2015-03-26 16:36:56 +01:00
Tatiana Pivovarova
9ed9ae6214
8075488: compiler/whitebox/DeoptimizeFramesTest fails with exit code 1 due to unrecognized VM option -XX:+IgnoreUnexpectedVMOptions
...
Reviewed-by: kvn
2015-03-21 21:47:49 +03:00
Igor Ignatyev
b78d23ed01
8073860: [TESTBUG] compiler/whitebox/DeoptimizeFramesTest fails with exit code 1
...
Reviewed-by: kvn, roland
2015-03-12 19:12:52 +03:00
Pavel Chistyakov
fb0bdf6a4b
8068003: compiler/whitebox/DeoptimizeFramesTest.java fails: compilation 48 can't be available
...
Disabled DeoptimizeALot for test runs
Reviewed-by: kvn
2015-01-30 20:45:18 +03:00
Pavel Chistyakov
28c5919585
8066998: [TESTBUG] compiler/whitebox/ForceNMethodSweepTest.java : sweep shouldn't increase usage
...
Disable background compilation
Reviewed-by: kvn
2015-01-26 18:59:09 +03:00
Albert Noll
dad0da797d
8068661: Exclude compiler/whitebox/ForceNMethodSweepTest.java from nightly runs
...
The test is unstable and is therefore removed from nightly testing
Reviewed-by: kvn, drchase
2015-01-09 09:52:00 +01:00
Igor Ignatyev
e71ea0c5a9
8028595: WhiteBox API for stress testing of TieredCompilation
...
Reviewed-by: kvn
2014-12-16 17:56:24 +03:00
Pavel Punegov
c39c3b01be
8059575: JEP-JDK-8043304: Test task: Tiered Compilation level transition tests
...
Reviewed-by: iveresov, thartmann
2014-12-13 01:24:07 +03:00
Tobias Hartmann
bf022cf7dc
8066433: Move Whitebox test library to top level repository
...
Moved Whitebox test library to top level repository.
Reviewed-by: iignatyev, sla, mr
2014-12-12 09:37:38 +01:00
Igor Ignatyev
3a9c14c70a
8064669: compiler/whitebox/AllocationCodeBlobTest.java crashes / asserts
...
Reviewed-by: kvn, anoll
2014-12-02 12:36:03 +03:00
Tatiana Pivovarova
0fccf46ae4
8066141: compiler/whitebox/GetNMethodTest.java: java.lang.RuntimeException: blob_type[MethodProfiled] for 2 level isn't MethodNonProfiled
...
Reviewed-by: iveresov, iignatyev
2014-12-01 22:38:29 +03:00
Tobias Hartmann
00aa20db4a
8056071: compiler/whitebox/IsMethodCompilableTest.java fails with 'method() is not compilable after 3 iterations'
...
Always use MDO if valid and always compile trivial methods with C1 if available.
Reviewed-by: kvn, iveresov
2014-11-11 11:05:41 +01:00
Igor Ignatyev
bdac822811
8059624: Test task: WhiteBox API for testing segmented codecache feature
...
Reviewed-by: kvn, thartmann
2014-11-10 19:04:38 +03:00
Tobias Hartmann
fe1762fbd6
8061817: Whitebox.deoptimizeMethod() does not deoptimize all OSR versions of method
...
Fixed Whitebox.deoptimizeMethod() to deoptimize all OSR versions of the method.
Reviewed-by: kvn, iignatyev
2014-10-30 13:03:30 +01:00
Tobias Hartmann
1e7b7a410e
8061983: [TESTBUG] compiler/whitebox/MakeMethodNotCompilableTest.java fails with "must not be in queue"
...
Added a method checkNotCompiled(boolean isOsr) to either check if the method is OSR compiled or to check if it is non-OSR compiled.
Reviewed-by: kvn
2014-10-28 09:17:36 +01:00
Chris Plummer
d78d0c4fa4
8140189: [TESTBUG] Get rid of "@library /../../test/lib" in jtreg tests
...
Use new external.lib.roots property in TEST.ROOT so /../../test/lib is not needed.
Reviewed-by: mseledtsov, sla, iklam
2015-10-29 12:04:04 -07:00
Tobias Hartmann
2597d484c6
8061486: [TESTBUG] compiler/whitebox/ tests fail : must be osr_compiled (reappeared in nightlies)
...
Call warmup code from OSR triggering method to make sure no non-OSR compilation is triggered in the loop.
Reviewed-by: kvn
2014-10-24 08:35:29 +02:00
Tobias Hartmann
415f2cd075
8060454: [TESTBUG] Whitebox tests fail with -XX:CompileThreshold=100
...
Move the call to 'waitAndDeoptimize' from the warmup methods to the osr triggering methods to make sure that no non-osr compilation is in the queue after warmup.
Reviewed-by: kvn
2014-10-17 10:04:45 +02:00
Tobias Hartmann
38e46e728d
8046268: compiler/whitebox/ tests fail : must be osr_compiled
...
Added code to 'warm up' the methods before triggering OSR compilation by executing them a limited number of times. Like this, the profile information marks the loop exit as taken and we don't add an uncommon trap.
Reviewed-by: kvn, dlong, iignatyev
2014-10-13 12:30:37 +02:00
Andrey Zakharov
dd95f0a0c2
8011397: JTREG needs to copy additional WhiteBox class file to JTwork/scratch/sun/hotspot
...
Reviewed-by: kvn, iignatyev, mgerdin
2014-08-11 17:12:41 +04:00
Igor Ignatyev
e6b1dd586f
8032449: Get rid of JMX in test/compiler
...
Reviewed-by: kvn
2014-07-19 00:34:20 +04:00
Igor Ignatyev
0231fb818f
8047996: Quarantine compiler/whitebox tests
...
Reviewed-by: vlivanov
2014-07-01 13:09:40 +04:00
Nils Eliasson
cdd2105184
8040244: compiler/whitebox/IsMethodCompilableTest.java fails
...
Prevent from running with Xcomp
Reviewed-by: kvn, twisti
2014-06-09 10:32:49 +02:00
Igor Ignatyev
d9187e9799
8038240: new WB API to get nmethod
...
Reviewed-by: morris, kvn
2014-03-27 11:17:26 +04:00
Igor Ignatyev
8439d7fa51
8027124: [TESTBUG] NonTieredLevelsTest: java.lang.RuntimeException: private TestCase$Helper(java.lang.Object) must be osr_compiled
...
Reviewed-by: kvn, roland
2014-03-06 12:47:45 +04:00
Nils Eliasson
0b6a5f744a
8007270: Make IsMethodCompilable test work with tiered
...
Only c2 compiles counts toward cutoff
Reviewed-by: kvn, roland
2014-01-28 15:05:46 +01:00