JDK-8299032 : Interface IN_NATIVE oop stores for C2
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-12-19
  • Updated: 2023-01-13
  • Resolved: 2023-01-13
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 masterFixed
Description
Loom added the first IN_NATIVE oop store to C2 code, when switching the current virtual thread of a platform thread. Instead of interfacing this properly, a raw store was used. But a future GC algorithm, such as generational ZGC, might not work well with raw stores. We should add support to the access API for this.
Comments
Changeset: e7fa150b Author: Erik Ă–sterlund <eosterlund@openjdk.org> Date: 2023-01-13 12:48:30 +0000 URL: https://git.openjdk.org/jdk/commit/e7fa150bc15b1bf5ab8921bfdf1a628ae08f5624
13-01-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/11777 Date: 2022-12-23 13:54:44 +0000
23-12-2022