Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.

Commit 2945b78

Browse files
author
Vladimir Kozlov
committed
8279195: Document the -XX:+NeverActAsServerClassMachine flag
Reviewed-by: dholmes
1 parent 6588bed commit 2945b78

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

src/java.base/share/man/java.1

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1541,6 +1541,31 @@ and its committed regions.
15411541
.RE
15421542
.RE
15431543
.TP
1544+
.B \f[CB]\-XX:+NeverActAsServerClassMachine\f[R]
1545+
Enable the "Client VM emulation" mode which only uses the C1 JIT
1546+
compiler, a 32Mb CodeCache and the Serial GC.
1547+
The maximum amount of memory that the JVM may use (controlled by the
1548+
\f[CB]\-XX:MaxRAM=n\f[R] flag) is set to 1GB by default.
1549+
The string "emulated\-client" is added to the JVM version string.
1550+
.RS
1551+
.PP
1552+
By default the flag is set to \f[CB]true\f[R] only on Windows in 32\-bit
1553+
mode and \f[CB]false\f[R] in all other cases.
1554+
.PP
1555+
The "Client VM emulation" mode will not be enabled if any of the
1556+
following flags are used on the command line:
1557+
.IP
1558+
.nf
1559+
\f[CB]
1560+
\-XX:{+|\-}TieredCompilation
1561+
\-XX:CompilationMode=mode
1562+
\-XX:TieredStopAtLevel=n
1563+
\-XX:{+|\-}EnableJVMCI
1564+
\-XX:{+|\-}UseJVMCICompiler
1565+
\f[R]
1566+
.fi
1567+
.RE
1568+
.TP
15441569
.B \f[CB]\-XX:ObjectAlignmentInBytes=\f[R]\f[I]alignment\f[R]
15451570
Sets the memory alignment of Java objects (in bytes).
15461571
By default, the value is set to 8 bytes.

0 commit comments

Comments
 (0)