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

With perm gen gone, perfdata counter sun.gc.policy.generations should be 2, not 3

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
    • Environment:

      any

    • Subcomponent:
      gc
    • Introduced In Version:
      8
    • Resolved In Build:
      b36
    • CPU:
      generic
    • OS:
      generic

      Description

      See http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/2015-May/013391.html

      "With perm gen going away (and being replaced by metaspace) in JDK 8, it makes sense that the counter
      sun.gc.policy.generations should be "2", rather than "3". However, in JDK 8 that counter still says 3.
      As I understand, the intention was that this counter would allow you to (for example) know the range of
      the sun.gc.generation.$num.* counters describing each of $num < sun.gc.policy.generations in the heap.
      Recall that the erstwhile perm gen in JDK 7 used to be synonymous with sun.gc.generation.2, but the
      JDK 8 avatars are now sun.gc.metaspace and sun.gc.compressedclassspace."

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ehelin Erik Helin
                Reporter:
                ysr Y. Ramakrishna
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified