More visibility into code cache churn (original) (raw)

Srinivas Ramakrishna ysr1729 at gmail.com
Wed Jun 10 07:15:30 UTC 2015


I filed https://bugs.openjdk.java.net/browse/JDK-8087107 and attached a patch to the ticket that exposes some useful code cache stats as perf data counters:

$ jcmd PerfCounter.print | grep -i "sun.ci." sun.ci.codeCacheCapacity=6291456 sun.ci.codeCacheMaxCapacity=6291456 sun.ci.codeCacheMethodsReclaimedNum=1030 sun.ci.codeCacheSweepsTotalNum=93 sun.ci.codeCacheSweepsTotalTimeMillis=63 sun.ci.codeCacheUsed=3386880 ...

At Twitter, we've found this useful for easy monitoring of code cache activity, and would like to see this integrated into OpenJDK.

thanks! -- ramki -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20150610/f447ed5a/attachment.html>



More information about the hotspot-compiler-dev mailing list