Skip to content

Commit 75ce44a

Browse files
committed
8355319: Update Manpage for Compact Object Headers (Production)
Reviewed-by: coleenp, dholmes, phh
1 parent 5c4f92b commit 75ce44a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1515,6 +1515,15 @@ These `java` options control the runtime behavior of the Java HotSpot VM.
15151515

15161516
This option is similar to `-Xss`.
15171517

1518+
`-XX:+UseCompactObjectHeaders`
1519+
: Enables compact object headers. By default, this option is disabled.
1520+
Enabling this option reduces memory footprint in the Java heap by
1521+
4 bytes per object (on average) and often improves performance.
1522+
1523+
The feature remains disabled by default while it continues to be evaluated.
1524+
In a future release it is expected to be enabled by default, and
1525+
eventually will be the only mode of operation.
1526+
15181527
`-XX:-UseCompressedOops`
15191528
: Disables the use of compressed pointers. By default, this option is
15201529
enabled, and compressed pointers are used. This will automatically limit

0 commit comments

Comments
 (0)