Object Count and Object Count after GC events are erroneous

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • hs24
    • Affects Version/s: 8
    • Component/s: hotspot
    • jfr

      Just tried the Object Count after GC events in JDK8. I get multiple events for the same class (from the same GC) with different information:

      Class java.lang.management.PlatformComponent[]
      Count 107
      GC ID 325
      Total Size 7.29 kB

      Class java.lang.management.PlatformComponent[]
      Count 2
      GC ID 325
      Total Size 80 bytes

      Class java.lang.management.PlatformComponent[]
      Count 1,030,550
      GC ID 325
      Total Size 71.31 MB

      .. and so on. I was under the impression that these should be aggregated.

      Same goes for the Object Count event.

        1. TestOneObjectCountEventPerClass.java
          5 kB
          Erik Helin
        2. gdbscript
          0.8 kB
          Erik Helin
        3. flight_recording_2013-04-09_15_52_30.jfr
          983 kB
          David Lindholm

            Assignee:
            Markus Grönlund
            Reporter:
            David Lindholm (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: