More visibility into code cache churn

Kirk Pepperdine kirk.pepperdine at gmail.com
Wed Jun 10 08:53:02 UTC 2015


Hi Ramki,

Anything to improve visibility of the CodeCache would be hugely appreciated!

Regards,
Kirk

On Jun 10, 2015, at 9:15 AM, Srinivas Ramakrishna <ysr1729 at gmail.com> wrote:

> 
> 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 <pid> 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/00c9b129/attachment.html>


More information about the hotspot-compiler-dev mailing list