Commit Graph

119 Commits

Author SHA1 Message Date
Roman Kennke
44ec501a41 8305895: Implement JEP 450: Compact Object Headers (Experimental)
Co-authored-by: Sandhya Viswanathan <sviswanathan@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Hamlin Li <mli@openjdk.org>
Co-authored-by: Thomas Stuefe <stuefe@openjdk.org>
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: coleenp, stefank, stuefe, phh, ihse, lmesnik, tschatzl, matsaave, rcastanedalo, vpaprotski, yzheng, egahlin
2024-11-08 17:21:39 +00:00
Ramkumar Sunderbabu
7404ddf24a 8202100: Merge vm/share/InMemoryJavaCompiler w/ jdk/test/lib/compiler/InMemoryJavaCompiler
Reviewed-by: lmesnik
2024-10-30 15:45:03 +00:00
Calvin Cheung
0bdfe88e4c 8328313: Archived module graph should allow identical --module-path to be specified during dump time and run time
Reviewed-by: alanb, dholmes, iklam
2024-10-02 15:51:56 +00:00
Chen Liang
adaa509b6e 8327499: MethodHandleStatics.traceLambdaForm includes methods that cannot be generated
Reviewed-by: redestad, iklam
2024-05-13 09:11:49 +00:00
Calvin Cheung
41450e9405 8314250: CDS dump error message: Invoker type parameter must start and end with Object: L3I_L
Reviewed-by: iklam, matsaave
2024-03-11 20:49:20 +00:00
Calvin Cheung
841ab487f8 8322657: CDS filemap fastdebug assert while loading Graal CE Polyglot in isolated classloader
Reviewed-by: matsaave, dholmes
2024-01-08 23:53:06 +00:00
Matias Saavedra Silva
1b621f5527 8321474: TestAutoCreateSharedArchiveUpgrade.java should be updated with JDK 21
Reviewed-by: dholmes, iklam
2023-12-12 22:49:41 +00:00
Maxim Kartashev
fd31f6a166 8321183: Incorrect warning from cds about the modules file
Reviewed-by: ccheung, iklam
2023-12-05 17:17:14 +00:00
Coleen Phillimore
316b78336c 8321276: runtime/cds/appcds/dynamicArchive/DynamicSharedSymbols.java failed with "'17 2: jdk/test/lib/apps ' missing from stdout/stderr"
Reviewed-by: dcubed
2023-12-04 18:01:31 +00:00
Leo Korinth
d52a995f35 8315097: Rename createJavaProcessBuilder
Reviewed-by: lmesnik, dholmes, rriggs, stefank
2023-10-27 08:47:26 +00:00
Axel Boldt-Christmas
50a7a04e9a 8316417: ObjectMonitorIterator does not return the most recent monitor and is incorrect if no monitors exists
Reviewed-by: cjplummer, dholmes
2023-09-27 08:16:34 +00:00
Calvin Cheung
f226ceb435 8316440: LambdasInTwoArchives.java failed to find WhiteBox.class
Reviewed-by: iklam
2023-09-19 00:12:36 +00:00
Calvin Cheung
25e85db61c 8307468: CDS Lambda Proxy classes are regenerated in dynamic dump
Reviewed-by: iklam
2023-09-06 15:37:03 +00:00
Calvin Cheung
1cb2cc6587 8308464: Shared array class should not always be loaded in boot loader
Reviewed-by: dholmes, iklam
2023-08-28 22:05:15 +00:00
Oli Gillespie
4b2703ad39 8313678: SymbolTable can leak Symbols during cleanup
Reviewed-by: coleenp, dholmes, shade
2023-08-14 15:58:03 +00:00
Calvin Cheung
dc14247077 8309240: Array classes should be stored in dynamic CDS archive
Reviewed-by: iklam
2023-08-01 22:08:55 +00:00
Calvin Cheung
bf7077752a 8312181: CDS dynamic dump crashes when verifying unlinked class from static archive
Reviewed-by: iklam, matsaave
2023-08-01 20:31:25 +00:00
Matias Saavedra Silva
a667213ec5 8281715: Move "base CDS archive not loaded" tests to SharedArchiveFileOption.java
Reviewed-by: ccheung, iklam
2023-05-11 19:37:16 +00:00
Calvin Cheung
b2240bf870 8304696: Duplicate class names in dynamicArchive tests can lead to test failure
Reviewed-by: iklam
2023-04-21 22:11:40 +00:00
David Holmes
63ce88b5fb 8304147: JVM crash during shutdown when dumping dynamic archive
Reviewed-by: ccheung, matsaave, coleenp
2023-03-27 22:05:23 +00:00
Matias Saavedra Silva
206661d45f 8281941: Change CDS warning messages to use Unified Logging
Reviewed-by: dholmes, ccheung
2023-03-10 17:11:48 +00:00
David M. Lloyd
b527edd338 8292914: Lambda proxies have unstable names
Change the name of generated lambda proxy classes so that they no longer have a numerical suffix.

