JDK-8272723 : Don't use Access API to access primitive fields
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 18
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2021-08-19
  • Updated: 2021-10-18
  • Resolved: 2021-10-11
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 18
18 b19Fixed
Related Reports
Relates :  
Description
For earlier incarnations of Shenandoah, we needed to put barriers before accessing primitive fields. This is no longer necessary nor implemented/used by any GC, and we should simplify the code to do plain access instead.
Comments
Changeset: 3edee1e1 Author: Roman Kennke <rkennke@openjdk.org> Date: 2021-10-11 10:37:54 +0000 URL: https://git.openjdk.java.net/jdk/commit/3edee1e1feed564397ac47a32c0394d7798bac17
11-10-2021