831 03 92 922 (admin@BangaloreJUG.org)

Category Archives: compileonly

Restricting runtime compiler on a method – CompileOnly option

If you know¬†the details of runtime (JIT) compiler and you want to restrict some method to go for runtime compiler, we have a JVM arg called (-XX:CompileOnly) Definition as per the documentation :- -XX:CompileOnly=methods Sets the list of methods (separated by commas) to which compilation should be restricted. Only the specified methods will be compiled. […]