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

Shenandoah: Remove racy assertion

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b06

      Description

      During concurrent weak root processing, it tries to CAS in NULL if the oop is dead, then asserts that the slot is indeed NULL.

      The assertion is racy, because there can be another thread to release the slot and then reuse it (that's why it uses CAS in the first place), that can result assertion to fail.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zgu Zhengyu Gu
                Reporter:
                zgu Zhengyu Gu
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: