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

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

XMLWordPrintable

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

        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.

          1. hotspot.patch
            3 kB
            Yasumasa Suenaga
          2. jcmd-gccause.patch
            1 kB
            Jesper Wilhelmsson

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

                Created:
                Updated:
                Resolved: