Commit Graph

43 Commits

Author SHA1 Message Date
Rickard Bäckman
5ce5d9f4cc Merge 2016-07-29 09:23:05 +02:00
David Holmes
5c9019c64a 8140723: Remove source code conditionalized on JAVASE_EMBEDDED
Reviewed-by: twisti, fparain, cjplummer
2016-07-26 23:52:25 -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
Tatiana Pivovarova
8afad6f434 8160773: error: package jdk.internal.jimage does not exist
Reviewed-by: dlong
2016-07-07 13:53:52 +03:00
Leonid Mesnik
5e087a4336 8156777: [TESTBUG] test/testlibrary_tests/SimpleClassFileLoadHookTest.java requires non minimal VM
Reviewed-by: mseledtsov, ctornqvi, gtriantafill
2016-05-12 14:29:02 +03:00
Ioi Lam
565780b7aa 8155239: [TESTBUG] Simple test setup for JVMTI ClassFileLoadHook
Reviewed-by: cjplummer, mseledtsov
2016-05-03 07:23:23 -07: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
Pavel Punegov
9c04e65bda 8155034: [TESTBUG] ctw tests fail to compile: module reads package sun.reflect from both jdk.unsupported and java.base
Replace sun.reflect with jdk.internal.reflect

Reviewed-by: iignatyev, ddmitriev
2016-04-28 17:58:18 +03:00
Chris Hegarty
b7075c2db9 8153737: Unsupported Module
Reviewed-by: alanb, mchung, psandoz
2016-04-09 23:03:39 +01: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
Zoltan Majo
eab1474601 8148758: Compilation fails with "this call site should not be polymorphic"
Change test to run in interpreter-only mode.

Reviewed-by: kvn
2016-02-08 08:57:39 +01:00
Zoltan Majo
8332da75a9 8148970: Quarantine testlibrary_tests/whitebox/vm_flags/IntxTest.java
Quarantine testlibrary_tests/whitebox/vm_flags/IntxTest.java

Reviewed-by: vlivanov, dcubed
2016-02-04 08:53:57 +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
Zoltan Majo
fc2a5e9d53 8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
Add range check or constraint where necessary.

Reviewed-by: roland, thartmann
2015-10-09 14:21:26 +02:00
Kirill Zhaldybin
9f9739c156 8132980: Improve stability of whitebox methods getCodeBlob and freeCodeBlob
Added checks for negative and null size and address values (where applicable) for getCodeBlob, allocateCodeBlob and freeCodeBlob, added regression test

Reviewed-by: iignatyev
2015-09-11 16:11:07 +03:00
Sergei Kovalev
518225447f 8078145: testlibrary_tests/RandomGeneratorTest.java failed with AssertionError : Unexpected random number sequence for mode: NO_SEED
Reviewed-by: iignatyev, vlivanov
2015-06-15 16:47:24 +03:00
Andrew Haley
d917a8866c 8080600: AARCH64: testlibrary does not support AArch64
Add Platform.isAArch64().  Use it in mathexact intrinsic tests.

Reviewed-by: kvn, roland
2015-05-20 10:21:02 +01: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
Shanliang Jiang
137a04308f 8078144: many nightly tests failed due to NoSuchMethodError: sun.management.ManagementFactoryHelper.getDiagnosticMXBean
Reviewed-by: alanb, sla
2015-04-21 10:23:13 +02:00
Calvin Cheung
d4c484b0ba Merge 2015-04-03 13:45:33 -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
Severin Gehwolf
e1d7a11c64 8075533: Zero JVM segfaults for -version after JDK-8074552
Remove SafeFetchXX Zero implementations and guard test with CanUseSafeFetchXX

Reviewed-by: simonis, coleenp
2015-03-23 13:53:44 +01:00
Sergei Kovalev
3d215c0b63 8067822: test/testlibrary_tests/RandomGeneratorTest.java failed on Assert Unexpected random number sequence for mode: NO_SEED
On embedded platforms we have a message in std error. We should not take into account the message. Therefore only std out should be used fo verification.

