Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8230661

ZGC: Stop reloading oops in load barriers

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 14
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b23

      Description

      Today, after a load has been performed, and the oop is bad, it will go through a load barrier. The load barrier sometimes reloads the oop and returns a potentially different object to the one passed in. It would be easier to reason about what happens if the load barrier returns the same logical object that was passed in (or NULL if it is dead).

        Attachments

          Activity

            People

            • Assignee:
              eosterlund Erik Ă–sterlund
              Reporter:
              eosterlund Erik Ă–sterlund
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: