David Dagastine's Weblog
Archives
« February 2006 »
SunMonTueWedThuFriSat
   
3
4
5
6
7
8
9
10
11
12
13
16
18
19
20
21
24
25
26
28
    
       
Today
XML
Search

Links
Referrers

Today's Page Hits: 72

« Previous day (Feb 13, 2006) | Main | Next day (Feb 15, 2006) »
20060214 Tuesday February 14, 2006
Java SE Tuning Tip: Server Ergonomics on Windows
J2SE 5.0 Server Ergonomics is not on by default on Windows. The basic reasoning here is that Windows is largely a client platform and automatic server tuning may negatively impact startup performance. We are revisiting this for Mustang, but for now do the following to enable server ergonomics on Windows: 1). Specify JVM tuning options equivalent to server ergonomics java -server -Xmx1g -XX:+UseParallelGC 2). Check to make sure server ergonomics is enabled by checking the JVM version: $ java -server -Xmx1g -XX:+UseParallelGC -version java version "1.6.0-rc" Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-rc-b69) Java HotSpot(TM) Server VM (build 1.6.0-rc-b69, mixed mode) If you see "Server VM", you're ready to test.

Feb 14 2006, 10:44:05 AM EST Permalink Comments [2]