I am using java 1.8.0\_05, Java HotSpot(TM) 64-Bit Server VM
I am running a java web app on tomcat 8.0.43

I recently deployed my `.war` file by dropping it in the webapps folder.

This resulted in the following message being logged:

> 
> 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=
>  CodeCache: size=245760Kb used=244058Kb max\_used=244079Kb free=1701Kb 
>  bounds [...] 
>  total\_blobs=48344 nmethods=47669 adapters=584 compilation: disabled
>  (not enough contiguous free space left)
> 
> 
> 

How can I check what the current status of the compiler is now, to see if it's still disabled?

How can I enable the compiler? Can I simply restart tomcat?

There doesn't seem to be any noticeable different in how my application is running (eg: in terms of speed).

Interestingly, I didn't get this message when deploying the same application to an identical server. This is why I would like to first just turn the compiler back on rather than changing settings (eg: ReservedCodeCacheSize) as the message recommends.

Then, if the problem persists I can see which settings I need to change.