On Wed, 27 Apr 2022 18:16:54 GMT, Mandy Chung <mch...@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

Reply via email to