Unexplained Jumps In Response Time "Fixed" By Disabling Tiered Compilation

Andrew Haley aph at redhat.com
Tue May 31 15:25:29 UTC 2016


On 05/30/2016 07:30 PM, James Lent wrote:
> 1) Is my interpretation of these logs correct?

I think so.

> 2) What would trigger the HotSpot compiler to keep recompiling these 
> methods over and over?

Code cache is full.  Either that, or there is a nasty bug in the
compiler.

> 3) Would increasing the Code Cache size help (it seems to revert to its 
> old max of 48m when Tiered Compilation is disabled)?  I doubt it, but, I 
> am giving it try in my dev environment.

Yes.

> 4) Is it worth considering setting PerMethodRecompilationCutoff to '-1' 
> (disable it)?

Probably not.

Andrew.



More information about the hotspot-dev mailing list