Jie Fu
30cd47d421
8280499: runtime/cds/appcds/TestDumpClassListSource.java fails on platforms without AppCDS custom class loaders support
...
Reviewed-by: iklam
2022-01-24 04:37:51 +00:00
Calvin Cheung
b9ae77906e
8279675: CDS cannot handle non-existent JAR file in bootclassapth
...
Reviewed-by: iklam, minqi
2022-01-21 23:47:09 +00:00
Yumin Qi
d48279b0bf
8279009: CDS crashes when the source of an InstanceKlass is NULL
...
Reviewed-by: iklam, ccheung
2022-01-20 17:52:49 +00:00
Yumin Qi
b0496b0df6
8279970: two AppCDS tests fail after JDK-8261455
...
Reviewed-by: ccheung, iklam
2022-01-19 03:21:19 +00:00
Yumin Qi
1228b2f1f8
8261455: Automatically generate the CDS archive if necessary
...
Reviewed-by: iklam, ccheung
2022-01-13 00:23:05 +00:00
Ioi Lam
09cf5f19d7
8278602: CDS dynamic dump may access unloaded classes
...
Reviewed-by: coleenp, ccheung
2022-01-04 04:52:49 +00:00
Yumin Qi
9a478b347e
8279022: JCmdTestFileSafety.java should check file time stamp for test result
...
Reviewed-by: ccheung
2021-12-22 16:17:33 +00:00
Yumin Qi
a6903f806a
8279018: CRC calculation in CDS should not include _version and _head_size
...
Reviewed-by: iklam, ccheung
2021-12-22 16:14:59 +00:00
Calvin Cheung
8549d8b569
8277100: Dynamic dump can inadvertently overwrite default CDS archive
...
Reviewed-by: iklam, minqi, dholmes
2021-12-20 23:04:40 +00:00
Calvin Cheung
0dbe4c5d51
8278131: runtime/cds/appcds/dynamicArchive/* tests failing in loom repo
...
Reviewed-by: iklam, dholmes, minqi
2021-12-16 02:32:44 +00:00
Harold Seigel
14f7385a72
8277481: Obsolete seldom used CDS flags
...
Reviewed-by: iklam, ccheung, dholmes
2021-12-13 13:35:37 +00:00
Yumin Qi
3e93e0b809
8276769: -Xshare:auto should tolerate problems in the CDS archive
...
Reviewed-by: iklam, ccheung
2021-12-08 16:20:39 +00:00
Calvin Cheung
40d726b8aa
8278310: Improve logging in CDS DynamicLoaderConstraintsTest.java
...
Reviewed-by: iklam
2021-12-08 16:07:49 +00:00
Calvin Cheung
e4852c6f0a
8277998: runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest.java#custom-cl-zgc failed "assert(ZAddress::is_marked(addr)) failed: Should be marked"
...
Reviewed-by: iklam, minqi
2021-12-08 15:59:37 +00:00
Jie Fu
473ececaf5
8278174: runtime/cds/appcds/LambdaWithJavaAgent.java fails with release VMs
...
Reviewed-by: dholmes
2021-12-03 06:00:14 +00:00
Calvin Cheung
d2b16c8985
8276126: Dump time class transformation causes heap objects of non-boot classes to be archived
...
Reviewed-by: iklam, minqi
2021-12-02 14:39:27 +00:00
Ioi Lam
db55f9272c
8277343: dynamicArchive/SharedArchiveFileOption.java failed: '-XX:+RecordDynamicDumpInfo is unsupported when a dynamic CDS archive is specified in -XX:SharedArchiveFile:' missing
...
Reviewed-by: hseigel, ccheung
2021-11-18 08:49:07 +00:00
Ioi Lam
a77d8ddf11
8276787: Improve warning messages for -XX:+RecordDynamicDumpInfo
...
Reviewed-by: ccheung, stuefe
2021-11-16 21:03:33 +00:00
Calvin Cheung
bd92674be5
8276184: Exclude lambda proxy class from the CDS archive if its caller class is excluded
...
Reviewed-by: iklam, dholmes
2021-11-16 02:34:36 +00:00
Ioi Lam
8747882e4c
8276790: Rename GenericCDSFileMapHeader::_base_archive_path_offset
...
Reviewed-by: dholmes, ccheung
2021-11-09 07:18:06 +00:00
Ioi Lam
884915496f
8275846: read_base_archive_name() could read past the end of buffer
...
Reviewed-by: ccheung, stuefe
2021-11-07 21:38:59 +00:00
Yumin Qi
603bba282a
8271420: Extend CDS custom loader support to Windows platform
...
Reviewed-by: iklam, ccheung
2021-11-03 23:16:15 +00:00
Calvin Cheung
e5cd2692da
8274944: AppCDS dump causes SEGV in VM thread while adjusting lambda proxy class info
...
Reviewed-by: minqi, dholmes
2021-10-26 16:26:57 +00:00
Calvin Cheung
ee64ce9f14
8274937: Revert the timeout setting for DynamicLoaderConstraintsTest
...
Reviewed-by: dcubed, minqi
2021-10-15 16:53:00 +00:00
Fairoz Matte
d8f6b6c19a
8274718: runtime/cds/appcds/LambdaEagerInit.java fails with -XX:-CompactStrings
...
Reviewed-by: iklam, ccheung
2021-10-13 15:38:36 +00:00
Coleen Phillimore
110e38ded8
8274753: ZGC: SEGV in MetaspaceShared::link_shared_classes
...
8274935: dumptime_table has stale entry
Reviewed-by: eosterlund, iklam
2021-10-11 12:11:11 +00:00
Yumin Qi
8de77634c4
8273152: Refactor CDS FileMapHeader loading code
...
Reviewed-by: ccheung, iklam
2021-10-07 21:33:32 +00:00
Jie Fu
722d639fad
8274838: runtime/cds/appcds/TestSerialGCWithCDS.java fails on Windows
...
Reviewed-by: iklam, hseigel
2021-10-07 12:42:16 +00:00
Ioi Lam
6a573b888d
8273508: Support archived heap objects in SerialGC
...
Reviewed-by: tschatzl, ccheung
2021-09-28 06:23:47 +00:00
Ioi Lam
b98290444a
8271073: Improve testing with VM option VerifyArchivedFields
...
Reviewed-by: ccheung, minqi
2021-09-16 23:26:55 +00:00
Ioi Lam
922e86f4ff
8273522: Rename test property vm.cds.archived.java.heap to vm.cds.write.archived.java.heap
...
Reviewed-by: minqi, ccheung, mseledtsov
2021-09-10 22:45:26 +00:00
Daniel D. Daugherty
ba31eee4fc
8273109: runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest times out
...
Reviewed-by: bpb
2021-09-08 18:33:04 +00:00
Yumin Qi
d414a88d88
8273240: Dynamic test ArchiveConsistency.java should use CDSArchiveUtils
...
Reviewed-by: iklam
2021-09-03 20:36:48 +00:00
Jie Fu
a9a83b248e
8273256: runtime/cds/appcds/TestEpsilonGCWithCDS.java fails due to Unrecognized VM option 'ObjectAlignmentInBytes=64' on x86_32
...
Reviewed-by: dholmes, iklam
2021-09-02 04:10:46 +00:00
Ioi Lam
655ea6d42a
8270489: Support archived heap objects in EpsilonGC
...
Reviewed-by: shade, ccheung
2021-09-01 16:50:11 +00:00
Igor Ignatyev
989f39f810
8272552: mark hotspot runtime/cds tests which ignore external VM flags
...
Reviewed-by: mseledtsov, jiefu, dholmes, iklam
2021-08-17 03:45:26 +00:00
Ioi Lam
36e2ddad4d
8272348: Update CDS tests in anticipation of JDK-8270489
...
Reviewed-by: ccheung, minqi
2021-08-16 03:22:52 +00:00
Igor Ignatyev
bd27bb9cbe
8272345: macos doesn't check os::set_boot_path()
result
...
Reviewed-by: dholmes
2021-08-12 03:45:44 +00:00
Igor Ignatyev
75a06421e5
8272335: runtime/cds/appcds/MoveJDKTest.java doesn't check exit codes
...
Reviewed-by: iklam
2021-08-11 19:38:52 +00:00
Ioi Lam
e7b6f48182
8265602: -XX:DumpLoadedClassList should support custom loaders
...
Reviewed-by: ccheung, minqi
2021-08-06 05:58:48 +00:00
Jesper Wilhelmsson
c8add223a1
Merge
...
Reviewed-by: mikael
2021-08-03 01:01:25 +00:00
Yumin Qi
84f0231031
8271419: Refactor test code for modifying CDS archive contents
...
Reviewed-by: iklam, ccheung
2021-08-02 23:07:43 +00:00
Igor Ignatyev
ada58d13f7
8067223: [TESTBUG] Rename Whitebox API package
...
Reviewed-by: dholmes, kvn
2021-08-02 20:44:18 +00:00
Calvin Cheung
00195b85ed
8265604: Support unlinked classes in dynamic CDS archive
...
Reviewed-by: minqi, iklam
2021-07-20 02:06:42 +00:00
Yumin Qi
a4e5f08fef
8267281: Call prepare_for_dynamic_dumping for jcmd dynamic_dump
...
Reviewed-by: iklam, ccheung
2021-07-12 19:03:38 +00:00
Yumin Qi
f741e4ca74
8264735: Make dynamic dump repeatable
...
Reviewed-by: ccheung, iklam
2021-07-07 19:41:45 +00:00
Yumin Qi
e8206dbb17
8263538: SharedArchiveConsistency.java should test -Xshare:auto as well
...
Reviewed-by: iklam, ccheung
2021-07-06 22:27:13 +00:00
Patricio Chilano Mateo
2fd7943ec1
8256425: Obsolete Biased Locking in JDK 18
...
Reviewed-by: kvn, dholmes, dcubed, rrich
2021-06-24 18:54:41 +00:00
Yumin Qi
7c31903dd3
8267075: jcmd VM.cds should print directory of the output files
...
Reviewed-by: ccheung
2021-06-24 14:52:47 +00:00
Ioi Lam
bb24fa652a
8267189: Remove duplicated unregistered classes from dynamic archive
...
Reviewed-by: ccheung, minqi
2021-06-17 22:19:23 +00:00
Jesper Wilhelmsson
17295b1bb0
Merge
...
Reviewed-by: dcubed
2021-06-14 15:55:57 +00:00
Calvin Cheung
01054e6f5a
8268470: CDS dynamic dump asserts with JFR RecordingStream
...
Reviewed-by: minqi, iklam
2021-06-11 16:08:18 +00:00
Calvin Cheung
4fd2a14997
8267556: Enhance class paths check during runtime
...
Reviewed-by: minqi, iklam
2021-06-10 19:50:44 +00:00
Calvin Cheung
516e60a7ee
8268095: CDS MethodHandle tests should add -XX:-VerifyDependencies
...
Reviewed-by: iklam, minqi
2021-06-03 22:56:57 +00:00
Ioi Lam
ecf6112a21
8267958: [TESTBUG] cds DynamicLoaderConstraintsTest.java timed out
...
Reviewed-by: ccheung, jiefu
2021-06-02 19:05:42 +00:00
Jie Fu
6ffa3e66db
8267754: cds/appcds/loaderConstraints/LoaderConstraintsTest.java fails on x86_32 due to customized class loader is not supported
...
Reviewed-by: minqi, dholmes, iklam
2021-05-26 22:58:45 +00:00
Ioi Lam
209769b5ad
8267347: CDS record_linking_constraint asserts with unregistered class
...
Reviewed-by: minqi, ccheung
2021-05-24 21:52:13 +00:00
Calvin Cheung
1c7a1310d9
8267350: Archived old interface extends interface with default method causes crash
...
Reviewed-by: iklam, minqi
2021-05-20 21:03:13 +00:00
Yumin Qi
2066f497b9
8266764: [REDO] JDK-8255493 Support for pre-generated java.lang.invoke classes in CDS dynamic archive
...
Reviewed-by: ccheung, iklam
2021-05-16 02:26:46 +00:00
Ioi Lam
1e0ecd6d56
8265605: Cannot call BootLoader::loadClassOrNull before initPhase2
...
Reviewed-by: alanb, mchung
2021-05-14 06:26:41 +00:00
Harold Seigel
e14b026841
8243287: Removal of Unsafe::defineAnonymousClass
...
Reviewed-by: iklam, mchung, alanb, dholmes
2021-05-13 12:46:54 +00:00
Philippe Marschall
ab17be2835
8252530: Fix inconsistencies in hotspot whitebox
...
Reviewed-by: dholmes, amenkov
2021-05-12 23:14:30 +00:00
Calvin Cheung
25d99e5267
8266330: itableMethodEntry::initialize() asserts with archived old classes
...
Reviewed-by: iklam, minqi
2021-05-10 16:24:11 +00:00
Yumin Qi
04fad70437
8266765: [BACKOUT] JDK-8255493 Support for pre-generated java.lang.invoke classes in CDS dynamic archive
...
Reviewed-by: ccheung
2021-05-07 23:49:00 +00:00
Yumin Qi
43ad24feb2
8265465: jcmd VM.cds should keep already dumped archive when exception happens
...
Reviewed-by: iklam, ccheung
2021-05-07 03:01:32 +00:00
Yumin Qi
8b37d48770
8255493: Support for pre-generated java.lang.invoke classes in CDS dynamic archive
...
Reviewed-by: iklam, ccheung
2021-05-04 17:18:43 +00:00
Vladimir Kozlov
4785e112ae
8264806: Remove the experimental JIT compiler
...
Reviewed-by: iignatyev, erikj
2021-04-27 06:23:21 +00:00
Yumin Qi
20a373a0d0
8265393: VM crashes if both -XX:+RecordDynamicDumpInfo and -XX:SharedArchiveFile options are specified
...
Reviewed-by: iklam, ccheung
2021-04-23 21:51:11 +00:00
Calvin Cheung
9499175064
8261090: Store old classfiles in static CDS archive
...
Reviewed-by: iklam, minqi
2021-04-22 15:13:29 +00:00
Erik Gahlin
4dcaac1feb
8265036: JFR: Remove use of -XX:StartFlightRecording= and -XX:FlightRecorderOptions=
...
Reviewed-by: cjplummer
2021-04-20 15:53:45 +00:00
Erik Gahlin
7c37c022a1
8244190: JFR: When starting a JVM with -XX:StartFlightRecording, output is written to stdout
...
Reviewed-by: mgronlun
2021-04-16 17:26:13 +00:00
Yumin Qi
e7cbeba866
8259070: Add jcmd option to dump CDS
...
Reviewed-by: ccheung, iklam, mli
2021-04-15 05:21:24 +00:00
Ioi Lam
78d1164ce2
8214455: Relocate CDS archived regions to the top of the G1 heap
...
Reviewed-by: tschatzl, ccheung
2021-04-08 00:41:28 +00:00
Yumin Qi
d920f8588c
8264540: WhiteBox.metaspaceReserveAlignment should return shared region alignment
...
Reviewed-by: ccheung, iklam
2021-04-05 18:31:12 +00:00
Yi Yang
de495df78d
8264413: Data is written to file header even if its CRC32 was calculated
...
Reviewed-by: ccheung, minqi
2021-04-01 02:07:48 +00:00
Yumin Qi
928fa5b5f9
8244540: Print more information with -XX:+PrintSharedArchiveAndExit
...
Reviewed-by: iklam, ccheung
2021-03-31 03:10:38 +00:00
Yi Yang
b65219881d
8264429: Test runtime/cds/appcds/VerifyWithDefaultArchive.java assumes OpenJDK build
...
Reviewed-by: dcubed, shade
2021-03-30 14:45:55 +00:00
Yi Yang
bcdf4694e0
8264337: VM crashed when -XX:+VerifySharedSpaces
...
Reviewed-by: minqi, ccheung, shade
2021-03-30 07:20:10 +00:00
Aleksei Voitylov
133a63b4a1
8263968: CDS: java/lang/ModuleLayer.EMPTY_LAYER should be singleton
...
Reviewed-by: iklam, dholmes, alanb, redestad
2021-03-24 16:32:36 +00:00
Jie Fu
7b81f8e34b
8263915: runtime/cds/appcds/MismatchedPathTriggerMemoryRelease.java fails when UseCompressedClassPointers is off
...
Reviewed-by: minqi
2021-03-23 07:51:58 +00:00
Ioi Lam
2b93ae0019
8261480: MetaspaceShared::preload_and_dump should check exceptions
...
Reviewed-by: dholmes, ccheung
2021-03-18 04:15:58 +00:00
Ioi Lam
da9ead5e7f
8263399: CDS should archive only classes allowed by module system
...
Reviewed-by: ccheung, minqi
2021-03-14 06:01:57 +00:00
Igor Ignatyev
a7aba2b61c
8263549: 8263412 can cause jtreg testlibrary split
...
Reviewed-by: iklam, dcubed
2021-03-13 14:51:53 +00:00
Igor Ignatyev
0b68ced027
8263548: runtime/cds/appcds/SharedRegionAlignmentTest.java fails to compile after JDK-8263412
...
Reviewed-by: dcubed
2021-03-13 01:33:03 +00:00
Igor Ignatyev
e834f99d1d
8263412: ClassFileInstaller can't be used by classes outside of default package
...
Reviewed-by: iklam, coleenp, mseledtsov
2021-03-12 23:13:16 +00:00
Ioi Lam
0c8350edaf
8263460: DynamicArchiveRelocationTest.java fails in product VM
...
Reviewed-by: ccheung, dcubed
2021-03-12 21:45:01 +00:00
Coleen Phillimore
b932a62c44
8263470: Consolidate copies of getClassBytes in various tests
...
Reviewed-by: hseigel, stuefe, mseledtsov
2021-03-12 20:48:51 +00:00
Yumin Qi
3820ab9e82
8236847: CDS archive with 4K alignment unusable on machines with 64k pages
...
Reviewed-by: iklam, stuefe, erikj, ihse
2021-03-11 16:49:24 +00:00
Calvin Cheung
9399e1b710
8261918: two runtime/cds/appcds/VerifierTest failed with "Unable to use shared archive"
...
Reviewed-by: iklam, minqi
2021-03-10 17:18:36 +00:00
Ioi Lam
d8a9c3ca92
8263002: Remove CDS MiscCode region
...
Reviewed-by: coleenp, dholmes
2021-03-10 06:07:39 +00:00
Calvin Cheung
3212f80a80
8261937: LambdaForClassInBaseArchive: SimpleApp$$Lambda$1 missing
...
Reviewed-by: iklam, dcubed
2021-03-09 21:52:51 +00:00
Ioi Lam
75a5be8ac5
8263054: [testbug] SharedArchiveConsistency.java reuses jsa files
...
Reviewed-by: dholmes, minqi
2021-03-06 08:55:42 +00:00
Calvin Cheung
02fbcb52b8
8261532: Archived superinterface class cannot be accessed
...
Reviewed-by: minqi, iklam
2021-03-04 19:57:48 +00:00
Calvin Cheung
78cde64800
8261860: Crash caused by lambda proxy class loaded in Shutdown hook
...
Reviewed-by: iklam, minqi
2021-02-19 02:40:03 +00:00
Ioi Lam
d9744f6536
8261608: Move common CDS archive building code to archiveBuilder.cpp
...
Reviewed-by: coleenp, ccheung
2021-02-15 06:37:39 +00:00
Ioi Lam
c5ff454481
8250989: Consolidate buffer allocation code for CDS static/dynamic dumping
...
Reviewed-by: ccheung, coleenp
2021-02-07 07:10:38 +00:00
Calvin Cheung
0218917109
8258732: runtime/cds/appcds/dynamicArchive/DynamicArchiveRelocationTest.java fails
...
Reviewed-by: minqi, iklam
2021-02-05 17:23:48 +00:00
Calvin Cheung
55d62a5338
8213226: [TESTBUG] Reduce the usage of CDSTestUtils.executeAndLog()
...
Reviewed-by: iklam, minqi
2021-02-01 22:17:57 +00:00
Harold Seigel
181d63ffce
8260522: Clean up warnings in hotspot JTReg runtime tests
...
Reviewed-by: lfoltan, coleenp
2021-02-01 16:46:17 +00:00
Jesper Wilhelmsson
51e14f2e2a
Merge
2021-01-14 01:29:47 +00:00
Calvin Cheung
15dd8f3aa4
8259275: JRuby crashes while resolving invokedynamic instruction
...
Reviewed-by: iklam, minqi, lfoltan
2021-01-13 05:51:52 +00:00
Jesper Wilhelmsson
11bd7a814f
Merge
2020-12-17 03:04:19 +00:00
Calvin Cheung
b5a3a5b621
8258236: Segfault in ClassListParser::resolve_indy dumping static AppCDS archive
...
Reviewed-by: redestad, coleenp
2020-12-16 02:37:29 +00:00
David Holmes
1e77896838
8236225: Remove expired flags in JDK 17
...
8256717: Expire the long term obsoleted VM flags
Reviewed-by: coleenp, kvn
2020-12-16 00:00:12 +00:00
Yumin Qi
36e2097401
8255917: runtime/cds/SharedBaseAddress.java failed "assert(reserved_rgn != 0LL) failed: No reserved region"
...
Reviewed-by: ccheung, iklam, stuefe
2020-12-15 16:52:26 +00:00
Calvin Cheung
291ba97fab
8251267: CDS tests should use CDSTestUtils.getOutputDir instead of System.getProperty("user.dir")
...
Reviewed-by: minqi, iklam
2020-12-08 20:00:10 +00:00
Calvin Cheung
d8ac76fa09
8257651: LambdaEagerInit.java test failed in 2 different ways
...
Reviewed-by: iklam, lfoltan
2020-12-04 17:07:00 +00:00
Harold Seigel
e4497c9e69
8256718: Obsolete the long term deprecated and aliased Trace flags
...
Reviewed-by: sspitsyn, iklam, dholmes, coleenp
2020-12-03 13:14:57 +00:00
Calvin Cheung
3da30e991a
8257241: CDS should not handle disableEagerInitialization for archived lambda proxy classes
...
Reviewed-by: iklam, redestad, mchung
2020-12-02 22:17:46 +00:00
Calvin Cheung
c6ab0fdb15
8255990: Bitmap region of dynamic CDS archive is not unmapped
...
Reviewed-by: iklam, minqi
2020-11-12 16:14:29 +00:00
Ioi Lam
397bae20e9
8255860: Clean up CDS logging related to lambda
...
Reviewed-by: ccheung, minqi
2020-11-05 05:20:59 +00:00
Calvin Cheung
5348298f62
8255855: appcds/jigsaw/NewModuleFinderTest.java test failed due to unexpected NPE
...
Reviewed-by: iklam
2020-11-04 17:17:46 +00:00
Yumin Qi
9d5c9cc78b
8254309: appcds GCDuringDump.java failed - class must exist
...
Reviewed-by: ccheung, iklam
2020-10-31 00:08:37 +00:00
Calvin Cheung
36c150b199
8255489: Unify the parsing of @lambda-proxy and @lambda-form-invokers tags in a classlist
...
Reviewed-by: iklam, minqi
2020-10-30 22:01:59 +00:00
Sergey Bylokhov
2e510e04bd
8255043: Incorrectly styled copyright text
...
Reviewed-by: dholmes, trebari, jdv
2020-10-21 04:53:16 +00:00
Thomas Stuefe
7ba6a6bf00
8251158: Implementation of JEP 387: Elastic Metaspace
...
Reviewed-by: lkorinth, coleenp, iklam, rrich
2020-10-20 06:48:09 +00:00
Calvin Cheung
74ac77e2b1
8247666: Support Lambda proxy classes in static CDS archive
...
Reviewed-by: iklam, mchung
2020-10-19 18:27:50 +00:00
Yumin Qi
e49232a0d2
8254599: CDS dump should not warn about hidden classes
...
Reviewed-by: redestad, lfoltan, iklam
2020-10-13 04:05:21 +00:00
Yumin Qi
e4469d2c8c
8247536: Support for pre-generated java.lang.invoke classes in CDS static archive
...
Reviewed-by: iklam, mchung
2020-10-10 02:06:52 +00:00
Alex Menkov
3320fc0f52
8253372: [TESTBUG] update tests which require jvmti - hotspot
...
Reviewed-by: sspitsyn, iklam
2020-09-23 21:11:31 +00:00
Ioi Lam
03a4df0acd
8244778: Archive full module graph in CDS
...
Reviewed-by: erikj, coleenp, lfoltan, redestad, alanb, mchung
2020-09-13 14:45:12 +00:00
Calvin Cheung
e20004d7c1
8249625: cleanup unused SkippedException in the tests under cds/appcds/dynamicArchive/methodHandles
...
Reviewed-by: iklam
2020-09-08 19:00:50 +00:00
Ioi Lam
178eea6065
8249276: CDS archived objects must have "neutral" markwords
...
Reviewed-by: coleenp, dholmes
2020-08-11 22:05:56 -07:00
Ioi Lam
c1093dc244
8251213: [TESTBUG] CDS tests shouldn't write output files into test.classes directory
...
Reviewed-by: minqi, ccheung
2020-08-09 20:56:04 -07:00
Calvin Cheung
d7c7f70a6a
8249586: Test runtime/cds/appcds/DirClasspathTest.java will fail if run twice
...
Add the StandardCopyOption.REPLACE_EXISTING option when calling Files.copy().
Reviewed-by: iklam
2020-08-04 19:17:31 +00:00
Yumin Qi
4b076cb93f
8249624: update appcds/sharedStrings/IncompatibleOptions test in view of 8081416 closed as WNF
...
With CDS can archive with compressed oops off, the result of the test gives correct information.
Reviewed-by: iklam, dholmes
2020-07-24 10:29:27 -07:00
Mikael Vidstedt
09510a15a1
Merge
2020-07-10 23:12:29 -07:00
Igor Ignatyev
04280a0d05
8249000: vm.gc.X should take selected JIT into account
...
Reviewed-by: kvn
2020-07-10 11:52:35 -07:00
Calvin Cheung
ddcb17e1e0
8248112: array index out of bound in FileMapInfo::check_paths
...
Check runtime classpath lengths after calling create_path_array().
Reviewed-by: iklam, minqi
2020-07-07 22:47:59 +00:00
Calvin Cheung
3237e82b4b
8247526: [TESTBUG] runtime/cds/appcds/dynamicArchive tests failing with Graal
...
Adjusted the "shouldMatch" statement and increased the timeout of some tests.
Reviewed-by: iklam
2020-06-16 22:05:09 +00:00
Yumin Qi
5073b8c163
8247528: runtime/cds/appcds/jigsaw/modulepath/OptimizeModuleHandlingTest.java failing with Graal
...
OptimizeModuleHandlingTest.java should be disabled for jvmci since jvmci will set jdk.module.addmods.0=jdk.internal.vm.ci which lead to optimization disabled.
Reviewed-by: dcubed
2020-06-16 08:03:40 -07:00
Jie Fu
ca85c5ab15
8247522: assert(is_aligned(class_space_rs.base(), class_space_alignment)) failed: Sanity
...
Co-authored-by: Thomas Stuefe <thomas.stuefe@gmail.com>
Reviewed-by: stuefe, iklam
2020-06-13 23:10:26 +08:00
Calvin Cheung
30ff2ad58c
8246382: assert in MetaspaceShared::map_archives
...
Perform base archive header CRC check earlier.
Reviewed-by: iklam, coleenp
2020-06-11 15:47:36 +00:00
Thomas Stuefe
2085fd32ff
8247252: TestCombinedCompressedFlags.java failed src/hotspot/share/services/virtualMemoryTracker.cpp:388 Error: ShouldNotReachHere()
...
Reviewed-by: minqi, dholmes
2020-06-11 12:51:09 +02:00
Yumin Qi
96fadefaa3
8240245: Avoid calling is_shared_class_visible() in SystemDictionary::load_shared_class()
...
SystemDitionary::load_shared_class can avoid calling is_shared_class_visible if dumptime and runtime do not use modulepath and boot classpath appending.
Reviewed-by: iklam, ccheung
2020-06-10 23:16:27 -07:00
Calvin Cheung
847a3baca8
8198698: Support Lambda proxy classes in dynamic CDS archive
...
Added archving of hidden classes of type lambda proxy classes.
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: mchung, iklam, dholmes
2020-06-10 15:50:26 +00:00
Calvin Cheung
dc74336a65
8243586: Optimize calls to SystemDictionaryShared::define_shared_package for classpath
...
Define_shared_package only needs to be called once for each package in a jar specified in the shared class path.
Reviewed-by: iklam, dholmes, minqi
2020-07-01 21:05:14 +00:00
Calvin Cheung
a0a0539b0d
8248112: array index out of bound in FileMapInfo::check_paths
...
Check runtime classpath lengths after calling create_path_array().
Reviewed-by: iklam, minqi
2020-06-26 19:26:30 +00:00
Ioi Lam
1e45eb3b13
8248235: appcds/jigsaw/PatchModule/Simple.java failed when running in dynamic CDS mode
...
Reviewed-by: minqi
2020-06-24 13:52:01 -07:00
Ioi Lam
27fc8b6787
8246546: Simplify SystemDictionary::is_shared_class_visible
...
Reviewed-by: minqi, ccheung
2020-06-23 21:23:00 -07:00
Jesper Wilhelmsson
6d2959b393
Merge
2020-06-17 05:28:05 +02:00
Jesper Wilhelmsson
e33ebc7f0a
Merge
2020-06-16 04:20:30 +02:00
Ioi Lam
c82c50b2a2
8245925: G1 allocates EDEN region after CDS has executed GC
...
Reviewed-by: jiangli, minqi, tschatzl
2020-06-14 01:19:48 -07:00
Calvin Cheung
0e4829ef0a
8245060: remove copying of s.h.WB$WhiteBoxPermission in cds/appcds tests
...
Reviewed-by: dholmes, minqi, iklam
2020-06-12 16:48:27 +00:00
Ioi Lam
f39a71cafe
8243506: SharedBaseAddress is ignored by -Xshare:dump
...
Reviewed-by: stuefe, ccheung
2020-06-02 01:08:44 -07:00
Thomas Stuefe
04e6b743db
8243392: Remodel CDS/Metaspace storage reservation
...
Reviewed-by: iklam, coleenp, ngasson, aph
2020-05-24 19:25:29 +02:00
Mikael Vidstedt
071bd521bc
8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
...
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
Calvin Cheung
71cc95e4b1
8243947: [TESTBUG] hotspot/jtreg:hotspot_appcds_dynamic fails when the JDK doesn't have default CDS archive
...
Generate a default CDS archive when necessary before running AppCDS dynamic tests.
Reviewed-by: iklam
2020-05-14 20:34:18 +00:00
Erik Österlund
382e5dc334
8241825: Make compressed oops and compressed class pointers independent (x86_64, PPC, S390)
...
Reviewed-by: coleenp, fparain, stuefe, mdoerr
2020-05-13 09:36:12 +00:00
Igor Ignatyev
9f86d94580
8244491: make runtime/cds/appcds/TestZGCWithCDS.java test more robust
...
Reviewed-by: dholmes
2020-05-05 18:02:11 -07:00
Igor Ignatyev
bc8065facd
8244485: runtime/cds/appcds/TestZGCWithCDS.java fails after 8244385
...
Reviewed-by: dcubed
2020-05-05 14:55:23 -07:00
Igor Ignatyev
c976be69c3
8244385: various clean-ups in runtime tests
...
Reviewed-by: minqi
2020-05-05 09:27:22 -07:00
Stefan Karlsson
81597d9f8f
8244078: ProcessTools executeTestJvm and createJavaProcessBuilder have inconsistent handling of test.*.opts
...
Reviewed-by: dholmes, cjplummer
2020-05-04 21:20:39 +02:00
Yumin Qi
832272da71
8178349: Cache builtin class loader constraints to avoid re-initializing itable/vtable for shared classes
...
Record loader constraints for built-in class which is loaded by app loader or platform loader in shared archive in dump time. When the class loaded from shared archive at runtime, directly check loader constraints using the saved info so avoid lengthy relayout i/v-table at class link stage.
Reviewed-by: iklam, ccheung
2020-05-01 10:58:45 -07:00
Stefan Karlsson
35af52dd4f
8244010: Simplify usages of ProcessTools.createJavaProcessBuilder in our tests
...
Reviewed-by: lmesnik, iignatyev, coleenp, dholmes
2020-04-29 08:52:18 +02:00
Igor Ignatyev
70e632d5ec
8243935: remove copying of s.h.WB$WhiteBoxPermission in hotspot tests
...
Reviewed-by: dholmes, stefank
2020-04-28 19:57:02 -07:00
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
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