Commit Graph

119 Commits

Author SHA1 Message Date
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