Update of /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data
In directory usw-pr-cvs1:/tmp/cvs-serv16074
Modified Files:
AllocAbstractStatThreadTypeData.java AllocArenaData.java
AllocStatIDObjectData.java AllocThreadMethodData.java
AllocThreadTraceData.java AllocThreadTypeData.java
AllocThreadTypeMethodData.java AllocThreadTypeTraceData.java
AllocTraceData.java AllocTypeData.java
AllocTypeMethodData.java AllocTypeTraceData.java
CPUStatIDObjectData.java CPUThreadMethodData.java
CPUThreadTraceData.java CPUTraceData.java ClassData.java
ClassFieldData.java GCData.java IDObjectData.java
MethodData.java MonStatIDObjectData.java
MonThreadMethodData.java MonThreadTraceData.java
MonTraceData.java SnapshotImpl.java ThreadData.java
ThreadGroupData.java
Log Message:
type of ID changed from int to Integer
Index: AllocAbstractStatThreadTypeData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocAbstractStatThreadTypeData.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** AllocAbstractStatThreadTypeData.java 1 Mar 2002 11:48:57 -0000 1.1
--- AllocAbstractStatThreadTypeData.java 3 Mar 2002 01:20:08 -0000 1.2
***************
*** 33,37 ****
* @param ID unique ID.
*/
! protected AllocAbstractStatThreadTypeData(int ID) {
super(ID);
}
--- 33,37 ----
* @param ID unique ID.
*/
! protected AllocAbstractStatThreadTypeData(Integer ID) {
super(ID);
}
***************
*** 41,44 ****
--- 41,47 ----
/*
* $Log$
+ * Revision 1.2 2002/03/03 01:20:08 vachis
+ * type of ID changed from int to Integer
+ *
* Revision 1.1 2002/03/01 11:48:57 vachis
* rename of class
***************
*** 55,57 ****
* no message
*
! */
\ No newline at end of file
--- 58,60 ----
* no message
*
! */
Index: AllocArenaData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocArenaData.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** AllocArenaData.java 1 Dec 2001 15:58:52 -0000 1.4
--- AllocArenaData.java 3 Mar 2002 01:20:08 -0000 1.5
***************
*** 32,36 ****
public class AllocArenaData extends IDObjectData {
/** ID of the arena. */
! private int arenaID;
/** Name of the arena. */
private String name;
--- 32,36 ----
public class AllocArenaData extends IDObjectData {
/** ID of the arena. */
! private Integer arenaID;
/** Name of the arena. */
private String name;
***************
*** 51,55 ****
* @param active determines whether the arena is active.
*/
! AllocArenaData(int ID, int arenaID, String name, boolean active) {
super(ID);
this.arenaID=arenaID;
--- 51,55 ----
* @param active determines whether the arena is active.
*/
! AllocArenaData(Integer ID, Integer arenaID, String name, boolean active) {
super(ID);
this.arenaID=arenaID;
***************
*** 65,70 ****
AllocArenaData( IProf.sID sid ) {
// fills fields: active, arenaID, name
! this( sid.objId, sid.objId, ((IProf.sArenaInfo) sid.info).arenaName,
! sid.active );
}
--- 65,70 ----
AllocArenaData( IProf.sID sid ) {
// fills fields: active, arenaID, name
! this( new Integer(sid.objId), new Integer(sid.objId),
! ((IProf.sArenaInfo) sid.info).arenaName, sid.active );
}
***************
*** 74,78 ****
* @return ID of the arena.
*/
! public int getArenaID() {
return arenaID;
}
--- 74,78 ----
* @return ID of the arena.
*/
! public Integer getArenaID() {
return arenaID;
}
***************
*** 128,131 ****
--- 128,134 ----
/*
* $Log$
+ * Revision 1.5 2002/03/03 01:20:08 vachis
+ * type of ID changed from int to Integer
+ *
* Revision 1.4 2001/12/01 15:58:52 petrul
* changed constructor code
***************
*** 140,142 ****
* no message
*
! */
\ No newline at end of file
--- 143,145 ----
* no message
*
! */
Index: AllocStatIDObjectData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocStatIDObjectData.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** AllocStatIDObjectData.java 1 Dec 2001 17:41:31 -0000 1.3
--- AllocStatIDObjectData.java 3 Mar 2002 01:20:08 -0000 1.4
***************
*** 43,47 ****
* @param ID unique ID.
*/
! protected AllocStatIDObjectData(int ID) {
super(ID);
}
--- 43,47 ----
* @param ID unique ID.
*/
! protected AllocStatIDObjectData(Integer ID) {
super(ID);
}
***************
*** 121,124 ****
--- 121,127 ----
/*
* $Log$
+ * Revision 1.4 2002/03/03 01:20:08 vachis
+ * type of ID changed from int to Integer
+ *
* Revision 1.3 2001/12/01 17:41:31 petrul
* added private fields setting method
***************
*** 135,137 ****
* no message
*
! */
\ No newline at end of file
--- 138,140 ----
* no message
*
! */
Index: AllocThreadMethodData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocThreadMethodData.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** AllocThreadMethodData.java 1 Mar 2002 11:40:12 -0000 1.11
--- AllocThreadMethodData.java 3 Mar 2002 01:20:08 -0000 1.12
***************
*** 53,57 ****
* @param method allocation data for this method.
*/
! AllocThreadMethodData(int ID, ThreadData thread, MethodData method) {
super(ID);
this.thread=thread;
--- 53,57 ----
* @param method allocation data for this method.
*/
! AllocThreadMethodData(Integer ID, ThreadData thread, MethodData method) {
super(ID);
this.thread=thread;
***************
*** 69,73 ****
*/
AllocThreadMethodData( IProf.sID sid, ThreadData thread, MethodData method ) {
! this( sid.objId, thread, method );
//if (sid.alloc!=null) //do not test this, its an error
--- 69,73 ----
*/
AllocThreadMethodData( IProf.sID sid, ThreadData thread, MethodData method ) {
! this( new Integer( sid.objId ), thread, method );
//if (sid.alloc!=null) //do not test this, its an error
***************
*** 111,115 ****
void addType(AllocThreadTypeMethodData allocType) {
//FIXME
! types.put(new Integer(allocType.getID()), allocType);
}
--- 111,115 ----
void addType(AllocThreadTypeMethodData allocType) {
//FIXME
! types.put( allocType.getID(), allocType);
}
***************
*** 123,128 ****
* not exist.
*/
! public AllocThreadTypeMethodData getType(int ID) {
! return (AllocThreadTypeMethodData)types.get(new Integer(ID));
}
--- 123,128 ----
* not exist.
*/
! public AllocThreadTypeMethodData getType(Integer ID) {
! return (AllocThreadTypeMethodData)types.get( ID );
}
***************
*** 142,146 ****
*/
void addTrace(AllocThreadTraceData trace) {
! traces.put(new Integer(trace.getTrace().getID()), trace);
}
--- 142,146 ----
*/
void addTrace(AllocThreadTraceData trace) {
! traces.put( trace.getTrace().getID(), trace);
}
***************
*** 152,157 ****
* <code>null</code> if such trace does not exist.
*/
! public AllocThreadTraceData getTrace(int ID) {
! return (AllocThreadTraceData)traces.get(new Integer(ID));
}
--- 152,157 ----
* <code>null</code> if such trace does not exist.
*/
! public AllocThreadTraceData getTrace(Integer ID) {
! return (AllocThreadTraceData)traces.get( ID );
}
***************
*** 160,163 ****
--- 160,166 ----
/*
* $Log$
+ * Revision 1.12 2002/03/03 01:20:08 vachis
+ * type of ID changed from int to Integer
+ *
* Revision 1.11 2002/03/01 11:40:12 vachis
* doc changes
Index: AllocThreadTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocThreadTraceData.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** AllocThreadTraceData.java 1 Mar 2002 11:40:12 -0000 1.11
--- AllocThreadTraceData.java 3 Mar 2002 01:20:08 -0000 1.12
***************
*** 48,52 ****
* @param threadMethod allocation data for this thread and method.
*/
! AllocThreadTraceData(int ID, AllocThreadMethodData threadMethod,
AllocTraceData trace) {
super(ID);
--- 48,52 ----
* @param threadMethod allocation data for this thread and method.
*/
! AllocThreadTraceData(Integer ID, AllocThreadMethodData threadMethod,
AllocTraceData trace) {
super(ID);
***************
*** 64,68 ****
AllocThreadTraceData( IProf.sID sid, AllocThreadMethodData threadMethod,
AllocTraceData trace ) {
! this( sid.objId, threadMethod, trace );
//if (sid.alloc!=null) //do not test this, its an error
--- 64,68 ----
AllocThreadTraceData( IProf.sID sid, AllocThreadMethodData threadMethod,
AllocTraceData trace ) {
! this( new Integer(sid.objId), threadMethod, trace );
//if (sid.alloc!=null) //do not test this, its an error
***************
*** 107,111 ****
void addType(AllocThreadTypeTraceData allocType) {
// FIXME:
! types.put(new Integer(allocType.getID()), allocType);
}
--- 107,111 ----
void addType(AllocThreadTypeTraceData allocType) {
// FIXME:
! types.put( allocType.getID(), allocType);
}
***************
*** 119,124 ****
* not exist.
*/
! public AllocThreadTypeTraceData getType(int ID) {
! return (AllocThreadTypeTraceData)types.get(new Integer(ID));
}
--- 119,124 ----
* not exist.
*/
! public AllocThreadTypeTraceData getType(Integer ID) {
! return (AllocThreadTypeTraceData)types.get( ID );
}
***************
*** 127,130 ****
--- 127,133 ----
/*
* $Log$
+ * Revision 1.12 2002/03/03 01:20:08 vachis
+ * type of ID changed from int to Integer
+ *
* Revision 1.11 2002/03/01 11:40:12 vachis
* doc changes
Index: AllocThreadTypeData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocThreadTypeData.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** AllocThreadTypeData.java 1 Mar 2002 11:40:12 -0000 1.2
--- AllocThreadTypeData.java 3 Mar 2002 01:20:08 -0000 1.3
***************
*** 47,51 ****
* @param type allocation data for this class.
*/
! AllocThreadTypeData(int ID, ThreadData thread, AllocTypeData type) {
super(ID);
this.thread=thread;
--- 47,51 ----
* @param type allocation data for this class.
*/
! AllocThreadTypeData(Integer ID, ThreadData thread, AllocTypeData type) {
super(ID);
this.thread=thread;
***************
*** 62,66 ****
*/
AllocThreadTypeData( IProf.sID sid, ThreadData thread, AllocTypeData type ) {
! this( sid.objId, thread, type );
//if (sid.alloc!=null) //do not test this, its an error
--- 62,66 ----
*/
AllocThreadTypeData( IProf.sID sid, ThreadData thread, AllocTypeData type ) {
! this( new Integer(sid.objId) , thread, type );
//if (sid.alloc!=null) //do not test this, its an error
***************
*** 105,109 ****
*/
void addMethod(AllocThreadTypeMethodData method) {
! methods.put(new Integer(method.getTypeMethod().getMethod().getID()), method);
}
--- 105,109 ----
*/
void addMethod(AllocThreadTypeMethodData method) {
! methods.put( method.getTypeMethod().getMethod().getID(), method);
}
***************
*** 117,122 ****
* not exist.
*/
! public AllocThreadTypeMethodData getMethod(int ID) {
! return (AllocThreadTypeMethodData)methods.get(new Integer(ID));
}
--- 117,122 ----
* not exist.
*/
! public AllocThreadTypeMethodData getMethod(Integer ID) {
! return (AllocThreadTypeMethodData)methods.get( ID );
}
***************
*** 125,128 ****
--- 125,131 ----
/*
* $Log$
+ * Revision 1.3 2002/03/03 01:20:08 vachis
+ * type of ID changed from int to Integer
+ *
* Revision 1.2 2002/03/01 11:40:12 vachis
* doc changes
Index: AllocThreadTypeMethodData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocThreadTypeMethodData.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** AllocThreadTypeMethodData.java 1 Mar 2002 11:40:12 -0000 1.2
--- AllocThreadTypeMethodData.java 3 Mar 2002 01:20:08 -0000 1.3
***************
*** 52,56 ****
* @param threadMethod allocation data for this thread and method.
*/
! AllocThreadTypeMethodData(int ID, AllocThreadTypeData threadType,
AllocTypeMethodData typeMethod, AllocThreadMethodData threadMethod) {
super(ID);
--- 52,56 ----
* @param threadMethod allocation data for this thread and method.
*/
! AllocThreadTypeMethodData(Integer ID, AllocThreadTypeData threadType,
AllocTypeMethodData typeMethod, AllocThreadMethodData threadMethod) {
super(ID);
***************
*** 72,76 ****
AllocThreadTypeMethodData( IProf.sID sid, AllocThreadTypeData threadType,
AllocTypeMethodData typeMethod, AllocThreadMethodData threadMethod ) {
! this( sid.objId, threadType, typeMethod, threadMethod );
//if (sid.alloc!=null) //do not test this, its an error
--- 72,76 ----
AllocThreadTypeMethodData( IProf.sID sid, AllocThreadTypeData threadType,
AllocTypeMethodData typeMethod, AllocThreadMethodData threadMethod ) {
! this( new Integer(sid.objId), threadType, typeMethod, threadMethod );
//if (sid.alloc!=null) //do not test this, its an error
***************
*** 123,127 ****
*/
void addTrace(AllocThreadTypeTraceData trace) {
! traces.put(new Integer(trace.getTypeTrace().getTrace().getID()), trace);
}
--- 123,127 ----
*/
void addTrace(AllocThreadTypeTraceData trace) {
! traces.put(trace.getTypeTrace().getTrace().getID(), trace);
}
***************
*** 135,140 ****
* trace does not exist.
*/
! public AllocThreadTypeTraceData getTrace(int ID) {
! return (AllocThreadTypeTraceData)traces.get(new Integer(ID));
}
--- 135,140 ----
* trace does not exist.
*/
! public AllocThreadTypeTraceData getTrace(Integer ID) {
! return (AllocThreadTypeTraceData)traces.get( ID );
}
***************
*** 143,146 ****
--- 143,149 ----
/*
* $Log$
+ * Revision 1.3 2002/03/03 01:20:08 vachis
+ * type of ID changed from int to Integer
+ *
* Revision 1.2 2002/03/01 11:40:12 vachis
* doc changes
Index: AllocThreadTypeTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocThreadTypeTraceData.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** AllocThreadTypeTraceData.java 1 Mar 2002 11:40:12 -0000 1.2
--- AllocThreadTypeTraceData.java 3 Mar 2002 01:20:08 -0000 1.3
***************
*** 43,47 ****
* @param threadTrace allocation data for this thread and trace.
*/
! AllocThreadTypeTraceData(int ID, AllocTypeTraceData typeTrace,
AllocThreadTypeMethodData threadTypeMethod,
AllocThreadTraceData threadTrace) {
--- 43,47 ----
* @param threadTrace allocation data for this thread and trace.
*/
! AllocThreadTypeTraceData(Integer ID, AllocTypeTraceData typeTrace,
AllocThreadTypeMethodData threadTypeMethod,
AllocThreadTraceData threadTrace) {
***************
*** 63,67 ****
AllocThreadTypeMethodData threadClassMethod,
AllocThreadTraceData threadTrace ) {
! this( sid.objId, classTrace, threadClassMethod, threadTrace );
//if (sid.alloc!=null) //do not test this, its an error
--- 63,67 ----
AllocThreadTypeMethodData threadClassMethod,
AllocThreadTraceData threadTrace ) {
! this( new Integer(sid.objId), classTrace, threadClassMethod, threadTrace );
//if (sid.alloc!=null) //do not test this, its an error
***************
*** 100,103 ****
--- 100,106 ----
/*
* $Log$
+ * Revision 1.3 2002/03/03 01:20:08 vachis
+ * type of ID changed from int to Integer
+ *
* Revision 1.2 2002/03/01 11:40:12 vachis
* doc changes
Index: AllocTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocTraceData.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** AllocTraceData.java 1 Mar 2002 11:40:12 -0000 1.13
--- AllocTraceData.java 3 Mar 2002 01:20:08 -0000 1.14
***************
*** 57,61 ****
* <code>List</code> of {@link TraceFrameData} objects.
*/
! AllocTraceData(int ID, MethodData method, List frames) {
super(ID);
this.method=method;
--- 57,61 ----
* <code>List</code> of {@link TraceFrameData} objects.
*/
! AllocTraceData(Integer ID, MethodData method, List frames) {
super(ID);
this.method=method;
***************
*** 73,77 ****
*/
AllocTraceData( IProf.sID sid, MethodData method, List frames ) {
! this( sid.objId, method, frames );
//if (sid.alloc!=null) //do not test this, its an error
--- 73,77 ----
*/
AllocTraceData( IProf.sID sid, MethodData method, List frames ) {
! this( new Integer(sid.objId), method, frames );
//if (sid.alloc!=null) //do not test this, its an error
***************
*** 114,118 ****
void addType(AllocTypeTraceData allocType) {
//FIXMEE:
! types.put(new Integer(allocType.getID()), allocType);
}
--- 114,118 ----
void addType(AllocTypeTraceData allocType) {
//FIXMEE:
! types.put(allocType.getID(), allocType);
}
***************
*** 125,130 ****
* in this trace or <code>null</code> if such type does not exist.
*/
! public AllocTypeTraceData getType(int ID) {
! return (AllocTypeTraceData)types.get(new Integer(ID));
}
--- 125,130 ----
* in this trace or <code>null</code> if such type does not exist.
*/
! public AllocTypeTraceData getType(Integer ID) {
! return (AllocTypeTraceData)types.get( ID );
}
***************
*** 144,148 ****
*/
void addThread(AllocThreadTraceData thread) {
! threads.put( new Integer(thread.getThreadMethod().getThread().getID()), thread);
}
--- 144,148 ----
*/
void addThread(AllocThreadTraceData thread) {
! threads.put( thread.getThreadMethod().getThread().getID(), thread);
}
***************
*** 154,159 ****
* or <code>null</code> if such thread does not exist.
*/
! public AllocThreadTraceData getThread(int ID) {
! return (AllocThreadTraceData)threads.get(new Integer(ID));
}
--- 154,159 ----
* or <code>null</code> if such thread does not exist.
*/
! public AllocThreadTraceData getThread(Integer ID) {
! return (AllocThreadTraceData)threads.get(ID);
}
***************
*** 163,166 ****
--- 163,169 ----
/*
* $Log$
+ * Revision 1.14 2002/03/03 01:20:08 vachis
+ * type of ID changed from int to Integer
+ *
* Revision 1.13 2002/03/01 11:40:12 vachis
* doc changes
Index: AllocTypeData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocTypeData.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** AllocTypeData.java 1 Mar 2002 11:40:12 -0000 1.4
--- AllocTypeData.java 3 Mar 2002 01:20:08 -0000 1.5
***************
*** 56,60 ****
* @param arrayType arrayType of this type.
*/
! AllocTypeData(int ID, ClassData classData, int arrayType) {
super(ID);
this.clazz=classData;
--- 56,60 ----
* @param arrayType arrayType of this type.
*/
! AllocTypeData(Integer ID, ClassData classData, int arrayType) {
super(ID);
this.clazz=classData;
***************
*** 70,74 ****
*/
AllocTypeData(IProf.sID sid, ClassData clazz) {
! this( sid.objId, clazz, ((IProf.sObjectInfo) sid.info).isArray );
//if (sid.alloc != null) //do not test this, its an error
--- 70,74 ----
*/
AllocTypeData(IProf.sID sid, ClassData clazz) {
! this( new Integer(sid.objId), clazz, ((IProf.sObjectInfo) sid.info).isArray );
//if (sid.alloc != null) //do not test this, its an error
***************
*** 109,113 ****
*/
void addMethod(AllocTypeMethodData method) {
! methods.put(new Integer(method.getMethod().getID()), method);
}
--- 109,113 ----
*/
void addMethod(AllocTypeMethodData method) {
! methods.put(method.getMethod().getID(), method);
}
***************
*** 119,124 ****
* or <code>null</code> if such method does not exist.
*/
! public AllocTypeMethodData getMethod(int ID) {
! return (AllocTypeMethodData)methods.get(new Integer(ID));
}
--- 119,124 ----
* or <code>null</code> if such method does not exist.
*/
! public AllocTypeMethodData getMethod(Integer ID) {
! return (AllocTypeMethodData)methods.get(ID);
}
***************
*** 140,144 ****
if( threads == Collections.EMPTY_MAP )
threads = new HashMap();
! threads.put(new Integer(thread.getThread().getID()), thread);
}
--- 140,144 ----
if( threads == Collections.EMPTY_MAP )
threads = new HashMap();
! threads.put(thread.getThread().getID(), thread);
}
***************
*** 151,156 ****
* were allocated or <code>null</code> if such thread does not exist.
*/
! public AllocThreadTypeData getThread(int ID) {
! return (AllocThreadTypeData)methods.get(new Integer(ID));
}
--- 151,156 ----
* were allocated or <code>null</code> if such thread does not exist.
*/
! public AllocThreadTypeData getThread(Integer ID) {
! return (AllocThreadTypeData)methods.get(ID);
}
***************
*** 159,162 ****
--- 159,165 ----
/*
* $Log$
+ * Revision 1.5 2002/03/03 01:20:08 vachis
+ * type of ID changed from int to Integer
+ *
* Revision 1.4 2002/03/01 11:40:12 vachis
* doc changes
Index: AllocTypeMethodData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocTypeMethodData.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** AllocTypeMethodData.java 1 Mar 2002 11:40:12 -0000 1.2
--- AllocTypeMethodData.java 3 Mar 2002 01:20:08 -0000 1.3
***************
*** 56,60 ****
* @param method allocation data for this method.
*/
! AllocTypeMethodData(int ID, AllocTypeData type, MethodData method) {
super(ID);
this.type=type;
--- 56,60 ----
* @param method allocation data for this method.
*/
! AllocTypeMethodData(Integer ID, AllocTypeData type, MethodData method) {
super(ID);
this.type=type;
***************
*** 72,76 ****
*/
AllocTypeMethodData( IProf.sID sid, AllocTypeData type, MethodData method ) {
! this( sid.objId, type, method );
//if (sid.alloc!=null) //do not test this, its an error
--- 72,76 ----
*/
AllocTypeMethodData( IProf.sID sid, AllocTypeData type, MethodData method ) {
! this( new Integer(sid.objId), type, method );
//if (sid.alloc!=null) //do not test this, its an error
***************
*** 113,117 ****
*/
void addTrace(AllocTypeTraceData trace) {
! traces.put(new Integer(trace.getTrace().getID()), trace);
}
--- 113,117 ----
*/
void addTrace(AllocTypeTraceData trace) {
! traces.put(trace.getTrace().getID(), trace);
}
***************
*** 124,129 ****
* type were allocated or <code>null</code> if such trace does not exist.
*/
! public AllocTypeTraceData getTrace(int ID) {
! return (AllocTypeTraceData)traces.get(new Integer(ID));
}
--- 124,129 ----
* type were allocated or <code>null</code> if such trace does not exist.
*/
! public AllocTypeTraceData getTrace(Integer ID) {
! return (AllocTypeTraceData)traces.get( ID );
}
***************
*** 146,150 ****
*/
void addThread(AllocThreadTypeMethodData thread) {
! threads.put(new Integer(thread.getThreadType().getThread().getID()), thread);
}
--- 146,150 ----
*/
void addThread(AllocThreadTypeMethodData thread) {
! threads.put(thread.getThreadType().getThread().getID(), thread);
}
***************
*** 157,162 ****
* of this type allocated or <code>null</code> if such thread does not exist.
*/
! public AllocThreadTypeMethodData getThread(int ID) {
! return (AllocThreadTypeMethodData)threads.get(new Integer(ID));
}
--- 157,162 ----
* of this type allocated or <code>null</code> if such thread does not exist.
*/
! public AllocThreadTypeMethodData getThread(Integer ID) {
! return (AllocThreadTypeMethodData)threads.get( ID );
}
***************
*** 165,168 ****
--- 165,171 ----
/*
* $Log$
+ * Revision 1.3 2002/03/03 01:20:08 vachis
+ * type of ID changed from int to Integer
+ *
* Revision 1.2 2002/03/01 11:40:12 vachis
* doc changes
Index: AllocTypeTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocTypeTraceData.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** AllocTypeTraceData.java 1 Mar 2002 11:40:12 -0000 1.2
--- AllocTypeTraceData.java 3 Mar 2002 01:20:08 -0000 1.3
***************
*** 48,52 ****
* @param trace allocation data for this trace.
*/
! AllocTypeTraceData(int ID, AllocTypeMethodData typeMethod,
AllocTraceData trace) {
super(ID);
--- 48,52 ----
* @param trace allocation data for this trace.
*/
! AllocTypeTraceData(Integer ID, AllocTypeMethodData typeMethod,
AllocTraceData trace) {
super(ID);
***************
*** 64,68 ****
AllocTypeTraceData( IProf.sID sid, AllocTypeMethodData classMethod,
AllocTraceData trace) {
! this( sid.objId, classMethod, trace );
//if (sid.alloc!=null) //do not test this, its an error
--- 64,68 ----
AllocTypeTraceData( IProf.sID sid, AllocTypeMethodData classMethod,
AllocTraceData trace) {
! this( new Integer(sid.objId), classMethod, trace );
//if (sid.alloc!=null) //do not test this, its an error
***************
*** 105,109 ****
*/
void addThread(AllocThreadTypeTraceData thread) {
! threads.put(new Integer(thread.getThreadTrace().getThreadMethod().getThread().getID()), thread);
}
--- 105,109 ----
*/
void addThread(AllocThreadTypeTraceData thread) {
! threads.put( thread.getThreadTrace().getThreadMethod().getThread().getID(), thread);
}
***************
*** 117,122 ****
* not exist.
*/
! public AllocThreadTypeTraceData getThread(int ID) {
! return (AllocThreadTypeTraceData)threads.get(new Integer(ID));
}
--- 117,122 ----
* not exist.
*/
! public AllocThreadTypeTraceData getThread(Integer ID) {
! return (AllocThreadTypeTraceData)threads.get(ID);
}
***************
*** 125,128 ****
--- 125,131 ----
/*
* $Log$
+ * Revision 1.3 2002/03/03 01:20:08 vachis
+ * type of ID changed from int to Integer
+ *
* Revision 1.2 2002/03/01 11:40:12 vachis
* doc changes
Index: CPUStatIDObjectData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/CPUStatIDObjectData.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** CPUStatIDObjectData.java 20 Nov 2001 22:23:37 -0000 1.3
--- CPUStatIDObjectData.java 3 Mar 2002 01:20:08 -0000 1.4
***************
*** 39,43 ****
* @param ID unique ID.
*/
! public CPUStatIDObjectData(int ID) {
super(ID);
}
--- 39,43 ----
* @param ID unique ID.
*/
! public CPUStatIDObjectData(Integer ID) {
super(ID);
}
***************
*** 76,79 ****
--- 76,82 ----
/*
* $Log$
+ * Revision 1.4 2002/03/03 01:20:08 vachis
+ * type of ID changed from int to Integer
+ *
* Revision 1.3 2001/11/20 22:23:37 vachis
* Contructors from IProf.sID and monitors statistic info
***************
*** 87,89 ****
* Lists changed to Maps.
*
! */
\ No newline at end of file
--- 90,92 ----
* Lists changed to Maps.
*
! */
Index: CPUThreadMethodData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/CPUThreadMethodData.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** CPUThreadMethodData.java 11 Jan 2002 22:22:16 -0000 1.6
--- CPUThreadMethodData.java 3 Mar 2002 01:20:08 -0000 1.7
***************
*** 48,52 ****
* @param method profiling data for this method.
*/
! CPUThreadMethodData(int ID, ThreadData thread, MethodData method) {
super(ID);
this.thread=thread;
--- 48,52 ----
* @param method profiling data for this method.
*/
! CPUThreadMethodData(Integer ID, ThreadData thread, MethodData method) {
super(ID);
this.thread=thread;
***************
*** 63,67 ****
*/
CPUThreadMethodData( IProf.sID sid, ThreadData thread, MethodData method ) {
! this( sid.objId, thread, method );
//if (sid.cpu!=null) //do not test this, its an error
--- 63,67 ----
*/
CPUThreadMethodData( IProf.sID sid, ThreadData thread, MethodData method ) {
! this( new Integer(sid.objId), thread, method );
//if (sid.cpu!=null) //do not test this, its an error
***************
*** 102,106 ****
*/
void addTrace(CPUThreadTraceData trace) {
! traces.put(new Integer(trace.getTrace().getID()), trace);
}
--- 102,106 ----
*/
void addTrace(CPUThreadTraceData trace) {
! traces.put( trace.getTrace().getID(), trace);
}
***************
*** 112,117 ****
* if such trace does not exist.
*/
! public CPUThreadTraceData getTrace(int ID) {
! return (CPUThreadTraceData)traces.get(new Integer(ID));
}
--- 112,117 ----
* if such trace does not exist.
*/
! public CPUThreadTraceData getTrace(Integer ID) {
! return (CPUThreadTraceData)traces.get(ID);
}
***************
*** 120,123 ****
--- 120,126 ----
/*
* $Log$
+ * Revision 1.7 2002/03/03 01:20:08 vachis
+ * type of ID changed from int to Integer
+ *
* Revision 1.6 2002/01/11 22:22:16 vachis
* unnecessary test removed
***************
*** 140,142 ****
* Lists changed to Maps.
*
! */
\ No newline at end of file
--- 143,145 ----
* Lists changed to Maps.
*
! */
Index: CPUThreadTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/CPUThreadTraceData.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** CPUThreadTraceData.java 11 Jan 2002 22:22:16 -0000 1.5
--- CPUThreadTraceData.java 3 Mar 2002 01:20:08 -0000 1.6
***************
*** 40,44 ****
* @param trace profiling data for this trace.
*/
! CPUThreadTraceData(int ID, CPUThreadMethodData threadMethod,
CPUTraceData trace) {
super(ID);
--- 40,44 ----
* @param trace profiling data for this trace.
*/
! CPUThreadTraceData(Integer ID, CPUThreadMethodData threadMethod,
CPUTraceData trace) {
super(ID);
***************
*** 56,60 ****
CPUThreadTraceData( IProf.sID sid, CPUThreadMethodData threadMethod,
CPUTraceData trace ) {
! this( sid.objId, threadMethod, trace );
//if (sid.cpu!=null) //do not test this, its an error
--- 56,60 ----
CPUThreadTraceData( IProf.sID sid, CPUThreadMethodData threadMethod,
CPUTraceData trace ) {
! this( new Integer(sid.objId), threadMethod, trace );
//if (sid.cpu!=null) //do not test this, its an error
***************
*** 84,87 ****
--- 84,90 ----
/*
* $Log$
+ * Revision 1.6 2002/03/03 01:20:08 vachis
+ * type of ID changed from int to Integer
+ *
* Revision 1.5 2002/01/11 22:22:16 vachis
* unnecessary test removed
***************
*** 101,103 ****
* Lists changed to Maps.
*
! */
\ No newline at end of file
--- 104,106 ----
* Lists changed to Maps.
*
! */
Index: CPUTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/CPUTraceData.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** CPUTraceData.java 11 Jan 2002 22:22:16 -0000 1.7
--- CPUTraceData.java 3 Mar 2002 01:20:08 -0000 1.8
***************
*** 52,56 ****
* <code>List</code> of {@link TraceFrameData} objects.
*/
! CPUTraceData(int ID, MethodData method, List frames) {
super(ID);
this.method=method;
--- 52,56 ----
* <code>List</code> of {@link TraceFrameData} objects.
*/
! CPUTraceData(Integer ID, MethodData method, List frames) {
super(ID);
this.method=method;
***************
*** 66,70 ****
*/
CPUTraceData( IProf.sID sid, MethodData method, List frames ) {
! this( sid.objId, method, frames );
//if (sid.cpu!=null) //do not test this, its an error
--- 66,70 ----
*/
CPUTraceData( IProf.sID sid, MethodData method, List frames ) {
! this( new Integer(sid.objId), method, frames );
//if (sid.cpu!=null) //do not test this, its an error
***************
*** 105,109 ****
*/
void addThread(CPUThreadTraceData thread) {
! threads.put(new Integer(thread.getThreadMethod().getThread().getID()), thread);
}
--- 105,109 ----
*/
void addThread(CPUThreadTraceData thread) {
! threads.put(thread.getThreadMethod().getThread().getID(), thread);
}
***************
*** 115,120 ****
* or <code>null</code> if such thread does not exist.
*/
! public CPUThreadTraceData getThread(int ID) {
! return (CPUThreadTraceData)threads.get(new Integer(ID));
}
--- 115,120 ----
* or <code>null</code> if such thread does not exist.
*/
! public CPUThreadTraceData getThread(Integer ID) {
! return (CPUThreadTraceData)threads.get(ID);
}
***************
*** 123,126 ****
--- 123,129 ----
/*
* $Log$
+ * Revision 1.8 2002/03/03 01:20:08 vachis
+ * type of ID changed from int to Integer
+ *
* Revision 1.7 2002/01/11 22:22:16 vachis
* unnecessary test removed
***************
*** 146,148 ****
* Lists changed to Maps.
*
! */
\ No newline at end of file
--- 149,151 ----
* Lists changed to Maps.
*
! */
Index: ClassData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/ClassData.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** ClassData.java 26 Jan 2002 20:56:59 -0000 1.8
--- ClassData.java 3 Mar 2002 01:20:08 -0000 1.9
***************
*** 77,81 ****
*/
// * @param numMethods number of methods defined in this class.
! ClassData(int ID, String name, String sourceName, int numInterfaces,
/*int numMethods,*/ int numStaticFields, List staticFields,
int numInstanceFields, List instanceFields, boolean active) {
--- 77,81 ----
*/
// * @param numMethods number of methods defined in this class.
! ClassData(Integer ID, String name, String sourceName, int numInterfaces,
/*int numMethods,*/ int numStaticFields, List staticFields,
int numInstanceFields, List instanceFields, boolean active) {
***************
*** 107,111 ****
ClassData( IProf.sID sid, int numStaticFields, List staticFields,
int numInstanceFields, List instanceFields ) {
! this(sid.objId, ((IProf.sClassInfo)sid.info).className,
((IProf.sClassInfo)sid.info).sourceName,
((IProf.sClassInfo)sid.info).numInterfaces,// 0,
--- 107,111 ----
ClassData( IProf.sID sid, int numStaticFields, List staticFields,
int numInstanceFields, List instanceFields ) {
! this( new Integer(sid.objId), ((IProf.sClassInfo)sid.info).className,
((IProf.sClassInfo)sid.info).sourceName,
((IProf.sClassInfo)sid.info).numInterfaces,// 0,
***************
*** 121,125 ****
*/
ClassData( IProf.sID sid ) {
! this(sid.objId, ((IProf.sClassInfo)sid.info).className,
((IProf.sClassInfo)sid.info).sourceName,
((IProf.sClassInfo)sid.info).numInterfaces,// 0,
--- 121,125 ----
*/
ClassData( IProf.sID sid ) {
! this( new Integer(sid.objId), ((IProf.sClassInfo)sid.info).className,
((IProf.sClassInfo)sid.info).sourceName,
((IProf.sClassInfo)sid.info).numInterfaces,// 0,
***************
*** 268,271 ****
--- 268,274 ----
/*
* $Log$
+ * Revision 1.9 2002/03/03 01:20:08 vachis
+ * type of ID changed from int to Integer
+ *
* Revision 1.8 2002/01/26 20:56:59 vachis
* fix getmethods(), get..instaces() returns null
***************
*** 294,296 ****
* no message
*
! */
\ No newline at end of file
--- 297,299 ----
* no message
*
! */
Index: ClassFieldData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/ClassFieldData.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** ClassFieldData.java 9 Dec 2001 23:23:18 -0000 1.3
--- ClassFieldData.java 3 Mar 2002 01:20:08 -0000 1.4
***************
*** 41,45 ****
* @param signature signature of the field.
*/
! ClassFieldData(int ID, String name, String signature) {
super(ID);
this.name=name;
--- 41,45 ----
* @param signature signature of the field.
*/
! ClassFieldData(Integer ID, String name, String signature) {
super(ID);
this.name=name;
***************
*** 53,57 ****
*/
ClassFieldData( IProf.sID sid ) {
! this(sid.objId, ((IProf.sClassFieldInfo) sid.info).fieldName,
((IProf.sClassFieldInfo) sid.info).fieldSignature);
}
--- 53,57 ----
*/
ClassFieldData( IProf.sID sid ) {
! this( new Integer(sid.objId), ((IProf.sClassFieldInfo) sid.info).fieldName,
((IProf.sClassFieldInfo) sid.info).fieldSignature);
}
***************
*** 79,82 ****
--- 79,85 ----
/*
* $Log$
+ * Revision 1.4 2002/03/03 01:20:08 vachis
+ * type of ID changed from int to Integer
+ *
* Revision 1.3 2001/12/09 23:23:18 vachis
* constructor for IProf.sid
***************
*** 88,90 ****
* no message
*
! */
\ No newline at end of file
--- 91,93 ----
* no message
*
! */
Index: GCData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/GCData.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** GCData.java 2 Dec 2001 14:48:06 -0000 1.4
--- GCData.java 3 Mar 2002 01:20:08 -0000 1.5
***************
*** 49,53 ****
* @param endTime time when GC finished.
*/
! GCData(int ID, long usedObjects, long usedSpace, long totalSpace,
long startTime, long endTime) {
super(ID);
--- 49,53 ----
* @param endTime time when GC finished.
*/
! GCData(Integer ID, long usedObjects, long usedSpace, long totalSpace,
long startTime, long endTime) {
super(ID);
***************
*** 65,69 ****
*/
GCData( IProf.sID sid ) {
! this(sid.objId, ((IProf.sGCInfo)sid.info).usedObjects,
((IProf.sGCInfo)sid.info).usedObjectSpace,
((IProf.sGCInfo)sid.info).totalObjectSpace,
--- 65,69 ----
*/
GCData( IProf.sID sid ) {
! this( new Integer(sid.objId), ((IProf.sGCInfo)sid.info).usedObjects,
((IProf.sGCInfo)sid.info).usedObjectSpace,
((IProf.sGCInfo)sid.info).totalObjectSpace,
***************
*** 121,124 ****
--- 121,127 ----
/*
* $Log$
+ * Revision 1.5 2002/03/03 01:20:08 vachis
+ * type of ID changed from int to Integer
+ *
* Revision 1.4 2001/12/02 14:48:06 petrul
* changed constructor code
***************
*** 133,135 ****
* no message
*
! */
\ No newline at end of file
--- 136,138 ----
* no message
*
! */
Index: IDObjectData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/IDObjectData.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** IDObjectData.java 8 Feb 2002 13:18:38 -0000 1.4
--- IDObjectData.java 3 Mar 2002 01:20:08 -0000 1.5
***************
*** 30,34 ****
public abstract class IDObjectData implements Serializable {
/** Unique ID. */
! private int ID;
/**
--- 30,34 ----
public abstract class IDObjectData implements Serializable {
/** Unique ID. */
! private Integer ID;
/**
***************
*** 37,41 ****
* @param ID unique ID.
*/
! protected IDObjectData(int ID) {
this.ID=ID;
}
--- 37,41 ----
* @param ID unique ID.
*/
! protected IDObjectData(Integer ID) {
this.ID=ID;
}
***************
*** 46,50 ****
* @return ID of the object.
*/
! public int getID() {
return ID;
}
--- 46,50 ----
* @return ID of the object.
*/
! public Integer getID() {
return ID;
}
***************
*** 64,67 ****
--- 64,70 ----
/*
* $Log$
+ * Revision 1.5 2002/03/03 01:20:08 vachis
+ * type of ID changed from int to Integer
+ *
* Revision 1.4 2002/02/08 13:18:38 petrul
* implements Serializable
***************
*** 76,78 ****
* no message
*
! */
\ No newline at end of file
--- 79,81 ----
* no message
*
! */
Index: MethodData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/MethodData.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** MethodData.java 1 Mar 2002 11:41:43 -0000 1.14
--- MethodData.java 3 Mar 2002 01:20:09 -0000 1.15
***************
*** 108,112 ****
* @param clazz class this method belongs to.
*/
! MethodData(int ID, String name, String signature, int startLine,
int endLine, ClassData clazz) {
super(ID);
--- 108,112 ----
* @param clazz class this method belongs to.
*/
! MethodData(Integer ID, String name, String signature, int startLine,
int endLine, ClassData clazz) {
super(ID);
***************
*** 135,139 ****
*/
MethodData( IProf.sID sid, ClassData clazz ) {
! this(sid.objId, ((IProf.sMethodInfo)sid.info).methodName,
((IProf.sMethodInfo)sid.info).methodSignature,
((IProf.sMethodInfo)sid.info).startLineno,
--- 135,139 ----
*/
MethodData( IProf.sID sid, ClassData clazz ) {
! this( new Integer(sid.objId), ((IProf.sMethodInfo)sid.info).methodName,
((IProf.sMethodInfo)sid.info).methodSignature,
((IProf.sMethodInfo)sid.info).startLineno,
***************
*** 215,219 ****
if ( allocTraces == Collections.EMPTY_MAP )
allocTraces = new HashMap();
! allocTraces.put(new Integer(trace.getID()), trace);
}
--- 215,219 ----
if ( allocTraces == Collections.EMPTY_MAP )
allocTraces = new HashMap();
! allocTraces.put(trace.getID(), trace);
}
***************
*** 226,231 ****
* were allocated or <code>null</code> if such trace does not exist.
*/
! public AllocTraceData getAllocTrace(int ID) {
! return (AllocTraceData)allocTraces.get(new Integer(ID));
}
--- 226,231 ----
* were allocated or <code>null</code> if such trace does not exist.
*/
! public AllocTraceData getAllocTrace(Integer ID) {
! return (AllocTraceData)allocTraces.get(ID);
}
***************
*** 247,251 ****
if ( CPUTraces == Collections.EMPTY_MAP )
CPUTraces = new HashMap();
! CPUTraces.put(new Integer(trace.getID()), trace);
}
--- 247,251 ----
if ( CPUTraces == Collections.EMPTY_MAP )
CPUTraces = new HashMap();
! CPUTraces.put(trace.getID(), trace);
}
***************
*** 257,262 ****
* if such trace does not exist.
*/
! public CPUTraceData getCPUTrace(int ID) {
! return (CPUTraceData)CPUTraces.get(new Integer(ID));
}
--- 257,262 ----
* if such trace does not exist.
*/
! public CPUTraceData getCPUTrace(Integer ID) {
! return (CPUTraceData)CPUTraces.get(ID);
}
***************
*** 278,282 ****
if ( MonTraces == Collections.EMPTY_MAP )
MonTraces = new HashMap();
! MonTraces.put(new Integer(trace.getID()), trace);
}
--- 278,282 ----
if ( MonTraces == Collections.EMPTY_MAP )
MonTraces = new HashMap();
! MonTraces.put(trace.getID(), trace);
}
***************
*** 288,293 ****
* if such trace does not exist.
*/
! public MonTraceData getMonTrace(int ID) {
! return (MonTraceData)MonTraces.get(new Integer(ID));
}
--- 288,293 ----
* if such trace does not exist.
*/
! public MonTraceData getMonTrace(Integer ID) {
! return (MonTraceData)MonTraces.get(ID);
}
***************
*** 310,314 ****
if ( types == Collections.EMPTY_MAP )
types = new HashMap();
! types.put(new Integer(allocType.getID()), allocType);
}
--- 310,314 ----
if ( types == Collections.EMPTY_MAP )
types = new HashMap();
! types.put(allocType.getID(), allocType);
}
***************
*** 321,326 ****
* in this method or <code>null</code> if such class does not exist.
*/
! public AllocTypeMethodData getType(int ID) {
! return (AllocTypeMethodData)types.get(new Integer(ID));
}
--- 321,326 ----
* in this method or <code>null</code> if such class does not exist.
*/
! public AllocTypeMethodData getType(Integer ID) {
! return (AllocTypeMethodData)types.get(ID);
}
***************
*** 355,360 ****
* or <code>null</code> if such thread does not exist.
*/
! public AllocThreadMethodData getAllocThread(int ID) {
! return (AllocThreadMethodData) allocThreads.get(new Integer(ID));
}
--- 355,360 ----
* or <code>null</code> if such thread does not exist.
*/
! public AllocThreadMethodData getAllocThread(Integer ID) {
! return (AllocThreadMethodData) allocThreads.get(ID);
}
***************
*** 376,380 ****
if ( CPUThreads == Collections.EMPTY_MAP )
CPUThreads = new HashMap();
! CPUThreads.put(new Integer(thread.getThread().getID()), thread);
}
--- 376,380 ----
if ( CPUThreads == Collections.EMPTY_MAP )
CPUThreads = new HashMap();
! CPUThreads.put(thread.getThread().getID(), thread);
}
***************
*** 386,391 ****
* or <code>null</code> if such thread does not exist.
*/
! public CPUThreadMethodData getCPUThread(int ID) {
! return (CPUThreadMethodData)CPUThreads.get(new Integer(ID));
}
--- 386,391 ----
* or <code>null</code> if such thread does not exist.
*/
! public CPUThreadMethodData getCPUThread(Integer ID) {
! return (CPUThreadMethodData)CPUThreads.get(ID);
}
***************
*** 407,411 ****
if ( MonThreads == Collections.EMPTY_MAP )
MonThreads = new HashMap();
! MonThreads.put(new Integer(thread.getThread().getID()), thread);
}
--- 407,411 ----
if ( MonThreads == Collections.EMPTY_MAP )
MonThreads = new HashMap();
! MonThreads.put(thread.getThread().getID(), thread);
}
***************
*** 417,422 ****
* or <code>null</code> if such thread does not exist.
*/
! public MonThreadMethodData getMonThread(int ID) {
! return (MonThreadMethodData)CPUThreads.get(new Integer(ID));
}
--- 417,422 ----
* or <code>null</code> if such thread does not exist.
*/
! public MonThreadMethodData getMonThread(Integer ID) {
! return (MonThreadMethodData)CPUThreads.get(ID);
}
***************
*** 548,551 ****
--- 548,554 ----
/*
* $Log$
+ * Revision 1.15 2002/03/03 01:20:09 vachis
+ * type of ID changed from int to Integer
+ *
* Revision 1.14 2002/03/01 11:41:43 vachis
* doc changes
Index: MonStatIDObjectData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/MonStatIDObjectData.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** MonStatIDObjectData.java 20 Nov 2001 22:28:50 -0000 1.1
--- MonStatIDObjectData.java 3 Mar 2002 01:20:09 -0000 1.2
***************
*** 34,38 ****
/** Creates new MonStatIDObjectData */
! public MonStatIDObjectData(int ID) {
super(ID);
}
--- 34,38 ----
/** Creates new MonStatIDObjectData */
! public MonStatIDObjectData(Integer ID) {
super(ID);
}
***************
*** 71,74 ****
--- 71,77 ----
/*
* $Log$
+ * Revision 1.2 2002/03/03 01:20:09 vachis
+ * type of ID changed from int to Integer
+ *
* Revision 1.1 2001/11/20 22:28:50 vachis
* Monitors data classes
Index: MonThreadMethodData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/MonThreadMethodData.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** MonThreadMethodData.java 11 Jan 2002 22:22:16 -0000 1.3
--- MonThreadMethodData.java 3 Mar 2002 01:20:09 -0000 1.4
***************
*** 49,53 ****
* @param method profiling data for this method.
*/
! public MonThreadMethodData(int ID, ThreadData thread, MethodData method) {
super(ID);
this.thread=thread;
--- 49,53 ----
* @param method profiling data for this method.
*/
! public MonThreadMethodData(Integer ID, ThreadData thread, MethodData method) {
super(ID);
this.thread=thread;
***************
*** 64,68 ****
*/
MonThreadMethodData( IProf.sID sid, ThreadData thread, MethodData method ) {
! this( sid.objId, thread, method );
//if (sid.mon!=null) //do not test this, its an error
--- 64,68 ----
*/
MonThreadMethodData( IProf.sID sid, ThreadData thread, MethodData method ) {
! this( new Integer(sid.objId), thread, method );
//if (sid.mon!=null) //do not test this, its an error
***************
*** 103,107 ****
*/
void addTrace(MonThreadTraceData trace) {
! traces.put(new Integer(trace.getTrace().getID()), trace);
}
--- 103,107 ----
*/
void addTrace(MonThreadTraceData trace) {
! traces.put(trace.getTrace().getID(), trace);
}
***************
*** 113,118 ****
* if such trace does not exist.
*/
! public MonThreadTraceData getTrace(int ID) {
! return (MonThreadTraceData)traces.get(new Integer(ID));
}
--- 113,118 ----
* if such trace does not exist.
*/
! public MonThreadTraceData getTrace(Integer ID) {
! return (MonThreadTraceData)traces.get(ID);
}
***************
*** 122,125 ****
--- 122,128 ----
/*
* $Log$
+ * Revision 1.4 2002/03/03 01:20:09 vachis
+ * type of ID changed from int to Integer
+ *
* Revision 1.3 2002/01/11 22:22:16 vachis
* unnecessary test removed
Index: MonThreadTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/MonThreadTraceData.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** MonThreadTraceData.java 11 Jan 2002 22:22:16 -0000 1.3
--- MonThreadTraceData.java 3 Mar 2002 01:20:09 -0000 1.4
***************
*** 45,49 ****
* @param trace profiling data for this trace.
*/
! MonThreadTraceData(int ID, MonThreadMethodData threadMethod,
MonTraceData trace) {
super(ID);
--- 45,49 ----
* @param trace profiling data for this trace.
*/
! MonThreadTraceData(Integer ID, MonThreadMethodData threadMethod,
MonTraceData trace) {
super(ID);
***************
*** 61,65 ****
MonThreadTraceData( IProf.sID sid, MonThreadMethodData threadMethod,
MonTraceData trace ) {
! this( sid.objId, threadMethod, trace );
//if (sid.mon!=null) //do not test this, its an error
--- 61,65 ----
MonThreadTraceData( IProf.sID sid, MonThreadMethodData threadMethod,
MonTraceData trace ) {
! this( new Integer(sid.objId), threadMethod, trace );
//if (sid.mon!=null) //do not test this, its an error
***************
*** 89,92 ****
--- 89,95 ----
/*
* $Log$
+ * Revision 1.4 2002/03/03 01:20:09 vachis
+ * type of ID changed from int to Integer
+ *
* Revision 1.3 2002/01/11 22:22:16 vachis
* unnecessary test removed
***************
*** 98,100 ****
* Monitors data classes
*
! */
\ No newline at end of file
--- 101,103 ----
* Monitors data classes
*
! */
Index: MonTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/MonTraceData.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** MonTraceData.java 11 Jan 2002 22:22:16 -0000 1.4
--- MonTraceData.java 3 Mar 2002 01:20:09 -0000 1.5
***************
*** 54,58 ****
* <code>List</code> of {@link TraceFrameData} objects.
*/
! MonTraceData(int ID, MethodData method, List frames) {
super(ID);
this.method=method;
--- 54,58 ----
* <code>List</code> of {@link TraceFrameData} objects.
*/
! MonTraceData(Integer ID, MethodData method, List frames) {
super(ID);
this.method=method;
***************
*** 68,72 ****
*/
MonTraceData( IProf.sID sid, MethodData method, List frames ) {
! this( sid.objId, method, frames );
//if (sid.mon!=null) //do not test this, its an error
--- 68,72 ----
*/
MonTraceData( IProf.sID sid, MethodData method, List frames ) {
! this( new Integer(sid.objId), method, frames );
//if (sid.mon!=null) //do not test this, its an error
***************
*** 108,112 ****
*/
void addThread(MonThreadTraceData thread) {
! threads.put(new Integer(thread.getThreadMethod().getThread().getID()), thread);
}
--- 108,112 ----
*/
void addThread(MonThreadTraceData thread) {
! threads.put(thread.getThreadMethod().getThread().getID(), thread);
}
***************
*** 118,123 ****
* or <code>null</code> if such thread does not exist.
*/
! public MonThreadTraceData getThread(int ID) {
! return (MonThreadTraceData)threads.get(new Integer(ID));
}
}
--- 118,123 ----
* or <code>null</code> if such thread does not exist.
*/
! public MonThreadTraceData getThread(Integer ID) {
! return (MonThreadTraceData)threads.get(ID);
}
}
***************
*** 126,129 ****
--- 126,132 ----
/*
* $Log$
+ * Revision 1.5 2002/03/03 01:20:09 vachis
+ * type of ID changed from int to Integer
+ *
* Revision 1.4 2002/01/11 22:22:16 vachis
* unnecessary test removed
***************
*** 138,140 ****
* Monitors data classes
*
! */
\ No newline at end of file
--- 141,143 ----
* Monitors data classes
*
! */
Index: SnapshotImpl.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/SnapshotImpl.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** SnapshotImpl.java 16 Feb 2002 16:21:52 -0000 1.11
--- SnapshotImpl.java 3 Mar 2002 01:20:09 -0000 1.12
***************
*** 502,506 ****
else{
obj = (IDObjectData) iter.next();
! iterInner = iprof.getAllThruIterator( obj.getID(), whatType,
true, IProf.isObjWithInfo( whatType), optArg );
}
--- 502,506 ----
else{
obj = (IDObjectData) iter.next();
! iterInner = iprof.getAllThruIterator( obj.getID().intValue(), whatType,
true, IProf.isObjWithInfo( whatType), optArg );
}
***************
*** 517,521 ****
objInner = createAndPutIn( whatType, sid, obj, postOpLst,
postOpIterLst );
! libIDs.put( new Integer(objInner.getID()), objInner );
if ( out != null )
out.add( objInner );
--- 517,521 ----
objInner = createAndPutIn( whatType, sid, obj, postOpLst,
postOpIterLst );
! libIDs.put( objInner.getID(), objInner );
if ( out != null )
out.add( objInner );
***************
*** 1036,1039 ****
--- 1036,1042 ----
/*
* $Log$
+ * Revision 1.12 2002/03/03 01:20:09 vachis
+ ...
[truncated message content] |