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

ZGC: Fix fall through bug in ZBarrierSetC2::escape_add_final_edges()

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 12, 13
    • Fix Version/s: 13
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b05

      Description

      The switch statement in ZBarrierSetC2::escape_add_final_edges() has a fall through bug, letting the Op_LoadBarrierSlowReg/Op_LoadBarrierWeakSlowReg case fall through into the Op_Proj case.

      This was found during code inspection. We don't know of any real bugs caused by this.

        Attachments

          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: