JDK-8247213 : G1: Reduce usage of volatile in favour of Atomic operations
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 15
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2020-06-09
  • Updated: 2020-11-24
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
tbdUnresolved
Related Reports
Relates :  
Description
The volatile qualifier does not guarantee atomic operations by the standard. Instead of using volatile, we ought to use Atomic operations. This enhancement removes usage of volatile in G1 and instead uses a new class AtomicValue to do the operations.