Update of /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data
In directory usw-pr-cvs1:/tmp/cvs-serv21191
Modified Files:
SnapshotImpl.java
Log Message:
fixies
Index: SnapshotImpl.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/SnapshotImpl.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** SnapshotImpl.java 2001/12/04 00:14:51 1.3
--- SnapshotImpl.java 2001/12/05 00:40:05 1.4
***************
*** 445,450 ****
case IProf.OBJECT_TYPES: {
! //get class reference
! return new AllocClassData( sid, null );
}
--- 445,453 ----
case IProf.OBJECT_TYPES: {
! ClassData clz = (ClassData) libIDs.get( new Integer(
! ((IProf.sObjectInfo) sid.info).classObjId));
! return new AllocClassData( sid, clz );
! //have to look at sid.info.isArray, probably in object
! //before calling getClazz()
}
***************
*** 468,472 ****
ThreadData newObj = new ThreadData( sid, up, parent );
up.addThread( newObj );
! parent.addChild( newObj );
return newObj;
}
--- 471,476 ----
ThreadData newObj = new ThreadData( sid, up, parent );
up.addThread( newObj );
! if (parent != null )
! parent.addChild( newObj );
return newObj;
}
***************
*** 795,798 ****
--- 799,805 ----
/*
* $Log$
+ * Revision 1.4 2001/12/05 00:40:05 vachis
+ * fixies
+ *
* Revision 1.3 2001/12/04 00:14:51 vachis
* Changes to GetAllThruIterator()
|