Claes Redestad
5c3008fbc4
8209120: Archive the Integer.IntegerCache
...
Reviewed-by: jiangli, alanb, plevart, iklam, mchung
2018-08-13 19:21:43 +02:00
Jiangli Zhou
a5d14313f5
8207263: Store the Configuration for system modules into CDS archive
...
Archive boot layer Configuration.
Reviewed-by: redestad, iklam, ccheung
2018-08-10 00:35:57 -04:00
Calvin Cheung
5858a507f4
8208705: [TESTBUG] The -Xlog:cds,cds+hashtables vm option is not always required for appcds tests
...
Only include the CDS logging option in the tests which require it
Reviewed-by: mseledtsov, jiangli, iklam
2018-08-09 15:52:23 -07:00
Calvin Cheung
6f046a9f27
8208704: runtime/appcds/MultiReleaseJars.java timed out often in hs-tier7 testing
...
Increase timout to 2400 and reduce the amount of output
Reviewed-by: mseledtsov, jiangli
2018-08-07 09:44:39 -07:00
Mikhailo Seledtsov
8a5467b9c2
8185531: [TESTBUG] Improve test configuration for shared strings
...
Added extra test configurations to the tests
Reviewed-by: iklam, gziemski
2018-08-01 19:07:27 -07:00
Phil Race
1387c87093
Merge
2018-07-26 10:00:40 -07:00
Goetz Lindenmaier
c798b68ee1
8207830: [aix] disable jfr in build and tests
...
Reviewed-by: kvn, erikj
2018-07-20 09:46:57 +02:00
Calvin Cheung
0140ddadab
8204591: Expire/remove the UseAppCDS option in JDK 12
...
Reviewed-by: jiangli, mseledtsov, iklam
2018-07-17 11:58:53 -07:00
Calvin Cheung
a10d6e71d8
8205946: JVM crash after call to ClassLoader::setup_bootstrap_search_path()
...
Exit vm if setting of boot class path fails.
Reviewed-by: lfoltan, jiangli, dholmes
2018-07-10 19:04:13 -07:00
Jiangli Zhou
9ba5bab865
8202035: Archive the set of ModuleDescriptor and ModuleReference objects for observable system modules with unnamed initial module
...
Support system module archiving with unnamed initial module at dump time.
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: erikj, coleenp, mchung, iklam, ccheung
2018-07-08 12:43:05 -04:00
Per Lidén
258346a5a0
8205702: assert(UseCompressedClassPointers) failed in universe.hpp
...
Reviewed-by: coleenp, ccheung
2018-06-28 07:22:59 +02:00
Calvin Cheung
8d1a97542e
8203664: JFR start failure after AppCDS archive created with JFR StartFlightRecording
...
Disable JFR and output a warning message during CDS dump time if JFR is enabled.
Reviewed-by: jiangli, lfoltan
2018-06-27 14:46:15 -07:00
David Holmes
95bf19563b
8010319: Implementation of JEP 181: Nest-Based Access Control
...
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Maurizio Mimadamore <maurizio.mimadamore@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Tobias Hartmann <tobias.hartmann@oracle.com>
Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Daniel Smith <daniel.smith@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Kumar Srinivasan <kumardotsrinivasan@gmail.com>
Co-authored-by: Boris Ulasevich <boris.ulasevich@bell-sw.com>
Reviewed-by: alanb, psandoz, mchung, coleenp, acorn, mcimadamore, forax, jlahoda, sspitsyn, abuckley
2018-06-23 01:32:41 -04:00
Mikael Vidstedt
1f437b30f3
8202331: Obsolete support for commercial features
...
Reviewed-by: kvn, cjplummer, dholmes
2018-06-21 21:37:28 -07:00
Calvin Cheung
999185f769
8204563: UseAppCDS obsolete message confusing
...
Reviewed-by: jiangli, mseledtsov, dholmes
2018-06-11 09:40:20 -07:00
Vladimir Kozlov
42e75b8c79
8202611: [GRAAL] Exclude CMS GC testing from runs with Graal
...
Reviewed-by: iignatyev, kbarrett
2018-06-07 17:38:34 -07:00
Stefan Karlsson
8c5db24c99
8204165: Filter out tests requiring class unloading when ClassUnloading is disabled
...
Reviewed-by: coleenp, kbarrett
2018-06-05 15:56:14 +02:00
Calvin Cheung
185724b899
8203445: [TESTBUG] Remove appcds/jigsaw/limitmods/LimitModsTests.java
...
Reviewed-by: jiangli
2018-06-04 08:56:41 -07:00
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
Claes Redestad
3880f3db74
8221724: Enable archiving of Strings with hash 0
...
Reviewed-by: jiangli, iklam
2019-04-02 11:37:11 +02:00
Ioi Lam
e2ffa15762
8221351: Crash in KlassFactory::check_shared_class_file_load_hook
...
Reviewed-by: dholmes, ccheung
2019-03-29 08:42:32 -07:00
Ioi Lam
c532be950a
8217347: [TESTBUG] runtime/appcds/jvmti/InstrumentationTest.java timed out
...
Avoid using VirtualMachine.list(). Use Process.pid() instead.
Reviewed-by: dholmes
2019-03-26 11:34:40 -07: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