ZGC: Simplify ZLoadBarrierStubC1

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 13
    • Affects Version/s: 13
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: