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

G1 does not record for JMX memory freed during a concurrent cycle

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • 8, 11, 13, 15, 17, 18
    • hotspot
    • gc
    • generic
    • generic

      Incremental collections use G1MonitoringScope to record the result of a collection for JMX (MemoryPools, etc.). See the code in G1CollectedHeap::do_collection_pause_at_safepoint_helper(). There is no equivalent for concurrent collections, so memory freed during a concurrent cycle is not recorded for JMX if the concurrent cycle is not followed by one or more mixed collections. This can happen if the concurrent cycle freed enough memory to avoid having to do mixed collections.

            phh Paul Hohensee
            phh Paul Hohensee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: