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

Shenandoah: Improve SATB enqueueing

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8-shenandoah, 11-shenandoah, 13
    • Fix Version/s: 13
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b15
    • CPU:
      x86_64, aarch64
    • OS:
      generic

      Description

      In some paths, we currently check GC state 3 times before enqueueing an oop in SATB buffer: 1. conc-mark in progress (global or local), 2. SATB active (global) 3. SATB active (local). This should be streamlined to only do one check, and consistently check conc-mark-in-progress only.

      This can be taken even further for arraycopy pre-barriers and arraycopy-loops, where the check can be done once for the whole operation.

        Attachments

          Activity

            People

            Assignee:
            rkennke Roman Kennke
            Reporter:
            rkennke Roman Kennke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: