how do you specifify to use jit compiler when running a class? also can anyone explain how the jit complier works? thanks.
Michael Fitzmaurice
Ranch Hand
Joined: Aug 22, 2001
Posts: 168
posted
0
Hi Karim I think if you are using JDK/JRE 1.3 onwards the default JVM is HotSpot, so you are using a JIT compiler unless you specify otherwise. When you come to run your application, if you use the -classic switch, you will use the 'classic' VM, without a JIT compiler. If you are in doubt about which VM you are using, just type: java -version at the command line. A little bit more info can be found here: http://www.javaworld.com/javaworld/jw-03-2000/jw-03-javaperf_2.html Alternatively, go to the sun site and read up on the HotSpot VM. Hope this helps Michael
------------------ "One good thing about music - when it hits, you feel no pain" Bob Marley
"One good thing about music - when it hits, you feel no pain" <P>Bob Marley