Calvin Cheung
55b6a9b02b
8203354: assert in ClassLoader::update_module_path_entry_list() could have incorrect message
...
Converting the assert in ClassLoader::update_module_path_entry_list() to a meaningful error message before aborting the CDS dump.
Reviewed-by: stuefe, iklam
2018-05-24 09:15:09 -07:00
Jiangli Zhou
422e112ffd
8199807: AppCDS performs overly restrictive path matching check
...
8203377: Cleanup the usage of os::file_name_strcmp() in SharedPathsMiscInfo::check()
Relax CDS/AppCDS path check for modules image.
Reviewed-by: iklam, ccheung
2018-05-21 15:15:58 -04:00
Calvin Cheung
e8cf273121
8196619: [TESTBUG] restore current version check in runtime/appcds/MultiReleaseJars.java
...
Reviewed-by: dholmes
2018-05-17 08:41:01 -07:00
Erik Gahlin
a060be188d
8199712: Flight Recorder
...
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Reviewed-by: coleenp, ihse, erikj, dsamersoff, mseledtsov, egahlin, mgronlun
2018-05-15 20:24:34 +02:00
Calvin Cheung
78ed5e2c4d
8202289: Non-empty directory in module path is not handled properly at CDS/AppCDS dump time
...
8202519: Crash during large AppCDS dump
Convert the source of a class into canonical form before comparing witha shared path table entry.
Reviewed-by: jiangli, iklam
2018-05-10 16:39:50 -07:00
Lois Foltan
2464e2b11e
8189916: Dynamic Constant support for Sparc
...
Change to the template interpreter to support dynamic constant on Sparc.
Reviewed-by: coleenp, psandoz
2018-05-04 12:14:09 -04:00
Calvin Cheung
e7ef03dce6
8202130: [TESTBUG] Some appcds regression test cases fail with "Error: VM option 'PrintSystemDictionaryAtExit' is notproduct and is available only in debug version of VM"
...
Removed the PrintSystemDictionaryAtExit vm option from the tests
Reviewed-by: zgu
2018-05-01 17:28:03 -07:00
Jiangli Zhou
3544f8902a
8202452: Delete test files missed from commit for 8193213&8182731
...
Deleted outdated tests.
Reviewed-by: dholmes
2018-04-30 17:50:05 -04:00
Jiangli Zhou
20edc74068
8193213: Make the UseAppCDS option obsolete
...
8182731: Odd handling of -XX:-UseAppCDS and -XX:SharedArchiveFile
Application class data sharing is enabled without -XX:+UseAppCDS. SharedArchiveFile is now a product flag.
Reviewed-by: dholmes, ihse, erikj, ccheung
2018-04-30 16:59:05 -04:00
Calvin Cheung
1515d70930
8197959: [TESTBUG] Some (App)CDS tests require modification due to the removal of the Java EE and CORBA modules
...
Reviewed-by: iklam, mseledtsov
2018-04-25 14:08:19 -07:00
Calvin Cheung
894e8c6479
8197972: Always verify non-system classes during CDS dump time
...
Use -Verify:remote even if the user specifies -Xverify:none during CDS dump time
Reviewed-by: iklam, mseledtsov, jiangli
2018-04-17 16:19:48 -07:00
Calvin Cheung
4ef7c919a2
8194812: Extend class-data sharing to support the module path
...
8199360: Rework the support for the 'ignored' module options in CDS
Reviewed-by: jiangli, lfoltan, iklam, mseledtsov
2018-04-10 11:43:40 -07:00
Calvin Cheung
213862d866
8200078: [Graal] runtime/appcds/GraalWithLimitedMetaspace.java crashes in visit_all_interfaces
...
Stop CDS dumping right away when an OOM due to insufficient metaspace is encountered
Reviewed-by: iklam, mseledtsov
2018-03-29 21:48:38 -07:00
Mikhailo Seledtsov
aa2b650b70
8199880: runtime/appcds/condy/CondyHelloTest.java missing at requires vm.cds
...
Added at requires vm.cds
Reviewed-by: dcubed, jiangli
2018-03-21 13:18:06 -07:00
Ioi Lam
f48c339805
8198796: Create test case for CDS + condy
...
Reviewed-by: mseledtsov, lfoltan, jiangli
2018-03-13 15:13:20 -07:00
Calvin Cheung
214248fe11
8196626: [Graal] runtime/appcds/UseAppCDS.java crashes with "VM thread using lock Heap_lock (not allowed to block on)"
...
Print a message and abort CDS dumping when the allocation of metaspace has failed
Reviewed-by: iklam, mseledtsov
2018-03-09 13:36:39 -08:00
Ioi Lam
bc202d97bd
8191585: VM anonymous classes created during CDS dump time cause crash
...
Reviewed-by: hseigel, mseledtsov, ccheung
2018-03-06 22:08:30 -08:00
Ioi Lam
4c0a72bf60
8196121: runtime/appcds/ClassLoaderTest.java fails silently
...
Reviewed-by: mseledtsov, jiangli, ccheung
2018-03-04 22:24:06 -08:00
Calvin Cheung
efcc8d2558
8193434: [GRAAL] Graal classes are not loaded with -Xshare:dump
...
Allow loading of non-boot classes during CDS dumping but only add boot classes to the archive
Reviewed-by: kvn, iklam, jiangli
2018-03-02 17:33:59 -08:00
Jiangli Zhou
f987dec395
8194759: Support caching class mirror objects
...
Support archiving mirror objects for shared classes in 'open' archive java heap region.
Reviewed-by: coleenp, iklam, mseledtsov, tschatzl
2018-03-02 17:25:55 -05:00
Ioi Lam
d050bedee8
8195065: runtime/appcds/ProhibitedPackage.java intermittent failure
...
Reviewed-by: mseledtsov
2018-02-24 22:42:37 -08:00
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