JDK-8306006 : strace001.java fails due to unknown methods on stack
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-04-14
  • Updated: 2023-05-27
  • Resolved: 2023-04-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 21
21 b19Fixed
Related Reports
Relates :  
Description
In 8304919: Implementation of Virtual Threads two new method calls were add to sleep(). This test checks the stack trace and looks for known methods during sleeps.

java.lang.Thread.beforeSleep and afterSleep should be added to expectedSystemTrace, which contains the known methods on stack during a sleep() call.
Comments
The fix for this bug is in jdk-21+19-1557.
19-04-2023

Changeset: a31a11f4 Author: Fredrik Bredberg <fredrik.bredberg@oracle.com> Committer: Alan Bateman <alanb@openjdk.org> Date: 2023-04-19 15:04:27 +0000 URL: https://git.openjdk.org/jdk/commit/a31a11f44a8477c2fbfde929b5c725f819470d25
19-04-2023

Why wasn't this test ProblemListed days ago?
19-04-2023

Here's the logs from my jdk-21+18 stress run sighting on macosx-aarch64: $ unzip -l jdk-21+18_macosx-aarch64.8306006.zip Archive: jdk-21+18_macosx-aarch64.8306006.zip Length Date Time Name --------- ---------- ----- ---- 40890 04-15-2023 12:10 jdk-21+18_3/failures.macosx-aarch64/TestDescription.jtr.slowdebug.1 --------- ------- 40890 1 file
17-04-2023

Bumped from P5 -> P4 since this has started showing up in the JDK21 CI.
15-04-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/13476 Date: 2023-04-14 13:27:37 +0000
14-04-2023