Can the JIT be turned off in JavaSE 5?
Keith.McGuigan at Sun.COM
Fri Apr 24 17:44:14 PDT 2009
You can turn off the JIT by running with -Xint (forces just the
Basler Mark wrote:
> Hi Guys,
> I am having trouble finding whether the JIT is always on in JavaSE 5 or
> that it can still be turned off by using "-Djava.compiler='NONE'".
> I want the JIT on, but I just found a script that is being used in a
> legacy system that has this setting and I want to see if it matters
> I did find an excerpt in "Java in a Nutshell" that states:
> "This environment variable and property are no longer used as of Java
> 1.4, which uses the HotSpot VM, which includes efficient JIT technology."
> I have been looking around on the java.sun.com site and found references
> to -Djava.compiler in the following places...
> So I am really not 100% sure, either way...
> Can someone who definitively knows let me know...
> I also posted this on the Java forum at
> Thanks for your help - Mark :-)
More information about the hotspot-runtime-dev