RFR: JDK-8068589: GCCause should distinguish jcmd GC.run from System.gc()

Yasumasa Suenaga yasuenag at gmail.com
Sun Jan 25 13:15:43 UTC 2015


Hi all,

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 webrev for this enhancement:
http://cr.openjdk.java.net/~ysuenaga/JDK-8068589/webrev.00/

This patch prints "jcmd GC.run" to gc log when jcmd GC.run is invoked. 


Could you review it?


Thanks,

Yasumasa


More information about the hotspot-gc-dev mailing list