Free Java 1.4 Virtual Machine Options Ebook

Download free programming, computer, it, technology books

Jan
04

Java 1.4 Virtual Machine Options

Posted by admin

The standard Java HotSpot VM options are available with the Mac OS X Java VM. In addition to the standard options, many nonstandard (-X and -XX) options are also available.
-server
There is not a distinct server VM for Mac OS X. Although you may use the -server flag when invoking java, it does not start up a different VM, instead it starts the client VM that has been tuned for use in a server environment. This tuning includes:

  • Using a different class list for the shared archive generation that does not include the GUI classes.
  • Increasing the size of the Java heap.
  • Increasing the size of the Eden generation.
  • Turns on thread local Eden garbage collection.

-X
Displays a brief description of the nonstandard VM options.

-Xbootclasspath:path
Specifies a list of directories and JAR and ZIP archives to search for boot class files in. Seperate multiple entries with colons (:)

-Xfuture
Performs strict format-checking of class files. This option enforces a tighter conformance to the class file specification than the default, which is based on the standard in Java 1.1.x. You should test your code with this flag to ensure functionality in future versions of Java that may enforce stricter class file format-checking.

-Xprof
Sends detailed profiling data of the running program to standard output. This option should not be used in production code.

Download free ebook : Apple–Java_1.4_Virtual_Machine_Options.pdf

Add A Comment