Hitachi

uCosminexus Application Server Maintenance and Migration Guide


9.5.2 Class-wise statistical information output by the STATIC member statistical functionality

This subsection describes about the output format, the output items, and the output examples of the class-wise statistical information output by the STATIC member statistical functionality.

Organization of this subsection

(1) Output format and output items

The output format of the class-wise statistical information output by the STATIC member statistical functionality is as follows:

(2) Output examples

The output example of the class-wise statistical information output by the STATIC member statistical functionality, is described as an example of the following source:

public class static_instance {
  public static void main(String args[]) {
    classA cls_a;
    classB cls_b;
    classC cls_c;
 
    cls_a = new classA();
    cls_b = new classB();
    cls_c = new classC();
    cls_b.cls_c = cls_c;
    cls_a.cls_b = cls_b;
 
    try {
      Thread.sleep(20000);
    } catch (Exception e) {}
 }
}
class classA {
 static classB cls_b;
}
class classB {
 classC cls_c;
}
class classC {
}

The following figure shows the output result of the STATIC member statistical functionality.

Figure 9‒4: Output result (STATIC member statistical functionality)

[Figure]

Moreover, there is a difference in the reference relation for the above source in the instance statistical functionality and in the STATIC member statistical functionality and the following figure shows this difference.

Figure 9‒5: Difference in reference relation in the instance statistical functionality and in the STATIC member statistical functionality

[Figure]

The reference relation of the respective functionality is as follows: