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

Misleading GC log output when JNI critical section forces a GC

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 1.4.1
    • hotspot
    • gc
    • b89
    • generic
    • generic

      We have hard from several customers that sometimes Full GCs with CMS can be "really fast". Here's an example"

      152.070: [Full GC 152.070: [ParNew: 1226496K->0K(1227648K), 0.0415750 secs]
      2452329K->1247682K(4914048K), 0.0418400 secs]

      Actuallly, the above is not a full GC but a young GC forced after a (or many) JNI critical sections prevented the GC from happening earlier and forced it when it/them completed. However, it has been clearly mislabelled as a Full GC. This should be something easy to fix that will stop confusing customers (and us too!).

            tonyp Tony Printezis
            tonyp Tony Printezis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: