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

ZGC: Fix incorrect match rule for loadBarrierWeakSlowRegNoVec

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 11, 12, 13
    • Fix Version/s: 12
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b26

      Backports

        Description

        The AD matching for loadBarrierWeakSlowRegNoVec is incorrect. It should match against a LoadBarrierWeakSlowReg, not LoadBarrierSlowReg. This can lead to incorrect barrier slow path being generated (weak instead of strong), which is really bad.

        Also the format lines for loadBarrier*SlowRegXmmAndYmm are missing the "AndYmm" part.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pliden Per Liden
                  Reporter:
                  pliden Per Liden
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: