ZGC: Stop reloading oops in load barriers

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 14
    • Affects Version/s: None
    • Component/s: hotspot
    • gc
    • b23

      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).

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

              Created:
              Updated:
              Resolved: