Commit Graph

23 Commits

Author SHA1 Message Date
Ioi Lam
96eb1f1fdd 8191375: Add high-level jtreg VMProps to filter out CDS tests
Added vm.cds.archived.java.heap

Reviewed-by: mseledtsov, jiangli, ccheung, gtriantafill
2018-02-15 11:39:42 -08:00
Ioi Lam
a74437edc9 8179249: Improve process output analysis in CDS tests
Added new API TestCommon.run(...).assertNormalExit(...), etc

Reviewed-by: mseledtsov
2018-02-14 07:08:25 -08:00
Calvin Cheung
26712bcb1b 8196920: VerifierTest_1A.java and VerifierTest_1B.java fail: assert(receiver_klass->is_subtype_of(static_receiver_klass)) failed: actual receiver must be subclass of static receiver klass
Add an unverifiable method to the test class

Reviewed-by: dholmes, iklam
2018-02-14 10:32:19 -08:00
Jesper Wilhelmsson
44ab590f44 Merge 2018-02-05 23:12:03 +01:00
Tobias Hartmann
9eb320a418 8195731: [Graal] runtime/SharedArchiveFile/serviceability/transformRelatedClasses/TransformSuperSubTwoPckgs.java intermittently fails with Graal JIT
Print detailed error if class transformation fails. Exclude tests from Graal testing.

Reviewed-by: kvn, dholmes, sspitsyn
2018-02-05 08:08:01 +01:00
David Holmes
1c318a676e 8196550: [Testbug] runtime/appcds/MultiReleaseJars.java fails on JDK 11
Reviewed-by: alanb, iklam, ccheung
2018-02-04 21:00:19 -05:00
Calvin Cheung
ea5f35759b 8196124: [testbug] runtime/appcds/jigsaw/classpathtests/DummyClassesInBootClassPath.java passes despite of error
Create another archive with whitebox.jar in the -Xbootclasspath/a; check output from TestCommon.execCommon().

Reviewed-by: iklam, mseledtsov
2018-02-01 10:55:27 -08:00
Jesper Wilhelmsson
fc1b01b9a2 Merge 2018-01-13 02:56:22 +01:00
Lana Steuck
aad1a3592c Merge 2018-01-16 22:24:20 +00:00
Ioi Lam
36c68615bc 8193664: AppCDS tests should use -XX:+UnlockCommercialFeatures when running with commercial JDK
Reviewed-by: jiangli, mseledtsov, dholmes
2018-01-11 16:40:10 -08:00
Calvin Cheung
5cfe75dd1a 8192927: os::dir_is_empty is incorrect on Windows
Check file names in a directory. It is empty if only the "." and ".." files exist. Use unicode version of windows APIs to handle long path.

Reviewed-by: iklam, sspitsyn
2018-01-04 22:47:38 -08:00
Ioi Lam
5dd68ed125 8165603: runtime/appcds/UseAppCDS.java: failed to clean up files after test when running with agentvm
Reviewed-by: mseledtsov, dholmes
2017-12-13 15:37:48 -08:00
Vladimir Kozlov
c11f132abe 8191788: add jdk.internal.vm.compiler to --limit-modules if -Djvmci.Compiler=graal is in the command line
Skip tests which use --limit-modules when Graal is used as JIT compiler.

Reviewed-by: alanb, mchung, dholmes, ccheung, dnsimon
2017-12-13 11:59:55 -08:00
Calvin Cheung
915b2cd1f2 8192989: runtime/appcds/javaldr/ArrayTest.java crashes with assert(k->is_instance_klass())
Disable loading array classes from the class list

Reviewed-by: iklam, jiangli
2017-12-08 15:14:08 -08:00
Jiangli Zhou
1cfa67d1d5 8193065: [TESTBUG] [TESTBUG]GCSharedStringsDuringDump.java: Exception in thread "main" java.lang.RuntimeException: String is not shared
Check if 'oa' region is missing.

Reviewed-by: hseigel, ccheung
2017-12-06 20:06:43 -05:00
Ioi Lam
d4fab56c4f 8190809: JVM crashes while generating appcds for classpath with empty directory entry
Reviewed-by: ccheung, jiangli, lmesnik
2017-12-01 15:53:15 -08:00
Calvin Cheung
40f06dc0e3 8174101: Bootclasspath append should not invalidate CDS archive
Reviewed-by: iklam, jiangli
2017-11-30 14:25:33 -08:00
Ioi Lam
c7421b5e3b 8193672: [test] Enhance vm.cds property to check for all conditions required to run CDS tests
Reviewed-by: dholmes, dsamersoff, simonis
2017-12-04 08:59:47 -08:00
Ioi Lam
177b24b7d7 8191747: [TESTBUG] runtime/appcds/DumpClassList.java and ProhibitedPackage.java fail on product bits
Reviewed-by: simonis
2017-11-29 18:43:35 -08:00
Volker Simonis
7617012f55 8191927: Enable AppCDS for custom loaders on all 64-bit Linux and AIX
Added "@requires vm.cds.custom.loaders" to mark tests related to custom loaders

Reviewed-by: simonis, mseledtsov
2017-11-28 09:47:04 -08:00
Jiangli Zhou
61e736cbae 8188791: Move AppCDS from closed repo to open repo
Co-authored-by: Mikhailo Seledtsov <mikhailo.seledtsov@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Reviewed-by: dsamersoff, simonis, minqi
2017-11-27 20:21:34 -08:00
Jesper Wilhelmsson
d679703c0b Merge 2018-01-30 16:41:40 +01:00
Igor Ignatyev
71a40bce38 8186635: ClassFileInstaller should be run as a driver
Reviewed-by: dholmes
2018-01-17 21:44:44 -08:00