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

Add JFR event indicating explicit System.gc() call

    XMLWordPrintable

Details

    • gc
    • b26

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: