JVM command line options [duplicate]

血红的双手。 提交于 2020-12-01 09:38:40

问题


Possible Duplicate:
JVM Options List - still being maintained post Oracle?

Is there a page anywhere with a definitive complete list of the command line options available to run a JVM? Everywhere I look I get referred to http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html which is woefully incomplete. Even the Oracle page on Java 7 just refers to the page above.

Apologies for such a basic question, but I keep coming across people suggesting useful looking options to tune the JVM that I can't find documented anywhere! e.g. CMSInitiatingOccupancyFraction

EDIT: Following the link referenced by MicTech below, and then the links from that Q, it appears that: http://stas-blogspot.blogspot.co.uk/2011/07/most-complete-list-of-xx-options-for.html is the best reference so far. Sigh.


回答1:


There's an FAQ you might find useful about GC flags:

http://java.sun.com/docs/hotspot/gc1.4.2/faq.html

One thing to consider is those flags aren't "standard" so JVM implementations don't have to comply. This is why it's not listed in your link. They are implementation specific flags.




回答2:


Oracle Hotspot specific options http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html



来源:https://stackoverflow.com/questions/10534998/jvm-command-line-options

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!