Skip to content

Commit 854de8c

Browse files
committed
8336147: Clarify CDS documentation about static vs dynamic archive
Reviewed-by: ccheung, shade
1 parent 16af473 commit 854de8c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/java.base/share/man/java.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3757,9 +3757,10 @@ general form:
37573757
be loaded on top of those in the `<static_archive>`.
37583758
- On Windows, the above path delimiter `:` should be replaced with `;`
37593759

3760-
(The names "static" and "dynamic" are used for historical reasons.
3761-
The only significance is that the "static" archive is loaded first and
3762-
the "dynamic" archive is loaded second).
3760+
The names "static" and "dynamic" are used for historical reasons. The dynamic
3761+
archive, while still useful, supports fewer optimizations than
3762+
available for the static CDS archive. If the full set of CDS/AOT
3763+
optimizations are desired, consider using the AOT cache described below.
37633764

37643765
The JVM can use up to two archives. To use only a single `<static_archive>`,
37653766
you can omit the `<dynamic_archive>` portion:

0 commit comments

Comments
 (0)