JDK-8233401 : Shenandoah: Refactor/cleanup Shenandoah load barrier code
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 11-shenandoah,14
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-11-01
  • Updated: 2020-11-27
  • Resolved: 2019-11-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 14
14 b22Fixed
Related Reports
Relates :  
Description
Shenandoah load barrier code is kind of messy. Let's do  around of cleanup/refactor to improve readability.

https://mail.openjdk.java.net/pipermail/shenandoah-dev/2019-November/010985.html
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/83810b7d12e7 User: zgu Date: 2019-11-06 14:52:02 +0000
06-11-2019

The refactor also eliminates the need of load_reference_barrier_native() barrier if GC only processes weak roots at pauses.
06-11-2019