RFR: 8265683: vmTestbase/nsk/jdb tests failed with "JDWP exit error AGENT_ERROR_INTERNAL(181)"

Chris Plummer cjplummer at openjdk.java.net
Thu Apr 22 21:47:28 UTC 2021


On Thu, 22 Apr 2021 20:11:56 GMT, Daniel D. Daugherty <dcubed at openjdk.org> 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


More information about the serviceability-dev mailing list