To improve response time and CPU utilization consider tuning the following JVM switches.
Start by using the values that are listed in the examples and then adjust them accordingly.
JRockit JVM switch | Description |
---|---|
-XXtlaSize | Defines the size of thread local areas (TLAs),
which are used for object allocation. The default value is 2 KB. Format: -XXltaSize:size[k|K] [m|M] [g|G] For example: java -XXtlaSize:64k |
-XXlargeObjectLimit | Defines the size of a large object. Objects that exceed the defined size limit are considered large and are not allocated in TLAs. Format: -XXlargeObjectLimit:size[k|K] [m|M] [g|G For example: java -XXlargeObjectLimit:64k |
-Xns | Defines
the nursery size. Consider setting the JRockit nursery size to 25% of the total heap. Format: -Xns:size[k|K] [m|M] [g|G For example: java -Xns:300m |