Java Reference
In-Depth Information
Flag
What it does
When to use it
See also
Prints summary in-
formation about
TLABs in the GC
log.
When using a JVM without support
for JFR, use this to ensure that TLAB
allocation is working efficiently.
Thread-loc-
al allocation
buffers
-XX:+PrintTLAB
Sets the size of the
TLABs.
When the application is performing a
lot of allocation outside of TLABs, use
this value to increase the TLAB size.
Thread-loc-
al allocation
buffers
-XX:TLABSize= N
Disables resizing of
TLABs.
Whenever TLABSize is specified, make
sure to disable this flag.
Thread-loc-
al allocation
buffers
-XX:-ResizeTLAB
Table A-8. Flags for thread handling
Flag
What it does
When to use it
See also
Sets the size of the nat-
ive stack for threads.
Particularly on 32-bit JVMs, decrease this size to
make more memory available for other parts of the
JVM.
Tuning
Thread
Stack Sizes
-Xss<N>
Disables the biased
locking algorithm of the
JVM.
Often helps performance of the thread pool based ap-
plications.
Biased
Locking
-XX:-
BiasedLocking
Search WWH ::




Custom Search