Code Cache and old methods
Hi,
If our java application overflows the Code Cache, we get a warning that the JIT compilier has been disabled.
It is my understanding that a JAR file contains byte codes only. JAVA uses the JIT compliler to compile methods
to native code and stores this native code in the Code Cache. If the JIT compiler is disabled, then a method
will only be executed natively if it is already in the Code Cache prior to the JIT compiler being disabled.
Is it a possibility that old methods can be kicked out of the Code Cache? Then with the JIT compiler disabled,
if the old method needs to execute again it is executed interpretively? This seems to be the behavior I'm seeing.
Some old methods seem to execute very slowly after the JIT compiler is disabled.
Can anyone confirm this behavior?
Thanks,
Mike




