-
Bug
-
Resolution: Fixed
-
P4
-
24, 25
-
b06
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8362052 | 25.0.1 | Ioi Lam | P4 | Resolved | Fixed | b02 |
JDK-8361611 | 25 | Ioi Lam | P4 | Resolved | Fixed | b31 |
https://docs.oracle.com/en/java/javase/22/docs/specs/man/java.html#application-class-data-sharing
"The names "static" and "dynamic" are used for historical reasons. The only significance is that the "static" archive is loaded first and the "dynamic" archive is loaded second."
However, there are more substantial differences:
JDK 23 and before
- Heap objects can only be stored in the static archive
- Classes that are verified with the old verifier during the dynamic dump cannot be archived
Since JDK 24
- -XX:+ArchiveInvokeDynamic [JDK-8293336] works only with the static archive.
"The names "static" and "dynamic" are used for historical reasons. The only significance is that the "static" archive is loaded first and the "dynamic" archive is loaded second."
However, there are more substantial differences:
JDK 23 and before
- Heap objects can only be stored in the static archive
- Classes that are verified with the old verifier during the dynamic dump cannot be archived
Since JDK 24
- -XX:+ArchiveInvokeDynamic [
- backported by
-
JDK-8361611 Clarify CDS documentation about static vs dynamic archive
-
- Resolved
-
-
JDK-8362052 Clarify CDS documentation about static vs dynamic archive
-
- Resolved
-
- links to
-
Commit(jdk25) openjdk/jdk/afe6bd69
-
Commit(master) openjdk/jdk/854de8c9
-
Review(jdk25) openjdk/jdk/26148
-
Review(master) openjdk/jdk/26109
(1 links to)