/ JVM options – HotSpot VM Standard Options ~ Java EE Support Patterns

8.12.2011

JVM options – HotSpot VM Standard Options

This is part #1 of a series of articles that will provide you a consolidated view of the Sun Java HotSpot VM arguments from the online Oracle documentation. It will also serve as a foundation & baseline for future Blog posts, case studies on Java HotSpot VM performance tuning and the upcoming JDK 1.7 so I suggest you bookmark this post URL for future useful references.
 

Server-Class Machine Detection (HotSpot JDK 1.5+)

Find below the Java HotSpot behaviour when using Server-Class Machine Detection mode (neither -server nor -client is specified). It is important to note that –server mode should normally be used when using a minimum of 2 processors and minimum of 2 GB of physical memory.

Platform
Default VM
Architecture
OS
client VM
if server-class, server VM;
otherwise, client VM
server VM
SPARC 32-bit
Solaris

X

i586
Solaris

X

Linux

X

Microsoft Windows
X


SPARC 64-bit
Solaris

X
AMD64
Linux

X
Microsoft Windows

X
Legend:   X = default VM      = client VM not provided for this platform


Java HotSpot VM argument matrix – standard options

* Standard options guaranteed to be supported by all VM implementations


Oracle Java HotSpot




0 comments:

Post a Comment