RFR: 8257831: Suspend with handshakes [v3]

Robbin Ehn rehn at openjdk.java.net
Wed Apr 7 14:28:17 UTC 2021


On Wed, 31 Mar 2021 06:53:50 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Robbin Ehn has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains three commits:
>> 
>>  - Merge branch 'master' into SuspendInHandshake
>>  - Merge branch 'master' into SuspendInHandshake
>>  - 8257831: Suspend with handshake (review baseline)
>
> src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/Thread.java line 79:
> 
>> 77:   }
>> 78: 
>> 79:   public boolean isExternalSuspend() {
> 
> I assume a new SA API for thread suspension is needed here.

If it is important to ask if a thread is suspended.
The native stack-traces would easily show this.

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

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


More information about the serviceability-dev mailing list