Reviewed-by: iignatyev, kvn
2015-02-24 15:42:26 +03:00
Goetz Lindenmaier
1b1ac860df 8068013: [TESTBUG] Aix support in hotspot jtreg tests
Reviewed-by: ctornqvi, fzhinkin, farvidsson
2015-01-09 05:45:13 -08:00
Filipp Zhinkin
80613b8656 8068183: Add isTieredSupported method to c.o.j.t.Platforms
Reviewed-by: kvn, iignatyev
2014-12-24 19:32:13 +03:00
Vladimir Kozlov
8bd2d4db6f Merge 2014-12-22 10:41:57 -08:00
Filipp Zhinkin
fb36c6cbbe 8066862: TestMutuallyExclusivePlatformPredicates fails on all platforms
Reviewed-by: iignatyev, kvn
2014-12-12 21:37:37 +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
Filipp Zhinkin
23b769e30e 8058846: c.o.j.t.Platform::isX86 and isX64 may simultaneously return true
Reviewed-by: iveresov, iignatyev
2014-11-28 19:49:16 +03:00
Staffan Larsen
bcb6a1586a Merge 2014-11-06 19:59:32 +00:00
Jaroslav Bachorik
f52a43892a 8061616: HotspotDiagnosticMXBean.getVMOption() throws IllegalArgumentException for flags of type double
Reviewed-by: mchung, sla
2014-11-03 11:19:43 +01:00
Sergei Kovalev
8152a3ea35 8044186: Introduce a reproducible random generator
Reviewed-by: kvn, iveresov, iignatyev
2014-11-02 18:43:38 +03:00
Tobias Hartmann
009e923e04 8061443: Whitebox get*VMFlag() methods fail with develop flags in product builds
Changed 'get*VMFlag' to return all flags. Added methods 'isLockedVMFlag' and 'isConstantVMFlag' and adapted tests.

Reviewed-by: kvn, dholmes, sla
2014-10-24 08:22:33 +02:00
Evgeniya Stepanova
dc7da7467b 8025606: [TESTBUG] Move ctw-tests to /testlibrary_tests
Reviewed-by: iignatyev, vlivanov, kvn
2014-09-29 09:29:24 -07:00
Stefan Karlsson
2880629908 8054823: Add size_t as a valid VM flag type
Reviewed-by: kvn, vlivanov, sla
2014-08-11 14:03:06 +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
1e5168fced 8044742: testlibrary_tests/whitebox/vm_flags/BooleanTest.java NoClassDefFoundError: com/oracle/java/testlibrary/JDKToolFinder
Reviewed-by: kvn, roland
2014-06-16 15:12:24 +04:00
Igor Ignatyev
dc14ad30ce 8044575: testlibrary_tests/whitebox/vm_flags/UintxTest.java failed: assert(!res || TypeEntriesAtCall::arguments_profiling_enabled()) failed: no profiling of arguments
Reviewed-by: kvn, jmasa
2014-06-10 23:18:25 +04:00
Vladimir Kozlov
655b317ad1 Merge 2014-06-06 11:37:23 -07:00
Christian Tornqvist
fd282f6e9a 8044364: runtime/RedefineFinalizer test fails on windows
Rewrote the test in pure Java, added RedefineClassHelper utility class

Reviewed-by: coleenp, allwin, gtriantafill, dsamersoff
2014-06-02 19:08:18 +02:00
Igor Ignatyev
f99eed3f24 8038756: new WB API :: get/setVMFlag
Reviewed-by: vlivanov, sla
2014-05-30 17:20:48 +04:00
Christian Tornqvist
81505a6a57 8024677: [TESTBUG] Move tests for classes in /testlibrary
Moved the tests to /testlibrary_tests and updated TEST.groups

Reviewed-by: dholmes, sla
2013-09-25 17:47:22 +02:00