Update of /cvsroot/javaprofiler/test/snapshot
In directory usw-pr-cvs1:/tmp/cvs-serv24761
Modified Files:
DebugOutput.java
Log Message:
code refactorization Class..Data renamed to Type..Data
Index: DebugOutput.java
===================================================================
RCS file: /cvsroot/javaprofiler/test/snapshot/DebugOutput.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** DebugOutput.java 12 Feb 2002 11:20:25 -0000 1.2
--- DebugOutput.java 15 Feb 2002 22:38:09 -0000 1.3
***************
*** 76,82 ****
// objectTypes list, AllocClassData object type
! it = sn.allocObjects().iterator();
while (it.hasNext()) {
! AllocClassData o = (AllocClassData) it.next();
System.out.println("OBJECT TYPE:");
ClassData c = o.getClassData();
--- 76,82 ----
// objectTypes list, AllocClassData object type
! it = sn.allocTypes().iterator();
while (it.hasNext()) {
! AllocTypeData o = (AllocTypeData) it.next();
System.out.println("OBJECT TYPE:");
ClassData c = o.getClassData();
***************
*** 84,88 ****
System.out.print("IS_ARRAY = ");
String s;
! switch (o.getType()) {
case IProf.JVMPI_NORMAL_OBJECT:
s = "JVMPI_NORMAL_OBJECT";
--- 84,88 ----
System.out.print("IS_ARRAY = ");
String s;
! switch (o.getArrayType()) {
case IProf.JVMPI_NORMAL_OBJECT:
s = "JVMPI_NORMAL_OBJECT";
***************
*** 195,207 ****
totalClasses ++;
}
! it = sn.allocObjects().iterator();
while (it.hasNext()) {
! AllocClassData a = (AllocClassData) it.next();
Iterator itM = a.getMethods().values().iterator();
while (itM.hasNext()) {
! AllocClassMethodData m = (AllocClassMethodData) itM.next();
Iterator itT = m.getTraces().values().iterator();
while (itT.hasNext()) {
! AllocClassTraceData t = (AllocClassTraceData) itT.next();
totalAllocObjectTraces ++;
}
--- 195,207 ----
totalClasses ++;
}
! it = sn.allocTypes().iterator();
while (it.hasNext()) {
! AllocTypeData a = (AllocTypeData) it.next();
Iterator itM = a.getMethods().values().iterator();
while (itM.hasNext()) {
! AllocTypeMethodData m = (AllocTypeMethodData) itM.next();
Iterator itT = m.getTraces().values().iterator();
while (itT.hasNext()) {
! AllocTypeTraceData t = (AllocTypeTraceData) itT.next();
totalAllocObjectTraces ++;
}
***************
*** 215,227 ****
Iterator itA = th.getClasses().values().iterator();
while (itA.hasNext()) {
! AllocThreadClassData a = (AllocThreadClassData) itA.next();
Iterator itM = a.getMethods().values().iterator();
while (itM.hasNext()) {
! AllocThreadClassMethodData m = (AllocThreadClassMethodData)
itM.next();
Iterator itT = m.getTraces().values().iterator();
while (itT.hasNext()) {
! AllocThreadClassTraceData t =
! (AllocThreadClassTraceData) itT.next();
totalAllocThreadObjectTraces ++;
}
--- 215,227 ----
Iterator itA = th.getClasses().values().iterator();
while (itA.hasNext()) {
! AllocThreadTypeData a = (AllocThreadTypeData) itA.next();
Iterator itM = a.getMethods().values().iterator();
while (itM.hasNext()) {
! AllocThreadTypeMethodData m = (AllocThreadTypeMethodData)
itM.next();
Iterator itT = m.getTraces().values().iterator();
while (itT.hasNext()) {
! AllocThreadTypeTraceData t =
! (AllocThreadTypeTraceData) itT.next();
totalAllocThreadObjectTraces ++;
}
***************
*** 296,299 ****
--- 296,302 ----
/*
* $Log$
+ * Revision 1.3 2002/02/15 22:38:09 vachis
+ * code refactorization Class..Data renamed to Type..Data
+ *
* Revision 1.2 2002/02/12 11:20:25 petrul
* fixed output format
***************
*** 305,307 ****
* First version of DebugOutput
*
! */
\ No newline at end of file
--- 308,310 ----
* First version of DebugOutput
*
! */
|