RFR: 8274687: JDWP deadlocks if some Java thread reaches wait in blockOnDebuggerSuspend [v4]

Richard Reingruber rrich at openjdk.java.net
Wed Oct 13 12:16:49 UTC 2021


On Tue, 12 Oct 2021 21:45:03 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

>> Richard Reingruber has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Improve @summary section of test.
>
> test/jdk/com/sun/jdi/ResumeAfterThreadResumeCallTest.java line 100:
> 
>> 98:         // "resumee" is suspended now because of the breakpoint
>> 99:         // Calling Thread.resume() will block this thread.
>> 100: 
> 
> no need for empty line here

Done.

> test/jdk/com/sun/jdi/ResumeAfterThreadResumeCallTest.java line 176:
> 
>> 174:             mainThreadReturnedFromResumeCall = ((PrimitiveValue) v).booleanValue();
>> 175:             if (!resumedResumee) {
>> 176:                 // main thread should be still blocked.
> 
> "...should still be blocked"

Done.

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

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


More information about the serviceability-dev mailing list