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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 8, 9
    • Component/s: 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

              Assignee:
              Yasumasa Suenaga
              Reporter:
              Jesper Wilhelmsson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: