5.5.3 Output contents of Explicit heap details information
The Explicit heap information and the Explicit memory block information is output to the Explicit heap details information. When there is more than one Explicit memory block, they are output to the Explicit memory block information. You can also output the object statistical information within the Explicit memory blocks and the release rate information for the Explicit memory block to the Explicit memory block information.
The output format, output items, and output examples of Explicit heap details information are as follows:
- Output format
-
The output format differs depending on the execution of eheapprof command.
-
When the eheapprof command is executed
Explicit Heap Status -------------------- max <EH_MAX>, total <EH_TOTAL>, used <EH_USED>, garbage <EH_GARB> (<EH_PER1> used/max, <EH_PER2> \ used/total, <EH_PER3> garbage/used), <EM_NUMS> spaces exist Explicit Memories(<EM_MGR_PTR>) ... "<EM_NAME>" eid=<EID>(<EM_PTR>)/<EM_TYPE>, total <EM_TOTAL>, used <EM_USED>, garbage <EM_GARB> \ (<EM_PER1> used/total, <EM_PER2> garbage/used, <FL_BLOCKS> blocks) <EM_STAT> deployed objects ________________Size__Instances__FreeRatio__Class________________ <ISIZE> <INUM> <FRATIO> <CNAME> ... <AISIZE> <AINUM> total ...
Note: For details on the signs used in the output format, see 5.11.2(3) Signs used in description of output format of event log.
-
When the eheapprof command is not executed
Explicit Heap Status -------------------- max <EH_MAX>, total <EH_TOTAL>, used <EH_USED>, garbage <EH_GARB> (<EH_PER1> used/max, <EH_PER2> \ used/total, <EH_PER3> garbage/used), <EM_NUMS> spaces exist Explicit Memories(<EM_MGR_PTR>) ... "<EM_NAME>" eid=<EID>(<EM_PTR>)/<EM_TYPE>, total <EM_TOTAL>, used <EM_USED>, garbage <EM_GARB> \ (<EM_PER1> used/total, <EM_PER2> garbage/used, <FL_BLOCKS> blocks) <EM_STAT> ...
Note: For details on the signs used in the output format, see 5.11.2(3) Signs used in description of output format of event log.
-
- Output items
-
The following table describes about each item in output format.
Table 5‒22: Output items (Explicit heap details information) Category
Output items
Output contents
Meaning
Explicit heap information
<EH_MAX>
<const>K
Maximum size of Explicit heap is output. The unit is kilo bytes.
<EH_TOTAL>
<const>K
Secured Explicit heap size is output. The unit is kilo bytes.
<EH_USED>
<const>K
Used Explicit heap size is output. The unit is kilo bytes.
<EH_GARB>
<const>K
The internal status of Explicit heap is output.
<EH_PER1>
<decimal>%
Explicit heap utilization rate (<EH_USED>/<EH_MAX>) is output in % sign.
<EH_PER2>
<decimal>%
Explicit heap utilization rate (<EH_USED>/<EH_TOTAL>) is output in % sign.
<EH_PER3>
<decimal>%
The internal status of Explicit heap is output.
<EM_NUMS>
<const>
The valid Explicit memory blocks are output.
<EM_MGR_PTR>
<ptr>
Memory address that has internal information for Explicit heap control is output. The memory address can be used for investigating errors.
Explicit memory block information
<EM_NAME>
<letters>
Name of Explicit memory block is output.
The output contents are uncertain when multi byte characters are included in name of Explicit memory block (Usually garbled and output).
At times "NULL" is output when name of Explicit memory block is output at about the same time of initialization of Explicit memory block or when JavaVM generates the Explicit memory block internally.
<EID>
<const>
ID of Explicit memory block is output.
<EM_PTR>
<ptr>
Memory address with Explicit memory block internal structure is output. The memory address can be used for investigating errors.
<EM_TYPE>
R|B|A
Explicit type is output. R indicates Explicit memory block used internally in Application Server. B indicates Explicit memory block used by application. A indicates the Explicit memory block that is specified using the automatic allocation configuration file.
<EM_TOTAL>
<const>K
Secured memory size of Explicit memory block is output. The unit is kilo bytes.
<EM_USED>
<const>K
Used size of Explicit memory block is output. The unit is kilo bytes.
<EM_GARB>
<const>K
Internal status of Explicit memory block is output. The unit is kilo bytes.
<EM_PER1>
<decimal>%
Explicit memory block utilization ratio (<EM_USED>/<EM_TOTAL>) is output in % sign.
<EM_PER2>
<decimal>%
Internal status of Explicit memory block is output.
<FL_BLOCKS>
<const>
Normally 0 is output
<EM_STAT>
Enable|Disable
Sub-status of Explicit memory block is output.
Object statistical information#1
<ISIZE>
<const>
Size in Explicit memory block of the object that sets the instance of a certain class is output.
<INUM>
<const>
Fixed quantity within the Explicit memory block of the object that sets the instance of certain class is displayed.
<CNAME>
<letters>
Entire class name of class indicating <ISIZE> and <INUM> is output.
<AISIZE>
<const>
Total size of all objects in Explicit memory block is output.
<AINUM>
<const>
Number of all blocks in Explicit memory block is output.
Object release rate information#2
<FRATIO>
<decimal>%
The ratio of the objects released (object release rate) in the automatic release processing of the Explicit memory block is output with the % (percentage) sign.
Object release rate =
(Number-of-class-objects-before-the-automatic-release-processing - Number-of-class-objects-after-the-automatic-release-processing)/Number-of-class-objects-before-the-automatic-release-processing ×100
Note that when the object release rate information is output, "--" is output for the Explicit memory block that was not subject to the automatic release processing.
- Example of output
-
The output format differs depending on execution of the eheapprof command.
-
When eheapprof command is executed
Explicit Heap Status -------------------- max 31415926K, total 162816K, used 150528K, garbage 10004K (0.0% used/max, 91.1% used/total, 6.6% garbage/used), 3 spaces exist Explicit Memories(0x12345678) "EJBMgrData" eid=1(0x02f25610)/R, total 54272K, used 50176K, garbage 0K (91.2% used/total, 0.0% garbage/used, 0 blocks) deployed objects ________________Size__Instances__FreeRatio__Class________________ 35234568 10648 - java.util.HashMap 5678900 10668 - [Ljava.util.HashMap$Entry; 4456788 7436 - java.util.HashMap$Entry 4321000 200 - java.util.WeakHashMap 1234568 190 - [Ljava.util.WeakHashMap$Entry; 454400 4 - java.util.WeakHashMap$Entry 51380224 29146 total "VJBStored" eid=3(0x02f25910)/B, total 54272K, used 50176K, garbage 10004K (90.7% used/total, 19.9% garbage/used, 5 blocks) deployed objects ________________Size__Instances__FreeRatio__Class________________ 35234568 10648 49 java.util.HashMap 5678900 10668 43 [Ljava.util.HashMap$Entry; 4456788 7436 50 java.util.HashMap$Entry 4321000 200 32 java.util.WeakHashMap 1234568 190 45 [Ljava.util.WeakHashMap$Entry; 454400 4 22 java.util.WeakHashMap$Entry 51380224 29146 total "ExplicitMemory-2" eid=2(0x02f25700)/B, total 54272K, used 50176K, garbage 0K (91.1% used/total, 0.0% garbage/used, 0 blocks) deployed objects ________________Size__Instances__FreeRatio__Class________________ 35234568 10648 - java.util.HashMap 5678900 10668 - [Ljava.util.HashMap$Entry; 4456788 7436 - java.util.HashMap$Entry 4321000 200 - java.util.WeakHashMap 1234568 190 - [Ljava.util.WeakHashMap$Entry; 454400 4 - java.util.WeakHashMap$Entry 51380224 29146 total
-
When the eheapprof command is not executed
Explicit Heap Status -------------------- max 31415926K, total 213971K, used 205369K, garbage 1234K (1.1% used/max, 96.2% used/total, 0.0% garbage/used), 3 spaces exist Explicit Memories(0x12345678) "EJBMgrData" eid=1(0x02f25610)/R, total 154272K, used 150176K, garbage 1234K (97.0% used/total, 1.2% garbage/used, 0 blocks) Enable "VJBStored" eid=3(0x02f25910)/B, total 54272K, used 50176K, garbage 0K (90.9% used/total, 0.0% garbage/used, 2 blocks) Enable "ExplicitMemory-2" eid=2(0x02f25700)/R, total 5427K, used 5017K, garbage 0K (92.1% used/total, 0.0% garbage/used, 0 blocks) Enable
-