uCosminexus Application Server, Maintenance and Migration Guide
This subsection describes the contents output for each event when you specify debug in log output level.
If you want to refer an object in Explicit memory block from the Explicit memory block that is not the target for explicit release, move that object to Java heap for explicitly releasing the Explicit memory block. This log does output of information of object moved to Java heap and object of the reference source.
Output is triggered when an object is moved to Java heap in the explicit release process of Explicit memory block.
[EDO][eid=<EID>: Reference to <REFED_NAME>(<REFED_PTR>), total <R_SIZE>] [EDO] <REF_NAME>(<REF_PTR>)<REF_GEN> |
The following table describes each item indicated in (b) output trigger.
Table 5-52 Output items (Migration of objects to Java heap as a result of the explicit release of Explicit memory block)
Output items | Output contents | Meaning |
---|---|---|
<EID> | <const> | Output ID of the Explicit memory block that has objects referred from other Explicit heap and that are not target for explicit release in the Explicit memory block explicit release process. |
<REFED_NAME> | <letters> | Output all class names of objects (Objects shown in<REF_NAME>(<REF_PTR>) ) referred from objects other than Explicit heap that are not target for explicit release in Explicit memory block explicit release process. |
<REFED_PTR> | <ptr> | Output memory address before migration of objects indicating <REFED_NAME> to Java heap. |
<R_SIZE> | <const>K | Output total size of objects to be moved to Java heap by referring from <REF_NAME>(<REF_PTR>). Total size is the value including the objects in the Explicit memory block that are to be released explicitly and objects that are indirectly referred from <REF_NAME>(<REF_PTR>)#. The unit is kilo bytes. |
<REF_NAME> | <letters>|JVM | Output all class names of objects referring <REFED_NAME>(<REFED_PTR>). Output as "JVM" when reference source is stack or internal JavaVM. |
<REF_PTR> | <ptr> | Output object indicating <REF_NAME>, stack or memory address in JavaVM. |
<REF_GEN> | (eid=<EID>)|(DefNew)|(Tenured)|(Perm)|(JVM) | Output area belonging to <REF_NAME>(<REF_PTR>) or generation name. Output ID of Explicit memory block for Explicit memory block. Output "JVM" when referred from stack or JavaVM. |
Figure 5-9 Example where there are multiple reference routes to object moving to Java heap
Output example.
[EDO][eid=5: Reference to java.lang.HashMap$Entry(0x1234568), total 125K] [EDO] java.util.HashMap$KeyIterator(0x1134428)(eid=1) [EDO][eid=5: Reference to ClassA(0x1234580), total 19250K] [EDO] ClassV(0x1234468)(Tenured) [EDO][eid=5: Reference to ClassZ(0x1234680), total 12K] [EDO] ClassU(0x1233468)(DefNew) [EDO][eid=9: Reference to JP.co.Hitachi.soft.jvm.BBB(0x1034428), total 1250K] [EDO] JVM(0x23456780)(JVM) |
You can check the following contents in this output example:
Output detail information when you initialize a new Explicit memory block. Besides the output contents in 5.11.4(1) Initialization of Explicit memory block, output the stack trace of Java program executing initialization process. This log is output asynchronously with the execution of Java program on multiple lines. Hence, there are cases where some other log is output within the lines of this log. However, other logs are not output within one line.
Initialization of Explicit memory block.
<Information(verbose) of initialization of Explicit memory block>#[Thread: <TH_PTR>] [EDO][Thread: <TH_PTR>] at <FRAME><SOURCE> ... |
The following table describes each item indicated in (b) output trigger.
Table 5-53 Output items (Initialization of Explicit memory block(Output detail information))
Output items | Output contents | Meaning |
---|---|---|
Information(vervose) when initialization of Explicit memory block | See 5.11.4(1) Initialization of Explicit memory block. | |
<TH_PTR> | <ptr> | Output thread ID of thread to initialize Explicit memory block. Thread ID is same as tid output to thread dump. |
<FRAME> | <letters>.<letters> | Output one frame in stack trace when initializing Explicit memory block. Output all class names and method names by delimiting them by a ".". |
<SOURCE> | (<letters>:<const>)|(Native Method)|(Unknown Source) | Output the source file names where methods output to <FRAME> are described and line numbers match the stack trace. Output file names and line numbers by delimiting them by a ":". Output as "(Native Method)" when native method. Output as "(Unknown Source)" when you cannot acquire the source file name. |
Output example.
[EVO]<Tue Jul 24 01:23:51 2007>[Created]["BasicExplicitMemory-2" eid=2(0x1234568)/B][Thread: 0x00035a60] [EDO][Thread: 0x00035a60] at ExplicitMemory.registerExplicitMemory(Native Method) [EDO][Thread: 0x00035a60] at BasicExplicitMemory.<init>(Unknown Source) [EDO][Thread: 0x00035a60] at AllocTest.test(AllocTest.java:64) [EDO][Thread: 0x00035a60] at java.lang.Thread.run(Thread.java:2312) |
You can check the following contents in this output example:
Output the detailed information when the automatic release processing of the Explicit memory block occurs. Besides the output contents described in the subsection 5.11.3(4) Automatic release processing of the explicit memory block, output the EID information of the Explicit memory block executing the automatic release processing. The automatic release processing of the Explicit memory block might include the automatic release processing without the movement of objects, many-to-one automatic release processing, and one-to-one automatic release processing. Therefore, the information about EID without object movement, many-to-one EID, and one-to-one EID is output.
The log is output when the automatic release processing for the explicit memory block occurs.
[EDO][migrate:(<EID_DEL>{,<EID_DEL>}*|)/(<EID_MBF>{,<EID_MBF>}*-><EID_MAF>|)/(<EID_MIG>{,<EID_MIG>}*|)] |
The following table describes the items specified in (b) Output format.
Table 5-54 Output items (Details of automatic release processing of the Explicit memory block (output detailed information))
Output items | Output contents | Meaning |
---|---|---|
<EID_DEL> | <const> | Outputs EID of the Explicit memory blocks without moving the objects, among the Explicit memory blocks released by the automatic release processing of the Explicit memory block. |
<EID_MBF> | <const> | Outputs EID used before reserving the automatic release of the Explicit memory block where many-to-one automatic release processing occurred, among the Explicit memory blocks released by the automatic release processing of the Explicit memory block. |
<EID_MAF> | <const> | Outputs EID of the Explicit memory blocks generated by the many-to-one automatic release processing, among the Explicit memory blocks generated by the automatic release processing of the Explicit memory block. |
<EID_MIG> | <const> | Outputs EID of the Explicit memory blocks where the one-to-one automatic release processing occurred, among the Explicit memory blocks released by the automatic release processing of the Explicit memory block. |
An output example is as follows:
[EVS]<Tue Jul 14 02:31:22 2009>[EH: 256512K->256128K(256256K/1048576K), 0.1124626 secs][E/F/D: 423/0/0][target:584K/384K/200K]\ [cause:Migrate] [EDO][migrate:()/(2,4,6,9->10)/(1,8)] |
You can check the following details in this output example:
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.