RFR: 8284161: Implementation of Virtual Threads (Preview) [v8]

Alan Bateman alanb at openjdk.java.net
Wed Apr 27 19:46:59 UTC 2022


On Wed, 27 Apr 2022 18:16:54 GMT, Mandy Chung <mchung at openjdk.org> wrote:

>> I was wondering that too, but held off commenting since it's not super performance critical given `classToHashes` is synchronized on. However, it does make the code a little clearer.
>
> It's not critical and no problem if this is cleaned up as a follow-up.

Good idea, this could be improved. As Paul says, it's not performance critical as this is a diagnostic option for printing the stack trace when pinned.

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

PR: https://git.openjdk.java.net/jdk/pull/8166


More information about the core-libs-dev mailing list