These
arguments are supported only when debugging interpreted Java programs. They do
not apply when debugging High Performance Compiled (HPC) Java programs.
Advanced Java Virtual Machine (JVM) arguments are available when debugging your interpreted Java programs. The arguments are passed to the debugger in the following ways:
The following JVM arguments are supported when debugging your interpreted Java 1.1.x programs:
JVM argument | Description |
---|---|
-noasyncgc | Disables asynchronous garbage collection. |
-noclassgc | Disables class garbage collection. |
-ss<memory_size> | Sets the maximum amount of memory allocated to the native stack for any thread. |
-oss<memory_size> | Sets the maximum amount of memory allocated to Java stack for any thread. |
-ms<memory_size> | Sets the initial amount of memory allocated to the Java heap. |
-mx<memory_size> | Sets the maximum amount of memory allocated to the Java heap. |
-classpath <directory_list> | Sets the list of directories in which to search for classes. This list
replaces any classpaths you may have already set up for this JVM only.
Note: There is one space between the -classpath argument and the list of directories to search. |
-prof[:<file>] | Outputs profiling data to a file called java.prof in the current directory, or to a file name specifed. |
-verify | Verify all classes when read in. |
-verifyremote | Verify classes read in over the network.
This is a default argument. |
-noverify | Do not verify any classes. |
-nojit | Disables the JIT compiler. |
The following JVM arguments are supported when debugging your program on the Java 2 platform:
JVM argument | Description |
---|---|
-Xnoclassgc | Disables class garbage collection. |
-Xms<memory_size> | Sets the initial amount of memory allocated to the Java heap. |
-Xmx<memory_size> | Sets the maximum amount of memory allocated to the Java heap. |
-Xbootclasspath: <directory_list> | Sets the list of directories in which to search for classes. This list
replaces any classpaths you may have already set up for this JVM only.
Note: There is no space between the -Xbootclasspath: argument and the list of directories to search. |
-Djava.compiler=NONE | Disables the JIT compiler. |