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

Shenandoah: reconsider ShenandoahJavaThreadsIterator::claim memory ordering

XMLWordPrintable

    • gc
    • b10

      JDK-8256298 added the thread iterator for thread roots, and I don't think we need the Hotspot's default memory_order_conservative, which emits two-way memory fences around the CASes at least on AArch64 and PPC64. The simple "relaxed" should do.

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: