Code cache
Alex Aisinzon
aaisinzon at guidewire.com
Thu Apr 12 12:15:45 PDT 2012
Any feedback on this?
Best
Alex A
From: Alex Aisinzon
Sent: Monday, April 09, 2012 11:38 AM
To: 'hotspot-gc-use at openjdk.java.net'
Subject: Code cache
I ran performance tests on one of our apps and saw the following error message in the GC logs:
Java HotSpot(TM) 64-Bit Server VM warning: CodeCache is full. Compiler has been disabled.
Java HotSpot(TM) 64-Bit Server VM warning: Try increasing the code cache size using -XX:ReservedCodeCacheSize=
I scaled up the code cache to 512MB (-XX:ReservedCodeCacheSize=512m) and markedly improved performance/scalability.
I have a few questions:
* Is there a logging option that shows how much of the code cache is really used so that I find the right cache size without oversizing it?
* What factors play into the code cache utilization? I would guess that the amount of code to compile is the dominant factor. Are there other factors like load: I would guess that some entries in the cache may get invalidated if not used much and load could be a factor in this.
I was running on Sun JVM 1.6 update 30 64 bit on x86-64.
Best
Alex A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20120412/735b6e81/attachment.html
More information about the hotspot-gc-use
mailing list