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

Inline CollectedHeap::increment_total_full_collections

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • None
    • hotspot
    • None
    • gc
    • b05

      This method has a sole caller.

      void increment_total_full_collections() { _total_full_collections++; }

      Inlining it, hence, removing it from the public API also help maintain the invariant between the two counters on the number of (full) gc cycles.

            ayang Albert Yang
            ayang Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: