Harold Seigel
ef40115621
8221685: -XX:BytecodeVerificationRemote and -XX:BytecodeVerificationLocal should be diagnostic options
...
Make the options diagnostic and add -XX:+UnlockDiagnosticVMOptions to tests where needed.
Reviewed-by: lfoltan, acorn, dholmes
2019-04-24 08:27:00 -04:00
Henry Jen
da6f620059
Merge
2019-04-15 18:24:37 -07:00
Henry Jen
52da980fa2
Merge
2019-03-26 10:55:17 -07:00
Coleen Phillimore
3ed98222a7
8220744: Move RedefineTests to from runtime to serviceability
...
Move tests out of runtime to jvmti/RedefineClasses
Reviewed-by: sspitsyn, dcubed, cjplummer, hseigel, mseledtsov
2019-03-19 14:22:47 -04:00
Henry Jen
833627bc3c
Merge
2019-01-22 14:14:52 -08:00
Harold Seigel
dd7e50dc01
8214719: Deprecate -Xverify:none option
...
Deprecate -Xverify:none and -noverify and remove them from tests
Reviewed-by: dholmes, mikael
2019-02-20 13:21:36 -05:00
Calvin Cheung
b8bf6b95a3
8216184: CDS/appCDS tests failed on Windows due to long path to a classlist file
...
Use os::open() instead of fopen()
Reviewed-by: iklam, dholmes
2019-01-11 14:05:57 -08:00
Ioi Lam
38e316f91c
8218029: [TESTBUG] Use -Djava.class.path= to specify empty -cp in CDS tests
...
Reviewed-by: ccheung, dholmes
2019-02-04 19:42:36 -08:00
Calvin Cheung
b999cc8f33
8214809: CDS storage improvements
...
Reviewed-by: acorn, iklam, ahgross, rhalade
2018-12-12 11:57:22 -08:00
Jiangli Zhou
e0aa3e0609
8214827: Incorrect call ClassLoaders.toFileURL("jrt:/java.compiler")
...
Use URL constructor for jrt URL in SystemDictionaryShared::get_shared_protection_domain().
Reviewed-by: ccheung, iklam, dholmes, coleenp
2019-01-10 13:03:34 -05:00
Ioi Lam
a0a108fb01
8214388: CDS dumping fails with java heap fragmentation
...
Force a full GC with a single thread before writing heap archive regions
Reviewed-by: sjohanss, jiangli
2018-12-03 22:27:24 -08:00
Calvin Cheung
bd1cf50953
8210102: CDS tests timed out
...
Increase the timeout to 160s for the DifferentHeapSizes test.
Reviewed-by: iklam
2018-11-30 12:24:23 -08:00
Jiangli Zhou
bc215804a4
8214217: [TESTBUG] runtime/appcds/LotsOfClasses.java failed with fragmented heap
...
Improve the fragmentation error message. Set java heap size in LotsOfClasses.java.
Reviewed-by: iklam, ccheung
2018-11-27 17:53:17 -05:00
Ioi Lam
6d269930fd
8213587: Speed up CDS dump time by using resizable hashtables
...
Reviewed-by: jiangli, coleenp, gziemski
2018-11-20 20:00:15 -08:00
Claes Redestad
4b45441ae9
8213033: Archive remaining primitive box caches
...
Reviewed-by: jiangli, alanb
2018-11-20 21:12:46 +01:00
Calvin Cheung
8761824649
8201375: Add the AllowArchivingWithJavaAgent diagnostic vm option to allow the use of the -javaagent option during CDS dumping
...
Allow Java agent during CDS dumping if the AllowArchivingWithJavaAgent dignostic option is specified.
Reviewed-by: iklam, jiangli, sspitsyn, dcubed
2018-11-16 16:10:25 -08:00
Ioi Lam
147fc3ed13
8213346: Re-implement shared dictionary using CompactHashtable
...
Reviewed-by: jiangli
2018-11-07 19:40:27 -08:00
Mandy Chung
9ffe7e1205
8211122: Reduce the number of internal classes made accessible to jdk.unsupported
...
Reviewed-by: alanb, dfuchs, kvn
2018-11-06 10:01:16 -08:00
Ioi Lam
51f2d9801b
8211336: [TESTBUG] appcds tests with incorrect usage of -XX:+UseStringDeduplication
...
Reviewed-by: dholmes, ccheung, mseledtsov
2018-10-29 14:01:46 -07:00
Jiangli Zhou
4b813da8c8
8209564: runtime/appcds/CDSandJFR.java timeout on tier6 on sparc
...
Set timeout 500 in CDSandJFR.java
Reviewed-by: dcubed
2018-11-02 19:30:31 -04:00
Calvin Cheung
fc19077b52
8213000: Obsolete the IgnoreUnverifiableClassesDuringDump vm option
...
Remove code referencing the IgnoreUnverifiableClassesDuringDump
Reviewed-by: dholmes, jiangli
2018-10-31 14:00:51 -07:00
Calvin Cheung
efce2c0397
8212154: [TESTBUG] CheckArchivedModuleApp fails with NPE when JVMCI is absent
...
Added a null check on wb.getBooleanVMFlag("EnableJVMCI").
Reviewed-by: hseigel, jiangli
2018-10-29 13:58:29 -07:00
Calvin Cheung
e0911eacd6
8209566: [TESTBUG] runtime/appcds/jigsaw/modulepath/JvmtiAddPath.java timeout on tier6 on sparc
...
Increased the timeout from 120s (default) to 240s
Reviewed-by: dcubed, mseledtsov
2018-10-29 11:05:45 -07:00
Erik Joelsson
232912a6ca
8212028: Use run-test makefile framework for testing in Oracle's Mach5
...
Reviewed-by: ihse
2018-10-15 11:36:20 -07:00
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