Commit Graph

45 Commits

Author SHA1 Message Date
Igor Ignatyev
c73934d8c8 8242311: use reproducible random in hotspot runtime tests
Reviewed-by: iklam, mseledtsov
2020-04-13 12:32:57 -07:00
Roger Riggs
3cf922b3d1 8242462: Residual Cleanup of rmic removal
Reviewed-by: jjg, amlu, erikj, iignatyev, mseledtsov
2020-04-10 16:33:56 -04:00
Per Lidén
2e4783411e 8240745: Implementation: JEP 377: ZGC: A Scalable Low-Latency Garbage Collector (Production)
Reviewed-by: stefank, eosterlund
2020-04-03 23:40:33 +02:00
Yumin Qi
37b7a23317 8241009: CommandLineFlagComboNegative.java fails after JDK-8240563
Jtreg turned off UseCompressedOops and messed up vm flag options of children processes.

Reviewed-by: dholmes, stefank
2020-03-20 09:40:30 -07:00
Yumin Qi
90a39195c1 8240563: [TESTBUG] WB_IsCDSIncludedInVmBuild should support uncompressed oops/klasses
With 8232069, CDS works with uncompressed oops/kalsses, detecting CDS code no longer bases on the two flags.

Reviewed-by: iklam
2020-03-12 09:07:11 -07:00
Ioi Lam
b0f32c4431 8240548: [TESTBUG] CDS NoClassToArchive.java fails with Graal
Reviewed-by: dholmes, mchung
2020-03-11 21:37:45 -07:00
Calvin Cheung
9e2ab1e363 8232081: Try to link all classes during dynamic CDS dump
During CDS dynamic dump, link all classes loaded by the builtin class loaders in JVM_BeforeHalt() and JavaThread::invoke_shutdown_hooks().

Reviewed-by: iklam, dholmes
2020-03-06 15:33:13 -08:00
Yumin Qi
6cb2e02af6 8240546: runtime/cds/appcds/TestZGCWithCDS.java fails with Graal
Test failed since Graal does not work with ZGC, fixed in test to skip Graal if ZGC.

Reviewed-by: ccheung
2020-03-04 21:29:14 -08:00
Yumin Qi
c37ebcd730 8232069: Enable CDS even when UseCompressedClassPointers and/or UseCompressedOops are false
Fix to save UseCompressedOops and UseCompressedClassPointers in shared archive and at runtime run with CDS only if they are matched the stored versions.

Reviewed-by: iklam, ccheung
2020-02-11 12:16:23 -08:00
Ioi Lam
d5bdb76e84 8236236: Eliminate CDS md region and consolidate c++ vtable patching code
Reviewed-by: ccheung
2020-01-22 11:52:27 -08:00
Coleen Phillimore
c4b8e38de4 8236224: Obsolete the FieldsAllocationStyle and CompactFields options
Remove the options and code for options deprecated in JDK 14

Reviewed-by: dholmes, hseigel, fparain
2020-01-07 13:11:35 -05:00
Ioi Lam
d1ad0eaf8f 8233826: Change CDS dumping tty->print_cr() to unified logging
Reviewed-by: coleenp, dholmes, jiangli
2019-12-19 23:04:49 -08:00
Nick Gasson
aea0a57512 8234794: AArch64: runtime/memory/ReadFromNoaccessArea.java crashes
Try to map CDS shared space at 4G aligned address on AArch64

Reviewed-by: adinn, aph, jiangli, iklam
2019-12-19 09:47:33 +08:00
Calvin Cheung
fae788a200 8235563: [TESTBUG] appcds/CommandLineFlagComboNegative.java does not handle archive mapping failure
Use the assertAbnormalExit method of the CDSTestUtils.Result class to handle archive mapping failure.

Reviewed-by: iklam
2019-12-17 16:46:37 -08:00
Ioi Lam
83cb7044e9 8236028: [TESTBUG] Remove dependency of sun.tools.jar from appcds/JarBuilder
Reviewed-by: ccheung
2019-12-16 21:24:00 -08:00
Ioi Lam
1b4b652408 8235970: [TESTBUG] Remove dependency of sun.tools.jar from RedefineClassHelper
Reviewed-by: alanb
2019-12-16 10:04:36 -08:00
Ioi Lam
8b2453f93b 8199290: [TESTBUG] sun.hotspot.WhiteBox$WhiteBoxPermission is not copied
Reviewed-by: iignatyev, dholmes
2019-12-16 10:03:42 -08:00
Ioi Lam
749bda0e2d 8235490: AppCDS DynamicArchiveRelocationTest.java failed: 'always map archive(s) at an alternative address' missing
Reviewed-by: coleenp, ccheung
2019-12-09 09:59:03 -08:00
Calvin Cheung
4abba17c10 8225219: [TESTBUG] AppCDS tests timed out with -Xcomp and --limit-modules option won't work with Graal
Reviewed-by: kvn, iklam, iignatyev
2019-12-06 09:09:33 -08:00
Ioi Lam
ce9ff0924f 8235179: [TESTBUG] DynamicArchiveRelocationTest.java fails with 'runtime archive relocation start' missing
Reviewed-by: mseledtsov, ccheung
2019-12-04 11:19:25 -08:00
Ioi Lam
4edbdd1cb3 8234622: [TESTBUG] ArchivedModuleCompareTest.java fails with -vmoptions:-Xlog:cds
Reviewed-by: mseledtsov
2019-11-22 15:32:00 -08:00
Igor Ignatyev
d27bcbec06 8234304: runtime/cds/appcds/javaldr tests should use driver mode
Reviewed-by: iklam, mseledtsov
2019-11-18 14:13:11 -08:00
Weijun Wang
c0d097eac6 8214024: Remove the default keytool -keyalg value
Reviewed-by: mullan
2019-11-15 09:06:58 +08:00
Ioi Lam
55cef3c4e0 8234196: [TESTBUG] DynamicArchiveRelocationTest.java missing "ArchiveRelocationMode == 1 ...."
Reviewed-by: dcubed
2019-11-14 14:54:39 -08:00
Ioi Lam
5678f98a9e 8231610: Relocate the CDS archive if it cannot be mapped to the requested address
Reviewed-by: jiangli, coleenp, ccheung
2019-11-13 16:36:54 -08:00
Leo Korinth
1fc67ab002 8232365: Implementation for JEP 363: Remove the Concurrent Mark Sweep (CMS) Garbage Collector
Reviewed-by: kbarrett, tschatzl, erikj, coleenp, dholmes
2019-11-13 11:37:29 +01:00
Ioi Lam
6804e318db 8233855: [TESTBUG] appcds/FieldLayoutFlags.java failed to clean up files after test
Reviewed-by: hseigel
2019-11-08 11:03:00 -08:00
Ioi Lam
61a6ef79ae 8233086: [TESTBUG] need to test field layout style difference between CDS dump time and run time
Reviewed-by: fparain
2019-11-07 16:26:57 -08:00
Jie Fu
9ca5e79bf2 8233671: [TESTBUG] runtime/cds/appcds/sharedStrings/FlagCombo.java fails to compile without jfr
Reviewed-by: iklam
2019-11-06 15:20:06 +08:00
Jie Fu
9c2bb3ccf3 8233659: [TESTBUG] runtime/cds/appcds/CommandLineFlagCombo.java fails when jfr is disabled
Reviewed-by: iklam
2019-11-06 13:43:25 +08:00
Ioi Lam
1721476038 8232734: [TESTBUG] avoid using JDK symbols in ExtraSymbols.symbols.txt
Reviewed-by: ccheung
2019-11-04 12:36:54 -08:00
Jie Fu
75d143bcfc 8232593: [TESTBUG] runtime/cds/CheckDefaultArchiveFile.java fails when cds is disabled
Reviewed-by: iklam, dholmes
2019-10-18 14:15:10 +08:00
Calvin Cheung
1a3f40f25d 8231529: [TESTBUG] runtime/cds/appcds/dynamicArchive/DynamicLotsOfClasses.java shouldn't wrap SkippedException into Exception
Removed the try-catch in the test.

Reviewed-by: iklam, lfoltan
2019-10-09 16:42:18 -07:00
Calvin Cheung
b08a8c5cc3 8231606: _method_ordering is not set during CDS dynamic dump time
Add the missing DynamicDumpSharedSpaces check in sort_methods(); replace the (DumpSharedSpaces || DynamicDumpSharedSpaces) with the Arguments::is_dumping_archive() function call.

Reviewed-by: iklam, coleenp, jiangli
2019-10-02 16:55:08 -07:00
Calvin Cheung
0da443e7ae 8231097: [TESTBUG] runtime/cds/appcds/DirClasspathTest.java can fail with a mapping error
Check output for mapping failure and throw a SkippedException.

Reviewed-by: iklam, dholmes
2019-09-24 20:16:13 -07:00
Ioi Lam
c85075b31a 8231367: [TESTBUG] ParallelLoadTest.java fails with "test.dynamic.dump not supported"
Reviewed-by: ccheung
2019-09-24 10:36:35 -07:00
Ioi Lam
9c92ecba04 8231125: Improve testing of parallel loading of shared classes by the boot class loader
Reviewed-by: ccheung, coleenp, dholmes
2019-09-22 17:16:35 -07:00
Ioi Lam
988ac4fec0 8230586: Encapsulate fields in filemap.hpp
Reviewed-by: ccheung
2019-09-11 18:31:25 -07:00
Calvin Cheung
a1002d68fc 8230632: [TESTBUG] appcds/NonExistClasspath.java and ClassPathAttr.java failed when running in hotspot_appcds_dynamic test group
Exclude NonExistClasspath.java from the test group; increase timeout for ClassPathAttr.java.

Reviewed-by: dcubed, iklam
2019-09-05 11:12:12 -07:00
Ioi Lam
a2c067f6e8 8230294: runtime/cds/appcds/ClassPathAttr.java failed with jar operation failed
Reviewed-by: lfoltan
2019-08-28 07:41:57 -07:00
Ioi Lam
87eefe2e00 8227370: Remove SharedPathsMiscInfo
Reviewed-by: ccheung, jiangli
2019-08-27 22:14:52 -07:00
Calvin Cheung
63baaf7a56 8226645: [TESTBUG] some AppCDS tests rely on illegal reflective access
Updated tests to use Lookup.defineClass instead of ClassLoader.defineClass.

Reviewed-by: iklam, dholmes, alanb
2019-08-15 16:23:41 -07:00
Ioi Lam
e9b271dd10 8229267: [TESTBUG] Remove unnecessary @modules dependencies in CDS tests
Reviewed-by: alanb, lfoltan
2019-08-09 13:13:36 -07:00
Mikael Vidstedt
895db11053 Merge 2019-07-29 09:59:04 -07:00
Coleen Phillimore
1ed3649f48 8202339: [TESTBUG] Consolidate the tests in runtime/SharedArchiveFile and runtime/appcds
Add top level cds directory and adjust test groups

Reviewed-by: mseledtsov, ccheung
2019-07-29 10:34:20 -04:00