RFR: Fix counter inccurate when creating platform/virtual thread by Thread…

Alan Bateman alanb at openjdk.java.net
Fri Jun 4 09:46:20 UTC 2021


On Fri, 4 Jun 2021 06:41:03 GMT, Miao Zheng <github.com+20216587+miao-zheng at openjdk.org> wrote:

> Fix counter inccurate when creating platform/virtual thread by ThreadBuilder using mutiple threads

A builder is not meant to be thread-safe. The ThreadFactory returned by the factory method is thread-safe.

-------------

PR: https://git.openjdk.java.net/loom/pull/45


More information about the loom-dev mailing list