Commit Graph

78 Commits

Author SHA1 Message Date
Ioi Lam
68c5957b9e 8287869: -XX:+AutoCreateSharedArchive doesn't work when JDK build is switched
Reviewed-by: ccheung, dholmes
2022-06-07 23:11:33 +00:00
Ioi Lam
646c8aaeec 8286277: CDS VerifyError when calling clone() on object array
Reviewed-by: dholmes, ccheung
2022-05-23 16:23:12 +00:00
Calvin Cheung
070a0cda31 8286551: JDK-8286460 causes tests to fail to compile in Tier2
Reviewed-by: dcubed
2022-05-10 20:20:37 +00:00
Christian Stein
52dbfa99fe 8286460: Remove dependence on JAR filename in CDS tests
Reviewed-by: ccheung, iklam
2022-05-10 18:13:41 +00:00
Calvin Cheung
29ccb8fbb8 8285914: AppCDS crash when using shared archive with old class file
Reviewed-by: dholmes, iklam
2022-05-09 16:00:57 +00:00
Calvin Cheung
73f3e17ea7 8213445: jcmd VM.symboltable and VM.stringtable -verbose output contains no shared symbols or strings
Reviewed-by: iklam, dholmes
2022-04-21 15:40:29 +00:00
Ioi Lam
16f649b9c5 8281678: appcds/dynamicArchive/ArchiveConsistency.java fails after JDK-8279997
Reviewed-by: shade, dcubed
2022-02-14 18:53:50 +00:00
Calvin Cheung
c5ff6e45de 8223077: module path support for dynamic CDS archive
Reviewed-by: iklam, minqi
2022-02-11 17:39:20 +00:00
Yumin Qi
e75e8cd708 8279997: check_for_dynamic_dump should not exit vm
Reviewed-by: ccheung, iklam
2022-02-11 16:42:07 +00:00
Yumin Qi
8e4ef818a9 8280767: -XX:ArchiveClassesAtExit does not archive BoundMethodHandle$Species classes
Reviewed-by: iklam, ccheung
2022-02-04 19:20:22 +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
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
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
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
Yumin Qi
8de77634c4 8273152: Refactor CDS FileMapHeader loading code
Reviewed-by: ccheung, iklam
2021-10-07 21:33:32 +00:00
Yumin Qi
d414a88d88 8273240: Dynamic test ArchiveConsistency.java should use CDSArchiveUtils
Reviewed-by: iklam
2021-09-03 20:36:48 +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
Ioi Lam
bb24fa652a 8267189: Remove duplicated unregistered classes from dynamic archive
Reviewed-by: ccheung, minqi
2021-06-17 22:19:23 +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
516e60a7ee 8268095: CDS MethodHandle tests should add -XX:-VerifyDependencies
Reviewed-by: iklam, minqi
2021-06-03 22:56:57 +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
Harold Seigel
e14b026841 8243287: Removal of Unsafe::defineAnonymousClass
Reviewed-by: iklam, mchung, alanb, dholmes
2021-05-13 12:46:54 +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
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
Calvin Cheung
9499175064 8261090: Store old classfiles in static CDS archive
Reviewed-by: iklam, minqi
2021-04-22 15:13:29 +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
Igor Ignatyev
a7aba2b61c 8263549: 8263412 can cause jtreg testlibrary split
Reviewed-by: iklam, dcubed
2021-03-13 14:51:53 +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
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
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
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