JDK-8189685 : need PerfMemory class update and a volatile_static_field support in VMStructs
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc-agent
  • Affected Version: 10
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-10-19
  • Updated: 2023-09-12
  • Resolved: 2023-08-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.
JDK 22
22 b13Fixed
Related Reports
Relates :  
Description
The VMStructs needs an update to support volatile_static_field.
The PerfMemory class (src/hotspot/share/runtime/perfMemory.hpp) has a couple of static fields that must be volatile:
   _initialized and _destroyed

The field '_destroyed' is added by a fix of JDK-8151815 that is in review now.

Comments
Changeset: b2728cb1 Author: Chris Plummer <cjplummer@openjdk.org> Date: 2023-08-29 20:55:11 +0000 URL: https://git.openjdk.org/jdk/commit/b2728cb139c9d8d378820f848afe8e83fe5be471
29-08-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/15373 Date: 2023-08-21 21:47:14 +0000
21-08-2023

Moved this bug to the svc-agent Subcomponent as the VMStructs update is a main part.
18-01-2018

Suggested fix.
07-11-2017