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

ZGC: Simplify ZLoadBarrierStubC1

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 13
    • 13
    • hotspot
    • gc
    • b06

      We can simplify ZLoadBarrierStubC1 a little bit since we know that _ref_addr is always a LIR_Address and never a Register. In the ZLoadBarrierStubC1 constructor we can just assert that this is always true. Later, when emitting code, we can just use the presence of the tmp register as indicator that we need to load the effective address.

            pliden Per Liden (Inactive)
            pliden Per Liden (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: