Java VM tuning - Xbatch and -Xcomp
问题 I am looking at the JVM configuration options for running Alfresco, mainly this document on the Alfresco Wiki. One of the recommendations is to use the JVM flags -Xcomp and -Xbatch . The justification of this is: If you wish to have Hotspot precompile the classes, you can add [-Xcomp and -Xbatch]. This will, however, significantly increase the server startup time, but will highlight missing dependencies that can be hit later. From what I have read elsewhere about the -Xcomp and -Xbatch flags,