A note on JVM performance
Posted by Grant Harris on Jun 12, 2009; 5:10pm
URL: http://imagej.273.s1.nabble.com/A-note-on-JVM-performance-tp3692131.html
This article, Java vs C++ "Shootout" Revisited
(<a href="http://java.sys-con.com/node/45250##">http://java.sys-con.com/node/45250##), makes a strong case to refute the
still prevalent myth that Java is slow. "[E]ven with JVM startup time, Java
is still faster than C++ in many of these tests."
It also points out that "no one should ever run the client JVM when given
the choice... Unfortunately, Java applications and applets run by default in
the client VM," Lea observes. "The Server VM is much faster than the Client
VM, but it has the downside of taking around 10% longer to start up, and it
uses more memory."
All you need to do is add -server to the java.exe arguments. I'd like to
hear if anyone finds a marked improvement in using ImageJ.
Cheers.
-- Grant Harris, MBL