Reviewed-by: mchung
2023-02-27 17:18:44 +00:00
Calvin Cheung
53f72edcf6 8286510: Tests under dynamicArchive/methodHandles should check for loading of lambda proxy classes
Reviewed-by: iklam
2023-02-07 18:48:57 +00:00
Matias Saavedra Silva
77f2d20e96 8287873: Add test for using -XX:+AutoCreateSharedArchive with different JDK versions
Reviewed-by: iklam
2023-01-20 00:55:28 +00:00
Matias Saavedra Silva
a249a52501 8296754: AutoCreateSharedArchive in JDK 20 is not compatible with JDK 19
Reviewed-by: ccheung, iklam, erikj
2022-11-28 15:26:27 +00:00
Calvin Cheung
3eb6d0e2f8 8291991: Adjust the "shared class paths mismatch" message if class path logging is enabled
Reviewed-by: iklam, matsaave
2022-11-16 15:47:32 +00:00
Calvin Cheung
427f50624f 8279366: CDS should allow alternative locations for JAR files in classpath
Reviewed-by: iklam, coleenp
2022-10-25 17:52:18 +00:00
Magnus Ihse Bursie
d5a1521fde 8295470: Update openjdk.java.net => openjdk.org URLs in test code
Reviewed-by: michaelm, prr, darcy
2022-10-20 10:33:18 +00:00
Matias Saavedra Silva
3466e99934 8294691: dynamicArchive/RelativePath.java is running other test case
Reviewed-by: iklam, ccheung
2022-10-07 20:44:35 +00:00
Coleen Phillimore
5934669ca8 8292383: Create a SymbolHandle type to use for ResourceHashtable
Reviewed-by: iklam, hseigel
2022-09-07 14:50:58 +00:00
Ioi Lam
57aac2ab65 8290981: Enable CDS for zero builds
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Reviewed-by: erikj, shade, ihse
2022-08-19 19:16:33 +00:00
Christian Stein
82dbe29fc8 8292633: runtime/cds/appcds/dynamicArchive/CDSStreamTestDriver.java fails to compile
Reviewed-by: dcubed, dholmes
2022-08-18 23:29:39 +00:00
Christian Stein
62a7fc60d3 8292315: Tests should not rely on specific JAR file names (hotspot)
Reviewed-by: vromero
2022-08-18 17:26:14 +00:00
Calvin Cheung
c3d3662e52 8292313: 2 runtime/cds/appcds tests fail after JDK-8284313
Reviewed-by: hseigel, iklam
2022-08-16 16:26:59 +00:00
Calvin Cheung
22d6d315f2 8284313: Improve warning messages when CDS archive fails to load
Reviewed-by: iklam, dholmes
2022-08-12 16:39:55 +00:00
Ioi Lam
66f59c2c16 8290731: Clean up CDS handling of LambdaForm Species classes
Reviewed-by: ccheung
2022-07-21 21:32:30 +00:00
Thomas Schatzl
984cd02dfb 8290707: runtime/cds/appcds/dynamicArchive/DynamicLambdaWithUseImplMethodHandle.java fails with "Can't find sun.hotspot.whitebox"
Reviewed-by: dholmes
2022-07-20 12:34:55 +00:00
Jesper Wilhelmsson
a3e07d950a Merge 2022-07-20 07:39:01 +00:00
Ioi Lam
4dc421caa0 8290417: CDS cannot archive lamda proxy with useImplMethodHandle
Reviewed-by: dholmes, ccheung, mchung
2022-07-19 04:37:28 +00:00
Coleen Phillimore
0c37008917 8275662: remove test/lib/sun/hotspot
Reviewed-by: mseledtsov, sspitsyn, lmesnik
2022-07-11 13:07:03 +00:00
Coleen Phillimore
e7795851d2 8271707: migrate tests to use jdk.test.whitebox.WhiteBox
Reviewed-by: lmesnik, dholmes
2022-07-08 15:55:14 +00:00
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