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

ZGC: Stop reloading oops in load barriers

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 14
    • None
    • 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).

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

              Created:
              Updated:
              Resolved: