JDK-8299274 : Add elements to resolved_references consistently
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-12-22
  • Updated: 2023-01-09
  • Resolved: 2023-01-06
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
Related Reports
Relates :  
Description
Currently, there are 4 places that add elements to the resolved_references array apart from CDS moving things.  Some are atomic to account for multi-threaded resolution.

We should move this to one place where we can verify that the oops passed in are good and the reads might also need memory ordering.
Comments
Changeset: 1e997292 Author: Coleen Phillimore <coleenp@openjdk.org> Date: 2023-01-06 13:57:23 +0000 URL: https://git.openjdk.org/jdk/commit/1e9972922a3d8232cf111a391584638b272a3a17
06-01-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/11834 Date: 2023-01-03 18:35:20 +0000
03-01-2023