Debugging options generally enable tracing, printing, or output of VM information.ĭo not complain if the application installs signal handlers.Performance tuning options are knobs which can be used to tune VM performance.Garbage First (G1) Garbage Collection Options.Behavioral options change the basic behavior of the VM.The options below are loosely grouped into categories. The manageable flags can also be set through jinfo -flag. In Monitoring and Managing Java SE 6 Platform Applications, Figure 3 shows an example. String options are set with -XX:=, are usually used to specify a file, a path, or a list of commandsįlags marked as manageable are dynamically writeable through the JDK management interface ( API) and also through JConsole.Numbers can include 'm' or 'M' for megabytes, 'k' or 'K' for kilobytes, and 'g' or 'G' for gigabytes (for example, 32k is the same as 32768). Boolean options are turned on with -XX:+ and turned off with -XX:-.Disa.Platforms with a differing default value are listed in the description. Some options may vary per architecture/OS/JVM version. Some Useful -XX Optionsĭefault values are listed for Java SE 6 for Solaris Sparc with -server. Users of JDKs older than 1.3.0 who wish to port to a Java HotSpot VM, should see Java HotSpot Equivalents of Exact VM flags. Options that are specified with -XX are not stable and are subject to change without notice.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |