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

Shenandoah: reconsider pacing updates memory ordering

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b10

      Backports

        Description

        Shenandoah pacer uses atomic operations to update budget, progress, allocations seen. 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.

        This is excessive for pacing, as we do not piggyback memory effects on it. All pacing updates can use "relaxed".

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: