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

[REDO] GCCause should distinguish jcmd GC.run from System.gc()

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 9
    • 8, 9
    • hotspot
    • None
    • gc
    • b69

    Backports

      Description

        GCCause which is printed in gc log is "System.gc()" when jcmd GC.run is invoked.
        I think that GCCause which is caused by jcmd GC.run should be different from System.gc() .

        I uploaded patch: jcmd-gccause.patch .
        This patch prints "jcmd GC.run" to gc log when jcmd GC.run is invoked.

        Attachments

          Issue Links

            Activity

              People

                ysuenaga Yasumasa Suenaga
                jwilhelm Jesper Wilhelmsson
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: