pjfanning commented on code in PR #1724: URL: https://github.com/apache/pekko/pull/1724#discussion_r1925112232
########## docs/src/main/paradox/dispatchers.md: ########## @@ -44,6 +44,17 @@ You can read more about parallelism in the JDK's [ForkJoinPool documentation](ht When Running on Java 9+, you can use `maximum-pool-size` to set the upper bound on the total number of threads allocated by the ForkJoinPool. +**Experimental**: When Running on Java 21+, you can use `virtualize=on` to enable the virtual threads feature. +When using virtual threads, all virtual threads will use the same `unparker`, so you may want to +increase the number of `jdk.unparker.maxPoolSize`. + +NOTE: THIS IS AN ADVANCED OPTION, USE WITH CAUTION. +REQUIREMENTS: + +1. JDK 21+ +2. add options to the JVM: + - --add-opens=java.base/jdk.internal.misc=ALL-UNNAMED Review Comment: Could you put backticks around code to ensure that no funny markdown formatting happens? `--add-opens=java.base/jdk.internal.misc=ALL-UNNAMED` (likewise next line) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org For additional commands, e-mail: notifications-h...@pekko.apache.org