From a175767ccfb3dbcc04d1ba97f9fb2f57dc5ab5cf Mon Sep 17 00:00:00 2001 From: Thomas Schatzl Date: Wed, 21 May 2025 12:54:05 +0000 Subject: [PATCH] 8357018: Guidance for ParallelRefProcEnabled is wrong in the man pages Reviewed-by: kbarrett, iwalulya --- src/java.base/share/man/java.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/java.base/share/man/java.md b/src/java.base/share/man/java.md index 987dbf64159..1dba3c6ba54 100644 --- a/src/java.base/share/man/java.md +++ b/src/java.base/share/man/java.md @@ -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