You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not really a bug per se. The binary distributions of Adoptium do not contain the JDK base image. The OpenJDK distribution provides it out-of-the-box (as well as other vendors).
I've reproduced this with the latest LTS on MacOS: OpenJDK21U-jdk_aarch64_mac_hotspot_21.0.1_12.pkg
Please provide steps to reproduce where possible
Creating a dynamic AppCDS archive for an application can be done as follows:
The app-cds.jsa archive is created or updated with that training run.
Actual Results
[0.012s][warning][cds] -XX:ArchiveClassesAtExit is unsupported when base CDS archive is not loaded. Run with -Xlog:cds for more info.
Enabling the logs provides the following:
[0.010s][info][cds] trying to map /Library/Java/JavaVirtualMachines/temurin-21.jdk/Contents/Home/lib/server/classes.jsa
[0.010s][info][cds] Specified shared archive not found (/Library/Java/JavaVirtualMachines/temurin-21.jdk/Contents/Home/lib/server/classes.jsa)
[0.010s][info][cds] Initialize static archive failed.
[0.010s][warning][cds] -XX:ArchiveClassesAtExit is unsupported when base CDS archive is not loaded. Run with -Xlog:cds for more info.
[0.010s][info ][cds] Unable to map shared spaces
What Java Version are you using?
openjdk 21.0.1 2023-10-17 LTS OpenJDK Runtime Environment Temurin-21.0.1+12 (build 21.0.1+12-LTS) OpenJDK 64-Bit Server VM Temurin-21.0.1+12 (build 21.0.1+12-LTS, mixed mode)
What is your operating system and platform?
MacOS 13.6 (22G120) on ARM64
How did you install Java?
Via the official package OpenJDK21U-jdk_aarch64_mac_hotspot_21.0.1_12.pkg
Did it work before?
No.
Did you test with the latest update version?
No response
Did you test with other Java versions?
Yes. I tested with https://jdk.java.net/21/, https://download.java.net/java/GA/jdk21.0.1/415e3f918a1f4062a0074a2794853d0d/12/GPL/openjdk-21.0.1_macos-aarch64_bin.tar.gz in particular.
Relevant log output
No response
The text was updated successfully, but these errors were encountered:
We are marking this issue as stale because it has not been updated for a while. This is just a way to keep the support issues queue manageable.
It will be closed soon unless the stale label is removed by a committer, or a new comment is made.
We are marking this issue as stale because it has not been updated for a while. This is just a way to keep the support issues queue manageable.
It will be closed soon unless the stale label is removed by a committer, or a new comment is made.
Please provide a brief summary of the bug
It's not really a bug per se. The binary distributions of Adoptium do not contain the JDK base image. The OpenJDK distribution provides it out-of-the-box (as well as other vendors).
I've reproduced this with the latest LTS on MacOS:
OpenJDK21U-jdk_aarch64_mac_hotspot_21.0.1_12.pkg
Please provide steps to reproduce where possible
Creating a dynamic AppCDS archive for an application can be done as follows:
Expected Results
The
app-cds.jsa
archive is created or updated with that training run.Actual Results
Enabling the logs provides the following:
What Java Version are you using?
openjdk 21.0.1 2023-10-17 LTS OpenJDK Runtime Environment Temurin-21.0.1+12 (build 21.0.1+12-LTS) OpenJDK 64-Bit Server VM Temurin-21.0.1+12 (build 21.0.1+12-LTS, mixed mode)
What is your operating system and platform?
MacOS 13.6 (22G120) on ARM64
How did you install Java?
Via the official package
OpenJDK21U-jdk_aarch64_mac_hotspot_21.0.1_12.pkg
Did it work before?
Did you test with the latest update version?
No response
Did you test with other Java versions?
Yes. I tested with https://jdk.java.net/21/, https://download.java.net/java/GA/jdk21.0.1/415e3f918a1f4062a0074a2794853d0d/12/GPL/openjdk-21.0.1_macos-aarch64_bin.tar.gz in particular.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: