RFR: 8257831: Suspend with handshakes [v2]
Robbin Ehn
rehn at openjdk.java.net
Tue Apr 6 12:26:35 UTC 2021
On Wed, 31 Mar 2021 10:22:28 GMT, Richard Reingruber <rrich at openjdk.org> wrote:
>> My comment was about JVMTI_ERROR_THREAD_NOT_ALIVE
>
> Sure. I agree with your comment.
I think we should add JVMTI_ERROR_THREAD_SUSPENDED as @reinrich says, it is possible for someone to sneak in a second suspend request before us.
@dcubed-ojdk it seem like we could be posting JvmtiExport::post_monitor_contended_enter() from the ensure_join() which locks the threadObj.
So it might be best to treat this the same way as the others?
-------------
PR: https://git.openjdk.java.net/jdk/pull/3191
More information about the hotspot-runtime-dev
mailing list