On 08/23/2010 10:55 AM, Baptiste MATHUS wrote:
    - Then for Linux or other platforms, with current typical machines, it's
    very often defaulting to Server VM.
    But it can vary, and is precisely explained in the link Hervé put (more
    directly, see here :
    
http://www.oracle.com/technetwork/java/ergo5-140223.html#0.0.%20Garbage%20collector,%20heap,%20and%20runtime%20compiler%7Coutline
    ).

This describes -client/-server defaults for Java version 1.4.2 only, it may change across newer versions. In fact I didn't google it for Java6, but there is a small note on Wikipedia for Java7:

Allow the virtual machine to use both the Client and Server compilers in the same session with a technique called Tiered compilation: * The Client would be used at startup (because it is good at startup and for small applications), * The Server would be used for long-term running of the application (because it outperforms the Client compiler for this).

http://en.wikipedia.org/wiki/Java_performance#Future_improvements

Martin Schayna


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to