On Thu, 22 Apr 2021 20:11:56 GMT, Daniel D. Daugherty <[email protected]>
wrote:
> Do you plan to another bug to continue your investigation?
Yes. The search of runningThreads becomes a performance issue in Loom when the
list could have a million items.
> src/jdk.jdwp.agent/share/native/libjdwp/threadControl.c line 260:
>
>> 258: * thread has terminated, but the ThreadNode may still be
>> present.
>> 259: */
>> 260: if ( node == NULL ) {
>
> nit - s/( /(/ and s/ )/)/
The extra spaces are intentional to remain consistent with the surrounding code.
-------------
PR: https://git.openjdk.java.net/jdk/pull/3634