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

kirk.pepperdine at gmail.com kirk.pepperdine at gmail.com
Tue May 31 15:30:36 UTC 2016


Mostly lurking…

>> 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.

or not full but fragmentated. Code cache full should induce aggressive code cache cleaning but it shouldn’t be cleaning methods that are actually being used. That said, if you’re not seeing methods being made non-entrant/zombie...
>> 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.


More information about the hotspot-dev mailing list