Skip to content

Add possibility to enable virtual worker threads in TCP, Web, and PG servers on Java 21+#3865

Merged
katzyn merged 2 commits intoh2database:masterfrom
katzyn:loom
Aug 8, 2023
Merged

Add possibility to enable virtual worker threads in TCP, Web, and PG servers on Java 21+#3865
katzyn merged 2 commits intoh2database:masterfrom
katzyn:loom

Conversation

@katzyn
Copy link
Contributor

@katzyn katzyn commented Aug 7, 2023

-tcpVirtualThreads true, -webVirtualThreads true, and -pgVirtualThreads true now can be used on Java 21 to use virtual threads for worker threads of these servers.

By default regular threads are used on all Java versions.

These flags might be useful when number of connections is very large.

@katzyn katzyn merged commit fcc5461 into h2database:master Aug 8, 2023
@katzyn katzyn deleted the loom branch August 8, 2023 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant