Strange interaction with hyperthreading on Intel hybrid CPU
Alan Bateman
Alan.Bateman at oracle.com
Tue Oct 10 13:56:37 UTC 2023
On 10/10/2023 12:52, Michael van Acken wrote:
>
>
> Is there a way to change the number of carrier threads? Something like
> "this line in this .java file" would suffice for me to make images and
> compare the effect.
>
There's a table of system properties in the java.lang.Thread javadoc
with the configuration, you probably want
-Djdk.virtualThreadScheduler.maxPoolSize=<N> for your testing. It's hard
to know what to take from your mail as virtual thread are only going to
help if most of the time is spent blocking at the queue, the compilation
and class generation tasks seem very compute bound.
-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20231010/544a7f7c/attachment.htm>
More information about the loom-dev
mailing list