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

G1: Non-strong stores should not SATB enqueue objects

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 14
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc

      Description

      Today, G1 SATB enqueues what is at the address before the store with its pre-write barrier, even for non-strong references. Since the snapshot referred to by SATB is the strong graph being traced concurrently, it really makes no sense at all to perform such SATB enqueues for stores on non-strong references. It keeps things alive unnecessarily.

        Attachments

          Activity

            People

            • Assignee:
              eosterlund Erik Ă–sterlund
              Reporter:
              eosterlund Erik Ă–sterlund
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: