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

Add JFR event indicating explicit System.gc() call

XMLWordPrintable

    • gc
    • b26

      Create an event explicitly for System.gc, always enabled and with stacktrace enabled.

      The reason is that when one or more of the gazillions of frameworks you depend on have decided to attempt to force a full gc every once in a while (without having knowledge about everything else that is in use), this would be an easy way to find the location.

      The stacktrace should be the one from the caller of the system.gc call.

            egahlin Erik Gahlin
            hirt Marcus Hirt
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: