8357018: Guidance for ParallelRefProcEnabled is wrong in the man pages

Reviewed-by: kbarrett, iwalulya
This commit is contained in:
Thomas Schatzl 2025-05-21 12:54:05 +00:00
parent 108e454a04
commit a175767ccf

View File

@ -2701,7 +2701,12 @@ Java HotSpot VM.
> `-XX:ParallelGCThreads=2`
`-XX:+ParallelRefProcEnabled`
: Enables parallel reference processing. By default, this option is disabled.
: Enables parallel reference processing. By default, collectors employing multiple
threads perform parallel reference processing if the number of parallel threads
to use is larger than one.
The option is available only when the throughput or G1 garbage collector is used
(`-XX:+UseParallelGC` or `-XX:+UseG1GC`). Other collectors employing multiple
threads always perform reference processing in parallel.
`-XX:+PrintAdaptiveSizePolicy`
: Enables printing of information about adaptive-generation sizing. By