Shenandoah: Shenandoah concurrent root evacuation may race against OopStorage::release()

XMLWordPrintable

    • gc
    • b08

      Shenandoah evacuates OopStorage backed roots in concurrent phase, that may race against OopStorage::release().

      During concurrent evacuating OopStorage backed roots, other threads may call OopStorage::release() to release handle, for example:

      GC worker: load oop from handle ----- evacuate oop ------------------ store oop --
      Mutator: -------------------------------- null handle --- release handle ------------------
       

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

              Created:
              Updated:
              Resolved: