[jdk22] Integrated: 8322818: Thread::getStackTrace can fail with InternalError if virtual thread is timed-parked when pinned

Alan Bateman alanb at openjdk.org
Tue Jan 16 08:22:25 UTC 2024


On Sat, 13 Jan 2024 18:08:03 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> Clean backport of P3 issue JDK-8322818. The test was initially problematic so I have to include the test-only fixes JDK-8323002 and JDK-8323296 (doing these as follow-on or dependent PRs wouldn't guarantee that would integrate at the same time).

This pull request has now been integrated.

Changeset: 628e31b8
Author:    Alan Bateman <alanb at openjdk.org>
URL:       https://git.openjdk.org/jdk22/commit/628e31b8c1ab425fa61219439c7f7f05fe6ea883
Stats:     126 lines in 2 files changed: 123 ins; 0 del; 3 mod

8322818: Thread::getStackTrace can fail with InternalError if virtual thread is timed-parked when pinned
8323002: test/jdk/java/lang/Thread/virtual/stress/GetStackTraceALotWhenPinned.java times out on macosx-x64
8323296: java/lang/Thread/virtual/stress/GetStackTraceALotWhenPinned.java#id1 timed out

Reviewed-by: jpai
Backport-of: 4db7a1c3bb6b56cc7416aa27350406da27fe04a8

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

PR: https://git.openjdk.org/jdk22/pull/72


More information about the core-libs-dev mailing list