Commit Graph

207 Commits

Author SHA1 Message Date
Jiangli Zhou
eb52950704 8078644: CDS needs to support JVMTI CFLH
Support posting CLFH for shared classes. Tests are contributed by Misha Seledtsov.

Reviewed-by: iklam, coleenp, acorn, dcubed, sspitsyn
2016-09-18 21:10:48 -04:00
George Triantafillou
d624da8942 8165889: Remove jdk.test.lib.unsafe.UnsafeHelper
Remove use of setAccessible() to get Unsafe.

Reviewed-by: shade, lfoltan
2016-09-14 08:17:50 -04:00
Tatiana Pivovarova
a78140b822 8165050: [TESTBUG] tests generated by jittester cannot be run with jtreg
Reviewed-by: vlivanov
2016-09-01 20:16:04 +03:00
Tatiana Pivovarova
b2c1c48604 8165030: [TESTBUG] ctw failed to build after 8157957
Reviewed-by: kvn
2016-08-31 14:47:20 +03:00
Igor Veresov
2b1aa4e8ae Merge 2016-08-26 14:47:52 -07:00
Christian Tornqvist
820b9e7a16 8164737: Remove Unsafe dependency from ProcessTools
Reviewed-by: gtriantafill, dholmes
2016-08-25 08:40:53 -04:00
Tatiana Pivovarova
a06d2b8547 8164648: [TESTBUG] jittester failed compilation after 8157957
Reviewed-by: vlivanov
2016-08-23 19:53:40 +03: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
Harold Seigel
d7ea24479b 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: coleenp, lfoltan, mchung
2016-08-10 15:48:04 -07:00
Vladimir Kozlov
4b428d9b3a Merge 2016-08-01 20:47:51 -07:00
Tatiana Pivovarova
a4383337fe 8161138: testlibrary_tests/ctw/* failed with "Failed. Unexpected exit from test [exit code: 0]"
Reviewed-by: kvn
2016-07-29 17:41:14 +03:00
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
Boris Molodenkov
8663231fb4 8160119: Utils.tryFindJvmPid sometimes find incorrect pid
Fixed pattern

Reviewed-by: iignatyev, dholmes
2016-07-20 14:47:53 +03: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
Dmitrij Pochepko
b041084b5b 8160276: Jittester: bytecode tests generation hangs in ClassWriter infinite loop
Reviewed-by: kvn, iveresov
2016-07-08 20:14:18 +03:00
Tatiana Pivovarova
8caad345fd 8153515: [ctw] CompileTheWorld testlibrary should trigger compilation of <clinit> and <init>
Reviewed-by: thartmann
2016-06-29 14:32:13 +03:00
Tatiana Pivovarova
f1d61f4340 8143081: [ctw] Test CompileTheWorld.java needs to be updated for Jigsaw
Reviewed-by: iignatyev
2016-06-28 19:58:15 +03:00
Dmitrij Pochepko
3ad2ec4ed4 8159803: Jittester: FileAlreadyExists exception during tests generation
Reviewed-by: iignatyev
2016-06-23 17:39:49 +03:00
Dmitrij Pochepko
7aca8d6fe4 8158650: [jittester] when generating tests with default parameters, generation hangs after 98 test
Reviewed-by: kvn, iignatyev
2016-06-23 17:39:06 +03:00
Igor Ignatyev
708d50417c 8158185: jdk/test/lib/FileInstaller throws NPE if dst is in current directory
Reviewed-by: kvn
2016-05-31 16:29:45 +03:00
Dmitrij Pochepko
fafec2b66c Merge 2016-05-31 13:58:28 +00:00
Dmitrij Pochepko
3f436dc952 8158065: [Jittester]: tests generation has tests generators hardcoded, blocking alternative tests generation
Reviewed-by: iignatyev
2016-05-31 15:48:47 +03:00
Vladimir Ivanov
2a6a1c6b01 Merge 2016-05-30 15:04:03 +03:00
Vladimir Ivanov
a7ec30ae19 Merge 2016-05-27 17:01:27 +03:00
Dmitrij Pochepko
ac5718b306 8156470: [JITtester] EOL on Windows
Reviewed-by: kvn
2016-05-25 16:22:31 +03:00
Vladimir Ivanov
3221da3cf7 Merge 2016-05-24 14:13:57 +03:00
Igor Ignatyev
05540f90da 8157821: [JITtester] OptionResolver and LiteralFactory use deprecated c-tors
Reviewed-by: kvn
2016-05-27 17:12:10 +03:00
Igor Ignatyev
1b5b717f54 8156469: [JITtester] Difference in generated golden output when run with Jigsaw build
Reviewed-by: vlivanov
2016-05-27 17:12:09 +03:00
Tatiana Pivovarova
ef96f2b85c 8141149: [jittester] create Visitor for generating bytecode
8149463: [jittester] rarely generates tests with compile error

Co-authored-by: Dmitrij Pochepko <dmitrij.pochepko@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Pavel Punegov <pavel.punegov@oracle.com>
Reviewed-by: iignatyev, iveresov
2016-05-18 20:19:23 +03:00
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