JDK-8339133 : [8u] Profiler crashes at guarantee(is_result_safe || is_in_asgct()): unsafe access to zombie method
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: 8,openjdk8u422
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-08-28
  • Updated: 2024-11-06
  • Resolved: 2024-10-29
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.
Other
openjdk8u442 b02Fixed
Related Reports
Relates :  
Description
This is another manifestation of the same issue as in JDK-8329103. This time, however, production JVM crashes, not a debug build.
The reason is `in_asgct` flag is not reset correctly when AsyncGetCallTrace() is called recursively. The fix is similar to JDK-8329103.
Comments
Changeset: 7e1ea515 Branch: master Author: Andrei Pangin <apangin@openjdk.org> Committer: Aleksey Shipilev <shade@openjdk.org> Date: 2024-10-29 15:43:49 +0000 URL: https://git.openjdk.org/jdk8u/commit/7e1ea515911827915c27c6568585c6c7906a74d9
06-11-2024

Changeset: 7e1ea515 Branch: master Author: Andrei Pangin <apangin@openjdk.org> Committer: Aleksey Shipilev <shade@openjdk.org> Date: 2024-10-29 15:43:49 +0000 URL: https://git.openjdk.org/jdk8u-dev/commit/7e1ea515911827915c27c6568585c6c7906a74d9
29-10-2024

From the 8u PR: An OpenJDK 8u specific bug has been created because: (1) in jdk8u, there is no assertion mentioned in the title of JDK-8329103; (2) the patch for JDK-8329103 does not apply to jdk8u, the fix needs to be implemented differently, although the idea is essentially the same.
29-10-2024

[jdk8u-fix-request] Approval Request from Andrei Pangin Low risk yet important fix for profiling robustness. Affects only AsyncGetCallTrace code.
28-08-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk8u-dev/pull/568 Date: 2024-08-28 02:13:23 +0000
28-08-2024