uCosminexus Application Server, Maintenance and Migration Guide

[Contents][Glossary][Index][Back][Next]

9.10.2 Output example of the class-wise statistical information analysis functionality

This subsection describes the input files, output files, and output format of the class-wise statistical information analysis functionality.

Organization of this subsection
(1) Input files
(2) Output files
(3) Output format

(1) Input files

The extended thread dump files in which the class-wise statistical information is output are used as the input files in the class-wise statistical information analysis functionality.

(2) Output files

The files output in the class-wise statistical information analysis functionality include two types of files, such as files that output the total instance size of each class and files that output the number of instances of each class. The output files are created in the current directory with the following names.

Table 9-21 Names of output files

Type of output file Example of output file name
Instance total size file JheapprofAnalyzer_size_nnn.csv
Instance count file JheapprofAnalyzer_num_nnn.csv

Legend:
nnn: The file segmentation number is output. The segmentation number is in the range of 001 to 999.

The output file is segmented when the number of columns exceeds 201. When the number of files exceeds 999, the count returns to 001 and files are re-written.

When the number of columns at which segmentation is performed exceeds 201 (1 column for class name + 200 columns for value), the output format is the same for the segmented file as well.

(3) Output format

The following figure shows the output format of the files output in the class-wise statistical information analysis file. Note that the output format of the CSV file in which the total instance size and number of instances are output is also the same.

Figure 9-17 Output format of files output in the class-wise statistical information analysis functionality

[Figure]

Demarcate a class name and value, and a value from another value with a comma. End a line with a value (including a blank).

Class names are output in a random order. Based on the date displayed as the value in the first row of an input file, the input files are arranged side by side starting from the file with the oldest date. If input files with the same date exist, they are connected randomly and arranged side by side.

Reference note
If you execute the class-wise statistical information analysis functionality more than once, classes might be removed or added during processing. Also, 0 will be output as the value when the corresponding class does not exist. The following figure shows the class information.

Figure 9-18 Example of class information

[Figure]
In case with the above class information, the output results when 0 is set as the threshold value for -DJP.co.Hitachi.soft.jvm.tools.jheapprofanalyzer.threshold are as shown in Figure 9-17:

Figure 9-19 Output example of the class-wise statistical information analysis functionality

[Figure]
The maximum value of total instance size is 0 to 263-1, and the maximum value of the number of instances is 0 to 231-1. If the same class name exists in an input file, the total instance size is added. The number of instances is also added. If the respective maximum values are exceeded due to adding up, the specified maximum value is output. Note that if the corresponding class information does not exist in all input files of a class or if the threshold value is not reached, the information of that class is not output.