WAS v8.5 > Reference > Sets

Java virtual machine settings page

Use this page to view, and change the JVM configuration settings of a process for an application server.

To view this dmgr console page, connect to the dmgr console and navigate to the Java virtual machine panel...


Classpath

Standard class path in which the Java virtual machine code looks for classes.

If you need to add a classpath to this field, enter each classpath entry into a separate table row. We do not have to add a colon or semicolon at the end of each entry.

The only classpaths that should be added to this field are the ones that specify the location of the following items:

Processing errors might occur if you add classpaths to this field that specify the location of the following items:

Information Value
Data type String


Boot classpath

Specifies bootstrap classes and resources for JVM code. This option is only available for JVM instructions that support bootstrap classes and resources.

If you need to add a classpath to this field, enter each classpath entry into a table row. We do not need to add the colon or semicolon at the end of each entry.

If you need to add multiple classpaths to this field, we can use either a colon (:) or semi-colon (;), depending on which operating system the JVM resides, to separate these classpaths.

The only classpaths that should be added to this field are the ones that specify the location of the following items:

Processing errors might occur if you add classpaths to this field that specify the location of the following items:


Verbose class loading

Whether to use verbose debug output for class loading. The default is to not enable verbose class loading.

If verbose class loading is enabled, the debug output is sent to one of the native process logs.
Information Value
Data type Boolean
Default false


Verbose garbage collection

Whether to use verbose debug output for garbage collection. The default is not to enable verbose garbage page.

If verbose garbage page is enabled, the debug output is sent to one of the native process logs.
Information Value
Data type Boolean
Default false

When this field is enabled, a report is written to the output stream each time the garbage collector runs. This report should give you an indication of how the Java garbage collection process is functioning.

We can check the verboseGC report to determine:

For transitioning users: v7.0 and previous versions use the optthruput garbage page algorithm. In v8.0 and later, the default is set to the generational garbage collector. This garbage page algorithm can increase performance. The following JVM option is added to the WAS startup command: -Xgcpolicy:gencon. If you prefer to use the optthruput garbage page alogorithm, we can remove -Xgcpolicy:gencon and the default optthruput garbage page algorithm is used.trns


Verbose JNI

Whether to use verbose debug output for native method invocation. The default is not to enable verbose Java Native Interface (JNI) activity.
Information Value
Data type Boolean
Default false


Initial heap size

Specifies, in megabytes, the initial heap size available to the JVM code. If this field is left blank, the default value is used.

For IBM i and distributed platforms, the default initial heap size is 50 MB.

Best practice: These default values are sufficient for most applications.

Increasing this setting can improve startup. The number of garbage collection occurrences are reduced and a 10 percent gain in performance is achieved.

Increasing the size of the Java heap continues to improves throughput until the heap becomes too large to reside in physical memory. If the heap size exceeds the available physical memory, and paging occurs, there is a noticeable decrease in performance.


Maximum heap size

Specifies, in megabytes, the maximum heap size that is available to the JVM code. If this field is left blank, the default value is used.

The default maximum heap size is 256 MB. This default value applies for both 32-bit and 64-bit configurations.

Increasing the maximum heap size setting can improve startup. When you increase the maximum heap size, you reduce the number of garbage collection occurrences with a 10 percent gain in performance.

Increasing this setting usually improves throughput until the heap becomes too large to reside in physical memory. If the heap size exceeds the available physical memory, and paging occurs, there is a noticeable decrease in performance. Therefore, it is important the value we specify for this property allows the heap to be contained within physical memory.

Best practice: These default values are appropriate for most applications. Enable the Verbose garbage collection property if you think garbage page is occurring too frequently. If garbage collection is occurring too frequently, increase the maximum size of the JVM heap.


Run HProf

Whether to use HProf profiler support. To use another profiler, specify the custom profiler settings using the HProf Arguments setting. The default is not to enable HProf profiler support.

If you set the Run HProf property to true, then specify command-line profiler arguments as values for the HProf Arguments property.
Information Value
Data type Boolean
Default false


HProf arguments

Specifies command-line profiler arguments to pass to the JVM code that starts the application server process. We can specify arguments when HProf profiler support is enabled.

HProf arguments are only required if the Run HProf property is set to true.


Debug mode

Whether to run the JVM in debug mode. The default is to not enable debug mode support.

If you set the Debug mode property to true, then specify command-line debug arguments as values for the Debug arguments property.
Information Value
Data type Boolean
Default false


Debug arguments

Specifies command-line debug arguments to pass to the JVM code that starts the application server process. We can specify arguments when the Debug mode property is set to true.

If you enable debugging on multiple application servers, verify the same value is not specified for the address argument. The address argument defines the port used for debugging. If two servers, for which debugging is enabled, are configured to use the same debug port, the servers might fail to start properly. For example, both servers might still be configured with the debug argument address=7777, which is the default value for the debug address argument.
Information Value
Data type String
Units Java command-line arguments


Generic JVM arguments

Specifies command-line arguments to pass to the Java virtual machine code that starts the application server process.

We can enter the following optional command-line arguments in the Generic JVM arguments field. If you enter more than one argument, enter a space between each argument.

If the argument states that it is only for the IBM Developer Kit only, we cannot use that argument with the JVM from another provider, such as the Microsoft or Hewlett-Packard

Information Value
Data type String
Units Java command-line arguments


Executable JAR file name

Specifies a full path name for an executable JAR file the JVM code uses.
Information Value
Data type String
Units Path name


Disable JIT

Whether to disable the just-in-time (JIT) compiler option of the JVM code.

If you disable the JIT compiler, throughput decreases noticeably. Therefore, for performance reasons, keep JIT enabled.
Information Value
Data type Boolean
Default false (JIT enabled)
Recommended JIT enabled


Operating system name

Specifies JVM settings for a given operating system.

When the process starts, the process uses the JVM settings specified for the server as the JVM settings for the operating system.


Related


Configure the JVM
Tune the application serving environment


Reference:

Custom property page
Process logs


+

Search Tips   |   Advanced Search