Commit Graph

177 Commits

Author SHA1 Message Date
Christian Tornqvist
100d77bf15 8156882: Remove hotspot/test/testlibrary/whitebox
Reviewed-by: coleenp, mockner, dfazunen, iignatyev
2016-05-17 11:39:38 -04:00
George Triantafillou
88be76356f 8154942: Remove ProcessTools.getVmInputArguments() from the hotspot test library, as it is not used by any of the hotspot tests
Reviewed-by: ctornqvi, hseigel
2016-05-05 12:25:29 -04: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
Vladimir Ivanov
84d06ff2d0 Merge 2016-04-29 14:17:34 +03:00
Vladimir Ivanov
72747f47fd Merge 2016-04-29 02:13:40 +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
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
Bharadwaj Yadavalli
d61df5babe Merge 2016-04-19 15:26:59 -04:00
Anton Ivanov
6c95220480 8154174: Improve JitTester performance
Reviewed-by: iignatyev
2016-04-18 15:40:11 +03:00
Stefan Karlsson
0f89b2e137 8153583: Make OutputAnalyzer.reportDiagnosticSummary public
Reviewed-by: brutisso, sjohanss
2016-04-11 08:51:53 +02:00
Bharadwaj Yadavalli
cecf2d83d5 Merge 2016-04-08 12:36:27 -04:00
Pavel Punegov
792ccb5056 8153852: [jittester] move TypeUtil to utils package
Rewrite TypeUtil and move to utils package

Reviewed-by: kvn
2016-04-13 18:56:51 +03:00
Ioi Lam
3d629c6dd3 8153300: [TESTBUG] Enhance test/testlibrary/ClassFileInstaller.java to support JAR files
Reviewed-by: lfoltan, mseledtsov
2016-04-05 14:52:12 -07:00
Dmitrij Pochepko
b595c21417 8151828: Jittester: array creation node handled inproperly in source code visitor for non-int numerical arrays
Reviewed-by: iignatyev
2016-04-01 16:31:08 +03: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
Dmitry Samersoff
9035e84805 8150318: serviceability/dcmd/jvmti/LoadAgentDcmdTest.java - Could not find JDK_DIR/lib/x86_64/libinstrument.so
Refactor test

Reviewed-by: jbachorik, sspitsyn
2016-03-02 17:08:26 +03:00
Tatiana Pivovarova
25db23a65e 8149135: [jittester] Makefile copies JitTesterDriver in incorrect directory and always uses default value for number-of-tests and seed
Reviewed-by: iignatyev
2016-02-05 21:16:14 +03: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
Christian Thalinger
9e981ee107 Merge 2015-12-18 12:39:02 -08:00
Alexander Vorobyev
1a135175c4 8079667: port vm/compiler/AESIntrinsics/CheckIntrinsics into jtreg
Reviewed-by: kvn
2015-12-15 17:31:18 +03:00
Joseph Provino
1b75e851aa Merge 2015-12-07 17:04:42 +00:00
Lana Steuck
9e317be494 Merge 2015-12-02 10:19:14 -08:00
Tatiana Pivovarova
7a2d307eb3 8143966: JEP 233: Generate Run-Time Compiler Tests Automatically
Co-authored-by: Anton Ivanov <anton.ivanov@oracle.com>
Co-authored-by: Dmitrij Pochepko <dmitrij.pochepko@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Igor Veresov <igor.veresov@oracle.com>
Co-authored-by: Konstantin Shefov <konstantin.shefov@oracle.com>
Co-authored-by: Leonid Mesnik <leonid.mesnik@oracle.com>
Co-authored-by: Pavel Punegov <pavel.punegov@oracle.com>
Reviewed-by: iveresov, vlivanov
2015-11-25 02:17:31 +03:00
Iris Clark
eb6fab9412 Merge 2015-11-20 12:22:41 -08:00
Iris Clark
2e24972c63 Merge 2015-11-16 17:10:04 -08:00
Jaroslav Bachorik
b577a431bd 8141526: Allow to collect stdout/stderr from the FinalizationRunner even before the process returns
Reviewed-by: dsamersoff
2015-11-06 14:34:06 +01:00
Alejandro Murillo
c573c1777e 8139986: Store debug level in java.vm.debug and conditionally print in "java -version"
Reviewed-by: ihse, dcubed, ksrini, dholmes
2015-11-04 11:00:29 -08:00
Christian Thalinger
a38ea495d6 8139170: JVMCI refresh
Reviewed-by: kvn
2015-11-04 07:23:23 -10: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
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
Igor Ignatyev
f102784437 8138794: [TESTBUG] ctw tests fail to compile after 8137056
Reviewed-by: dlong, kvn
2015-10-16 01:15:08 +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
Tatiana Pivovarova
d3ad64d9d6 8139375: [TESTBUG] compiler/jvmci/SecurityRestrictionsTest checks are too tight
Reviewed-by: twisti, iignatyev
2015-10-15 01:58:28 +03: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
Igor Veresov
74519e1e1a Merge 2015-09-25 12:04:35 -07:00
Jesper Wilhelmsson
7f7b300f89 Merge 2015-09-21 17:49:57 +02:00
Dmitrij Pochepko
48183cc207 8141353: Testlibrary: add various changes into testlibrary Utils
Added TEST_JDK, TEST_CLASSES properties and getMandatoryProperty method

Reviewed-by: iignatyev
2015-11-06 14:51:15 +03: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
Kirill Zhaldybin
d0134f947f 8137020: [TESTBUG] Utils.runAndCheckException doesn't work well if no exception thrown
Changed handling a case when expected exception wasn't thrown

Reviewed-by: iignatyev
2015-09-24 18:24:10 +03:00
Dmitrij Pochepko
14ddfe02e0 8136718: [TESTBUG] introduce FileInstaller functionality
Reviewed-by: iignatyev
2015-09-19 12:04:38 +03:00
Derek White
23813ce92e 8066821: Enhance command line processing to manage deprecating and obsoleting -XX command line arguments
Add support for alias options and automatically expiring deprecated options

Reviewed-by: dholmes, kbarrett, acorn
2015-09-11 15:31:03 -04: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
Michail Chernov
6814a6121a 8081317: [NEWTEST] documented GC ratio tuning and new size options should be covered by regression tests
Reviewed-by: iignatyev, dfazunen
2015-09-01 21:38:07 +03:00
Alexander Kulyakhtin
98fb52479f 8130527: Serviceability tests fails with Can't attach to process
A helper method changed to provide workaround for 8132539

Reviewed-by: jbachorik
2015-07-30 12:41:39 +03:00
Michail Chernov
5ab1b7ce9d 8131343: Remove unused imports from hotspot/test/testlibrary/jdk/test/lib/*.java
Reviewed-by: dfazunen, tschatzl
2015-07-27 18:23:35 +03:00
Thomas Schatzl
def61423c2 8129604: Incorrect GPL header in README causes RE script to create wrong output
Fix up GPL headers by removing leading "#" so that the RE script works.

Reviewed-by: brutisso, coleenp
2015-06-25 09:04:28 +02:00
Thomas Schatzl
f3b9da429d 8129602: Incorrect GPL header causes RE script to create wrong output
Fix up GPL headers so that the RE script works.

Reviewed-by: stefank, dholmes, coleenp
2015-06-24 17:46:26 +02: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