Skip to content

Commit 577bbd4

Browse files
committed
chore: add virtual thread system props
1 parent 0370520 commit 577bbd4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gradle/build-logic/common-plugins/src/main/kotlin/common/ProjectExtns.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,8 @@ fun Project.jvmArguments(forAppRun: Boolean = false) = buildList {
224224
// "-Djdk.lang.Process.launchMechanism=vfork",
225225
// "-Djdk.tls.maxCertificateChainLength=10",
226226
// "-Djdk.tls.maxHandshakeMessageSize=32768",
227+
// "-Djdk.virtualThreadScheduler.parallelism=",
228+
// "-Djdk.virtualThreadScheduler.maxPoolSize=256",
227229
// "--add-exports=java.management/sun.management=ALL-UNNAMED",
228230
// "--add-exports=jdk.attach/sun.tools.attach=ALL-UNNAMED",
229231
// "--add-opens=java.base/java.net=ALL-UNNAMED",

0 commit comments

Comments
 (0)