Conditionally enqueue elements in SATB queue

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 15
    • Component/s: hotspot
    • gc

      Anecdotal evidence from an old discussion with [~tonyp] and a recent paper [1] suggest that it is advantageous to filter pre-values to be put in the SATB queues based on whether they have already been marked.

      Existing overhead for the SATB barrier is already very low (~2% [2]), but maybe it is worth reducing it further.

      Investigate this.

      [1] Zhao, Blackburn, Deconstructing the Garbage-First Collector, in VEE ’20, March 17, 2020, Lausanne, Switzerland., 2020. http://users.cecs.anu.edu.au/~steveb/pubs/papers/g1-vee-2020.pdf
      [2] Shipilev, Shenandoah GC - Version 2.0 (2019): The Great Revolution, JUG Berlin-Brandenburg, Sep 2019. https://shipilev.net/talks/jugbb-Sep2019-shenandoah.pdf

            Assignee:
            Unassigned
            Reporter:
            Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: