Improving JVM server performance
To improve the performance of applications that run in a JVM server, you can tune different parts of the environment, including the garbage collection and the size of the heap.
About this task
Procedure
- Check the amount of processor time that is used by the
JVM server. Dispatcher statistics can tell you how much processor time the T8 TCBs are using. JVM server statistics tell you how long the JVM is spending in garbage collection and how many garbage collections occurred. Application response times and processor usage can be adversely affected by the JVM garbage collection.
- Ensure that there is enough available storage capacity in the CICS address space. The CICS address space contains the Language Environment® heap size that is required by the JVM server.
- Tune the garbage collection and heap in the JVM. A small heap can lead to very frequent garbage collections, but too large a heap can lead to inefficient use of MVS storage. You can use IBM Health Center to visualize and tune garbage collection and adjust the heap accordingly.
What to do next
To start one or more JVM servers in a CICS region, you must ensure that enough storage capacity is available for the JVM to use, excluding any storage capacity that is allocated to CICS.