Ever wonder what all of the JVM options are? Cameron Purdy found a great resource, created by Joseph Mocker of Sun.
The document is a compilation of all the JVM options for various versions of the JVM on primarily SPARC/Solaris Platform. The descriptions for each option are taken mostly verbatim from the reference documents.
A Collection of JVM Options
-
Resource: JVM Options (14 messages)
- Posted by: Dion Almaer
- Posted on: November 16 2004 16:21 EST
Threaded Messages (14)
- Excellent job by Joz Little on November 17 2004 05:46 EST
- Brilliant by Yagiz Erkan on November 17 2004 08:32 EST
- After a long wait by Sujit Marar on November 17 2004 10:05 EST
- Resource: JVM Options by Hemant Gohil on November 17 2004 10:01 EST
- Resource: JVM Options by krishnakumar ramamurthy on November 17 2004 11:34 EST
- Other platforms. by Guglielmo Lichtner on November 17 2004 13:57 EST
- JVM Options Documentation for IBM Java SDKs by Mike Edwards on November 17 2004 19:42 EST
- Thanks!!! by Yo Man on November 17 2004 11:45 EST
- Resource: JVM Options by Clive Brettingham-Moore on November 17 2004 18:57 EST
- Resource: JVM Options by tm jee on November 17 2004 19:12 EST
- having played with XX options in jdk1.4.2 by peter lin on November 17 2004 20:01 EST
- having Played with XX Options by Maz Rashid on November 18 2004 12:28 EST
- my results by peter lin on November 18 2004 01:32 EST
- having Played with XX Options by Maz Rashid on November 18 2004 12:28 EST
- Good Job by Romano Guizzetti on November 18 2004 04:08 EST
-
Excellent job[ Go to top ]
- Posted by: Joz Little
- Posted on: November 17 2004 05:46 EST
- in response to Dion Almaer
This is an excellent job. The only thing that could be
even greater would be a printer friendly version... -
Brilliant[ Go to top ]
- Posted by: Yagiz Erkan
- Posted on: November 17 2004 08:32 EST
- in response to Dion Almaer
Great work! Thanks! -
After a long wait[ Go to top ]
- Posted by: Sujit Marar
- Posted on: November 17 2004 10:05 EST
- in response to Yagiz Erkan
After a quite years waiting, i finally got in at least tabular(not exactly) format
Thanks for compiling in that format
Sujit -
Resource: JVM Options[ Go to top ]
- Posted by: Hemant Gohil
- Posted on: November 17 2004 10:01 EST
- in response to Dion Almaer
Great Work! Thanks a lot. -
Resource: JVM Options[ Go to top ]
- Posted by: krishnakumar ramamurthy
- Posted on: November 17 2004 11:34 EST
- in response to Dion Almaer
If any body could compiles/knows the list for IBM jdks it will be very useful for us.. -
Other platforms.[ Go to top ]
- Posted by: Guglielmo Lichtner
- Posted on: November 17 2004 13:57 EST
- in response to krishnakumar ramamurthy
Other platforms like HP-UX would also add to this very nice list ... In our shop we actually do run Java on Solaris, Linux and HP-UX. And in some cases we run JRockit. -
JVM Options Documentation for IBM Java SDKs[ Go to top ]
- Posted by: Mike Edwards
- Posted on: November 17 2004 19:42 EST
- in response to krishnakumar ramamurthy
Krishnakumar,
You can find comprehensive documentation on Options and also on many other aspects of the IBM Java SDKs in the Diagnostics Guides which you can find at:
http://www-106.ibm.com/developerworks/java/jdk/diagnosis/
Appendix G has the Options documentation in the 1.4.1 Java SDK, for example.
Enjoy!
Yours, Mike -
Thanks!!![ Go to top ]
- Posted by: Yo Man
- Posted on: November 17 2004 11:45 EST
- in response to Dion Almaer
Really good job.
Not used beyond 4-5 options. Never realized there are so many.
Is it only me or Any one used beyond 5 options?? -
Resource: JVM Options[ Go to top ]
- Posted by: Clive Brettingham-Moore
- Posted on: November 17 2004 18:57 EST
- in response to Dion Almaer
Neat resource, I thought I was familiar with most of the options ... until they went on into XX territory.
Now all we need is documentation for all the system properties used to configure the standard libraries. -
Resource: JVM Options[ Go to top ]
- Posted by: tm jee
- Posted on: November 17 2004 19:12 EST
- in response to Dion Almaer
Thanks, this is as most have said previously a good resource. Something one have been trying to look for but just can't seems to find it. -
having played with XX options in jdk1.4.2[ Go to top ]
- Posted by: peter lin
- Posted on: November 17 2004 20:01 EST
- in response to Dion Almaer
the mileage from using XX options really depends on the type of application you're running. I ran an intensive series of benchmarks using -XX options for Tomcat a couple of years back. What i found is that for the most part, unless you really know the runtime behavior of your application with regard to heap allocation, you're better off not touching XX options.
In most server environments, the defaults for "-server" will provide the best real-world performance. -
having Played with XX Options[ Go to top ]
- Posted by: Maz Rashid
- Posted on: November 18 2004 12:28 EST
- in response to peter lin
You are right. one should know exactly his application and its memory footprint to dare to change the XX settings, but fact is that the memory usage is optimized for the standard memory settings. At the moment you change the heap size you need also to set the XX options for an optimum GC/Runtime-Performance. And after every new milestone you have to reconsider the settings.
So better you leave it unchanges until performance realy concerns you. At this moment get some experienced people doing the job for you. (Just give me call ;)
Maz
http://www.mazcity.de -
my results[ Go to top ]
- Posted by: peter lin
- Posted on: November 18 2004 13:32 EST
- in response to Maz Rashid
the results of my benchmark are on tomcat's resource page for those interested. on a fairly regular basis tomcat-users ask about consultants for performance tuning, so you might want to check there.
I resort to XX as a last resort after I've exhausted design and architectural options to performance issues. -
Good Job[ Go to top ]
- Posted by: Romano Guizzetti
- Posted on: November 18 2004 04:08 EST
- in response to Dion Almaer
Very useful resource, I hope it will continuously be updated!