Vaibhav Choudhary
2223e083ba
8210376: [TESTBUG] @requires vm.cds should be replaced by @requires vm.cds.archived.java.heap and documentation is required for vm.gc==null
...
@requires vm.cds should be replaced by @requires vm.cds.archived.java.heap and documentation is required for vm.gc==null
Reviewed-by: iklam, jiangli
2018-10-05 18:25:15 +01:00
Calvin Cheung
40b75053e4
8211287: ClassPathTests.java fails due to "Unable to map MiscData shared space at required address."
...
Catch the InvocationTargetException and rethrow exception based on the cause
Reviewed-by: jiangli, iklam
2018-10-02 20:52:40 -07:00
Ioi Lam
568e8beda6
8209946: [TESTBUG] CDS tests should use "@run driver"
...
Reviewed-by: ccheung, jiangli, mseledtsov
2018-10-02 14:32:33 -07:00
Calvin Cheung
5108d2e1dd
8202282: [TESTBUG] appcds TestCommon.makeCommandLineForAppCDS() can be removed
...
Removed the unnecessary makeCommandLineForAppCDS() method and its usage
Reviewed-by: iklam, jiangli
2018-09-26 18:21:26 -07:00
Igor Ignatyev
82ed2a5fc0
8210894: remove jdk/testlibrary/Asserts
...
Reviewed-by: serb
2018-09-21 14:50:06 -07:00
Ioi Lam
4e74846da8
8210523: runtime/appcds/cacheObject/DifferentHeapSizes.java crash
...
Reviewed-by: jiangli, ccheung
2018-09-12 17:45:22 -07:00
Jiangli Zhou
4baa5b10d1
8210515: [TESTBUG]CheckArchivedModuleApp.java needs to check if EnableJVMCI is set
...
System module objects are not archived when EnableJVMCI is set to true.
Reviewed-by: iklam, ccheung
2018-09-10 18:30:24 -04:00
Igor Ignatyev
21a0458422
8210112: remove jdk.testlibrary.ProcessTools
...
Reviewed-by: alanb, sspitsyn, jcbeyler
2018-09-07 14:01:52 -07:00
Goetz Lindenmaier
73537725b1
8210259: [testbug] IncompatibleOptions.java fails if VM configured without ZGC
...
Reviewed-by: pliden, kbarrett
2018-09-01 18:15:27 +02:00
Jiangli Zhou
1ddabdf0dc
8209534: [TESTBUG]runtime/appcds/cacheObject/ArchivedModuleCompareTest.java fails with EnableJVMCI
...
Use TestCommon.execOff().
Reviewed-by: ccheung
2018-08-28 14:45:34 -04:00
Ioi Lam
8f87784420
8208658: Make CDS archived heap regions usable even if compressed oop encoding has changed
...
Move different execution modes to IncompatibleOptions_stringDedup.java and IncompatibleOptions_noCompactStrings.java
Reviewed-by: jiangli, coleenp
2018-08-23 21:16:45 -07:00
Calvin Cheung
c3adb5f87d
8207211: [TESTBUG] Remove excessive output from CDS/AppCDS tests
...
Changed the value of the property test.cds.copy.child.stdout to false so that stdout of child processes are logged in files. Each stdout and stderr file will have a unique name.
Reviewed-by: iklam
2018-08-23 09:35:09 -07:00
Ioi Lam
5b2c081460
8208658: Make CDS archived heap regions usable even if compressed oop encoding has changed
...
Relocate and patch archive regions if necessary
Reviewed-by: jiangli, tschatzl
2018-08-14 09:59:37 -07:00
Ioi Lam
73951ab5d9
8209657: Refactor filemap.hpp to simplify integration with Serviceability Agent
...
Added src/hotspot/share/include/cds.h
Reviewed-by: ccheung, sspitsyn, jgeorge
2018-08-17 13:53:53 -07:00
Calvin Cheung
660c7e50f7
8209385: CDS runtime classpath checking is too strict when only classes from the system modules are archived
...
Skip checking the path entries which are not being referenced during CDS dump time
Reviewed-by: jiangli, iklam
2018-08-17 14:50:59 -07:00
Jiangli Zhou
da4684e2e1
8209389: SIGSEGV in WalkOopAndArchiveClosure::do_oop_work
...
Check the MetaspaceShared::archive_heap_object return value and handle failure accordingly.
Reviewed-by: iklam, coleenp
2018-08-16 17:29:22 -04:00
Mikhailo Seledtsov
b71faed5df
8209164: [TESTBUG] Apply jtreg skipped status to cds tests
...
Added the SkippedException where applicable
Reviewed-by: iklam, jiangli
2018-08-15 10:00:16 -07:00
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