Integrated: 8271348: Add stronger sanity check of thread state when polling for safepoint/handshakes

Daniel D.Daugherty dcubed at openjdk.java.net
Mon Aug 2 16:03:35 UTC 2021


On Thu, 29 Jul 2021 20:29:27 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:

> A trivial follow-up to:
> 
> JDK-8271251 JavaThread::java_suspend() fails with "fatal error: Illegal threadstate encountered: 6"
> 
> that adds a stronger sanity check of thread state when polling for safepoint/handshakes.
> 
> This fix was used to test @pchilano's fix for JDK-8271251 in my JDK17 Mach5
> Tier[1-8] runs for JDK-8271251. It has also been tested with Mach5 Tier[1-3]
> for jdk/jdk (JDK18).

This pull request has now been integrated.

Changeset: db950ca4
Author:    Daniel D. Daugherty <dcubed at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/db950ca41f3ab7823fa221e8e3f63caf3dd51ea3
Stats:     48 lines in 3 files changed: 20 ins; 16 del; 12 mod

8271348: Add stronger sanity check of thread state when polling for safepoint/handshakes

Co-authored-by: Patricio Chilano Mateo <pchilanomate at openjdk.org>
Reviewed-by: dholmes, pchilanomate

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

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


More information about the hotspot-runtime-dev mailing list