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

Shenandoah: reconsider verifier memory ordering

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 8-shenandoah, 11.0.9, 16, 17
    • 17
    • hotspot
    • gc
    • b10

    Description

      Shenandoah verifier uses lots of atomic operations. Unfortunately, Hotspot's default for atomic operations is memory_order_conservative, which emits two-way memory fences around the CASes at least on AArch64 and PPC64.

      In most cases, that is excessive for verifier, and "relaxed" would do.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: