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

ZGC: Update collection stats while holding page allocator lock

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 25
    • hotspot
    • gc
    • b20

      The collection stats are updated during the mark start pause, but without holding the page allocator lock (which is ok). Later in in the pause we are taking the lock to fetch statistics, we should do the update here as well to allow assert without explicitly having to take the lock.

            sjohanss Stefan Johansson
            sjohanss Stefan Johansson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: