You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(73) |
Sep
(92) |
Oct
(9) |
Nov
(80) |
Dec
(60) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(92) |
Feb
(52) |
Mar
(71) |
Apr
(64) |
May
(53) |
Jun
(10) |
Jul
(111) |
Aug
(93) |
Sep
(134) |
Oct
|
Nov
|
Dec
|
|
From: Pavel V. <va...@us...> - 2002-09-09 17:38:50
|
Update of /cvsroot/javaprofiler/module/net/sourceforge/javaprofiler/module/nodes In directory usw-pr-cvs1:/tmp/cvs-serv13023 Added Files: package.html Log Message: package description --- NEW FILE: package.html --- <body> Profiler nodes. </body> |
|
From: Pavel V. <va...@us...> - 2002-09-09 17:37:55
|
Update of /cvsroot/javaprofiler/module/net/sourceforge/javaprofiler/module/editors In directory usw-pr-cvs1:/tmp/cvs-serv12868 Added Files: package.html Log Message: package description --- NEW FILE: package.html --- <body> Editors for beans in the module. </body> |
|
From: Pavel V. <va...@us...> - 2002-09-09 17:36:32
|
Update of /cvsroot/javaprofiler/module/net/sourceforge/javaprofiler/module/data In directory usw-pr-cvs1:/tmp/cvs-serv12678 Added Files: package.html Log Message: package description --- NEW FILE: package.html --- <body> Module data - <code>Session</code>, <code>Snapshot</code> ... </body> |
|
From: Pavel V. <va...@us...> - 2002-09-09 17:29:04
|
Update of /cvsroot/javaprofiler/module/net/sourceforge/javaprofiler/module/actions In directory usw-pr-cvs1:/tmp/cvs-serv10866 Added Files: package.html Log Message: package description --- NEW FILE: package.html --- <body> Actions for the module. </body> |
|
From: Pavel V. <va...@us...> - 2002-09-09 17:27:24
|
Update of /cvsroot/javaprofiler/module/net/sourceforge/javaprofiler/module In directory usw-pr-cvs1:/tmp/cvs-serv10394 Added Files: package.html Log Message: package description --- NEW FILE: package.html --- <body> Profiler - module for Netbeans. </body> |
|
From: Pavel V. <va...@us...> - 2002-09-09 17:26:24
|
Update of /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/realtime In directory usw-pr-cvs1:/tmp/cvs-serv10098 Added Files: package.html Log Message: package description --- NEW FILE: package.html --- <body> Profiling data that can change in realtime. </body> |
|
From: Pavel V. <va...@us...> - 2002-09-09 17:25:02
|
Update of /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data
In directory usw-pr-cvs1:/tmp/cvs-serv9631
Added Files:
package.html
Log Message:
package description
--- NEW FILE: package.html ---
<body>
Implementation of {@link Snapshot} interface, this classes represent nonchanging profiling data.
</body>
|
|
From: Pavel V. <va...@us...> - 2002-09-09 17:23:39
|
Update of /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/connect In directory usw-pr-cvs1:/tmp/cvs-serv9220 Added Files: package.html Log Message: package description --- NEW FILE: package.html --- <body> Implementation of jpi.connect - ways of conneting to profiled program. Eg. attach using sockets, launch and use shared memory. </body> |
|
From: Pavel V. <va...@us...> - 2002-09-09 17:21:33
|
Update of /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/commun In directory usw-pr-cvs1:/tmp/cvs-serv8377 Added Files: package.html Log Message: package description --- NEW FILE: package.html --- <body> Comunication with profiled program through wire protocol. </body> |
|
From: Pavel V. <va...@us...> - 2002-09-09 17:20:56
|
Update of /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl In directory usw-pr-cvs1:/tmp/cvs-serv8113 Added Files: package.html Log Message: package description --- NEW FILE: package.html --- <body> Implementation of Java Profiling Interface. </body> |
|
From: Pavel V. <va...@us...> - 2002-09-09 17:19:52
|
Update of /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/connect
In directory usw-pr-cvs1:/tmp/cvs-serv7785
Modified Files:
package.html
Log Message:
package description
Index: package.html
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/connect/package.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** package.html 21 Aug 2002 13:07:10 -0000 1.1
--- package.html 9 Sep 2002 17:19:48 -0000 1.2
***************
*** 1,3 ****
<body>
! This package contains class {@link Connector} and surrounding classes.
</body>
--- 1,3 ----
<body>
! Classes repesent the ways of connencting to profiled program.
</body>
|
|
From: Pavel V. <va...@us...> - 2002-09-09 17:19:37
|
Update of /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi In directory usw-pr-cvs1:/tmp/cvs-serv7648 Added Files: package.html Log Message: package description --- NEW FILE: package.html --- <body> Java Profiling Interface </body> |
|
From: Pavel V. <va...@us...> - 2002-09-09 16:31:15
|
Update of /cvsroot/javaprofiler/module/net/sourceforge/javaprofiler/module/sheets
In directory usw-pr-cvs1:/tmp/cvs-serv25414
Modified Files:
ThreadSheet.java
Log Message:
fix - test endTime == null
Index: ThreadSheet.java
===================================================================
RCS file: /cvsroot/javaprofiler/module/net/sourceforge/javaprofiler/module/sheets/ThreadSheet.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** ThreadSheet.java 3 Sep 2002 17:55:00 -0000 1.2
--- ThreadSheet.java 9 Sep 2002 16:31:11 -0000 1.3
***************
*** 87,92 ****
set.put(pr);
! pr=new PropertySupport.Reflection(ref.getEndTime(),
! String.class, "toString", null);
pr.setName("EndTime");
pr.setDisplayName(bundle.getString("LBL_EndTime"));
--- 87,97 ----
set.put(pr);
! if ( ref.getEndTime() != null ) {
! pr=new PropertySupport.Reflection(ref.getEndTime(),
! String.class, "toString", null);
! } else {
! pr=new PropertySupport.Reflection(this,
! String.class, "none", null);
! }
pr.setName("EndTime");
pr.setDisplayName(bundle.getString("LBL_EndTime"));
***************
*** 109,112 ****
--- 114,120 ----
/*
* $Log$
+ * Revision 1.3 2002/09/09 16:31:11 vachis
+ * fix - test endTime == null
+ *
* Revision 1.2 2002/09/03 17:55:00 petrul
* updated javadoc
|
|
From: Pavel V. <va...@us...> - 2002-09-09 16:28:59
|
Update of /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data
In directory usw-pr-cvs1:/tmp/cvs-serv24517
Modified Files:
AllocThreadMethodData.java AllocThreadTraceData.java
AllocTraceData.java ClassData.java CPUThreadMethodData.java
CPUThreadTraceData.java CPUTraceData.java
MonThreadMethodData.java MonThreadTraceData.java
MonTraceData.java SnapshotImpl.java ThreadData.java
Log Message:
fixies in javadoc
Index: AllocThreadMethodData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocThreadMethodData.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** AllocThreadMethodData.java 8 Sep 2002 19:01:01 -0000 1.21
--- AllocThreadMethodData.java 9 Sep 2002 16:28:52 -0000 1.22
***************
*** 169,173 ****
* and thread.
*
! * @return unmodifiable list of {@link AllocThreadTypeMethodRef} objects.
*/
public List getAllocTypeThreadMethods() {
--- 169,173 ----
* and thread.
*
! * @return unmodifiable list of {@link AllocTypeThreadMethodRef} objects.
*/
public List getAllocTypeThreadMethods() {
***************
*** 201,205 ****
* In this case it means that object belons to same thread and method.
*
! *@returns sibling CPU object or <code>null</code> if such object does not
* exist.
*/
--- 201,205 ----
* In this case it means that object belons to same thread and method.
*
! *@return sibling CPU object or <code>null</code> if such object does not
* exist.
*/
***************
*** 211,215 ****
* In this case it means that object belons to same thread and method.
*
! *@returns sibling monitors object or <code>null</code> if such object does not
* exist.
*/
--- 211,215 ----
* In this case it means that object belons to same thread and method.
*
! *@return sibling monitors object or <code>null</code> if such object does not
* exist.
*/
***************
*** 232,235 ****
--- 232,238 ----
/*
* $Log$
+ * Revision 1.22 2002/09/09 16:28:52 vachis
+ * fixies in javadoc
+ *
* Revision 1.21 2002/09/08 19:01:01 vachis
* changes in toString()
Index: AllocThreadTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocThreadTraceData.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** AllocThreadTraceData.java 8 Sep 2002 19:01:01 -0000 1.21
--- AllocThreadTraceData.java 9 Sep 2002 16:28:52 -0000 1.22
***************
*** 172,176 ****
* In this case it means that object belons to same thread and corresponding trace.
*
! *@returns sibling CPU object or <code>null</code> if such object does not
* exist.
*/
--- 172,176 ----
* In this case it means that object belons to same thread and corresponding trace.
*
! *@return sibling CPU object or <code>null</code> if such object does not
* exist.
*/
***************
*** 182,186 ****
* In this case it means that object belons to same thread and corresponding trace.
*
! *@returns sibling monitors object or <code>null</code> if such object does not
* exist.
*/
--- 182,186 ----
* In this case it means that object belons to same thread and corresponding trace.
*
! *@return sibling monitors object or <code>null</code> if such object does not
* exist.
*/
***************
*** 203,206 ****
--- 203,209 ----
/*
* $Log$
+ * Revision 1.22 2002/09/09 16:28:52 vachis
+ * fixies in javadoc
+ *
* Revision 1.21 2002/09/08 19:01:01 vachis
* changes in toString()
Index: AllocTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocTraceData.java,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -r1.26 -r1.27
*** AllocTraceData.java 8 Sep 2002 19:01:02 -0000 1.26
--- AllocTraceData.java 9 Sep 2002 16:28:53 -0000 1.27
***************
*** 118,122 ****
* Returns frames that make up this trace.
*
! * @return <code>List</code> of {@link TraceFrameRef} objects.
*/
public List getFrames() {
--- 118,122 ----
* Returns frames that make up this trace.
*
! * @return <code>List</code> of {@link FrameRef} objects.
*/
public List getFrames() {
***************
*** 217,221 ****
* In this case it means corresponding CPUTrace.
*
! *@returns sibling CPU object or <code>null</code> if such object does not
* exist.
*/
--- 217,221 ----
* In this case it means corresponding CPUTrace.
*
! *@return sibling CPU object or <code>null</code> if such object does not
* exist.
*/
***************
*** 235,239 ****
* In this case it means corresponding monitors trace.
*
! *@returns sibling monitors object or <code>null</code> if such object does not
* exist.
*/
--- 235,239 ----
* In this case it means corresponding monitors trace.
*
! *@return sibling monitors object or <code>null</code> if such object does not
* exist.
*/
***************
*** 265,268 ****
--- 265,271 ----
/*
* $Log$
+ * Revision 1.27 2002/09/09 16:28:53 vachis
+ * fixies in javadoc
+ *
* Revision 1.26 2002/09/08 19:01:02 vachis
* changes in toString()
Index: ClassData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/ClassData.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** ClassData.java 2 Sep 2002 15:25:47 -0000 1.15
--- ClassData.java 9 Sep 2002 16:28:53 -0000 1.16
***************
*** 40,44 ****
/**
* Static fields defined in this class.
! * List of {@link ClassFieldData} objects.
*/
private final List fields;
--- 40,44 ----
/**
* Static fields defined in this class.
! * List of {@link FieldData} objects.
*/
private final List fields;
***************
*** 201,204 ****
--- 201,207 ----
/*
* $Log$
+ * Revision 1.16 2002/09/09 16:28:53 vachis
+ * fixies in javadoc
+ *
* Revision 1.15 2002/09/02 15:25:47 vachis
* copy contrcutors for difference of snapshot
Index: CPUThreadMethodData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/CPUThreadMethodData.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** CPUThreadMethodData.java 8 Sep 2002 19:01:02 -0000 1.16
--- CPUThreadMethodData.java 9 Sep 2002 16:28:54 -0000 1.17
***************
*** 159,163 ****
* In this case it means that object belons to same thread and method.
*
! *@returns sibling alloc object or <code>null</code> if such object does not
* exist.
*/
--- 159,163 ----
* In this case it means that object belons to same thread and method.
*
! *@return sibling alloc object or <code>null</code> if such object does not
* exist.
*/
***************
*** 169,173 ****
* In this case it means that object belons to same thread and method.
*
! *@returns sibling monitors object or <code>null</code> if such object does not
* exist.
*/
--- 169,173 ----
* In this case it means that object belons to same thread and method.
*
! *@return sibling monitors object or <code>null</code> if such object does not
* exist.
*/
***************
*** 190,193 ****
--- 190,196 ----
/*
* $Log$
+ * Revision 1.17 2002/09/09 16:28:54 vachis
+ * fixies in javadoc
+ *
* Revision 1.16 2002/09/08 19:01:02 vachis
* changes in toString()
Index: CPUThreadTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/CPUThreadTraceData.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** CPUThreadTraceData.java 8 Sep 2002 19:01:02 -0000 1.12
--- CPUThreadTraceData.java 9 Sep 2002 16:28:54 -0000 1.13
***************
*** 124,128 ****
* In this case it means that object belons to same thread and corresponding trace.
*
! *@returns sibling alloc object or <code>null</code> if such object does not
* exist.
*/
--- 124,128 ----
* In this case it means that object belons to same thread and corresponding trace.
*
! *@return sibling alloc object or <code>null</code> if such object does not
* exist.
*/
***************
*** 134,138 ****
* In this case it means that object belons to same thread and corresponding trace.
*
! *@returns sibling monitors object or <code>null</code> if such object does not
* exist.
*/
--- 134,138 ----
* In this case it means that object belons to same thread and corresponding trace.
*
! *@return sibling monitors object or <code>null</code> if such object does not
* exist.
*/
***************
*** 149,152 ****
--- 149,155 ----
/*
* $Log$
+ * Revision 1.13 2002/09/09 16:28:54 vachis
+ * fixies in javadoc
+ *
* Revision 1.12 2002/09/08 19:01:02 vachis
* changes in toString()
Index: CPUTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/CPUTraceData.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** CPUTraceData.java 8 Sep 2002 19:01:02 -0000 1.20
--- CPUTraceData.java 9 Sep 2002 16:28:54 -0000 1.21
***************
*** 176,180 ****
* In this case it means corresponding AllocTrace.
*
! *@returns sibling alloc object or <code>null</code> if such object does not
* exist.
*/
--- 176,180 ----
* In this case it means corresponding AllocTrace.
*
! *@return sibling alloc object or <code>null</code> if such object does not
* exist.
*/
***************
*** 194,198 ****
* In this case it means corresponding monitors trace.
*
! *@returns sibling monitors object or <code>null</code> if such object does not
* exist.
*/
--- 194,198 ----
* In this case it means corresponding monitors trace.
*
! *@return sibling monitors object or <code>null</code> if such object does not
* exist.
*/
***************
*** 224,227 ****
--- 224,230 ----
/*
* $Log$
+ * Revision 1.21 2002/09/09 16:28:54 vachis
+ * fixies in javadoc
+ *
* Revision 1.20 2002/09/08 19:01:02 vachis
* changes in toString()
Index: MonThreadMethodData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/MonThreadMethodData.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** MonThreadMethodData.java 8 Sep 2002 19:01:02 -0000 1.13
--- MonThreadMethodData.java 9 Sep 2002 16:28:54 -0000 1.14
***************
*** 160,164 ****
* In this case it means that object belons to same thread and method.
*
! *@returns sibling alloc object or <code>null</code> if such object does not
* exist.
*/
--- 160,164 ----
* In this case it means that object belons to same thread and method.
*
! *@return sibling alloc object or <code>null</code> if such object does not
* exist.
*/
***************
*** 170,174 ****
* In this case it means that object belons to same thread and method.
*
! *@returns sibling CPU object or <code>null</code> if such object does not
* exist.
*/
--- 170,174 ----
* In this case it means that object belons to same thread and method.
*
! *@return sibling CPU object or <code>null</code> if such object does not
* exist.
*/
***************
*** 191,194 ****
--- 191,197 ----
/*
* $Log$
+ * Revision 1.14 2002/09/09 16:28:54 vachis
+ * fixies in javadoc
+ *
* Revision 1.13 2002/09/08 19:01:02 vachis
* changes in toString()
Index: MonThreadTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/MonThreadTraceData.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** MonThreadTraceData.java 8 Sep 2002 19:01:02 -0000 1.10
--- MonThreadTraceData.java 9 Sep 2002 16:28:54 -0000 1.11
***************
*** 127,131 ****
* In this case it means that object belons to same thread and corresponding trace.
*
! *@returns sibling alloc object or <code>null</code> if such object does not
* exist.
*/
--- 127,131 ----
* In this case it means that object belons to same thread and corresponding trace.
*
! *@return sibling alloc object or <code>null</code> if such object does not
* exist.
*/
***************
*** 137,141 ****
* In this case it means that object belons to same thread and corresponding trace.
*
! *@returns sibling CPU object or <code>null</code> if such object does not
* exist.
*/
--- 137,141 ----
* In this case it means that object belons to same thread and corresponding trace.
*
! *@return sibling CPU object or <code>null</code> if such object does not
* exist.
*/
***************
*** 151,154 ****
--- 151,157 ----
/*
* $Log$
+ * Revision 1.11 2002/09/09 16:28:54 vachis
+ * fixies in javadoc
+ *
* Revision 1.10 2002/09/08 19:01:02 vachis
* changes in toString()
Index: MonTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/MonTraceData.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** MonTraceData.java 8 Sep 2002 19:01:02 -0000 1.18
--- MonTraceData.java 9 Sep 2002 16:28:54 -0000 1.19
***************
*** 173,177 ****
* In this case it means corresponding AllocTrace.
*
! *@returns sibling alloc object or <code>null</code> if such object does not
* exist.
*/
--- 173,177 ----
* In this case it means corresponding AllocTrace.
*
! *@return sibling alloc object or <code>null</code> if such object does not
* exist.
*/
***************
*** 191,195 ****
* In this case it means corresponding CPUTrace.
*
! *@returns sibling CPU object or <code>null</code> if such object does not
* exist.
*/
--- 191,195 ----
* In this case it means corresponding CPUTrace.
*
! *@return sibling CPU object or <code>null</code> if such object does not
* exist.
*/
***************
*** 222,225 ****
--- 222,228 ----
/*
* $Log$
+ * Revision 1.19 2002/09/09 16:28:54 vachis
+ * fixies in javadoc
+ *
* Revision 1.18 2002/09/08 19:01:02 vachis
* changes in toString()
Index: SnapshotImpl.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/SnapshotImpl.java,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -r1.35 -r1.36
*** SnapshotImpl.java 8 Sep 2002 14:38:27 -0000 1.35
--- SnapshotImpl.java 9 Sep 2002 16:28:54 -0000 1.36
***************
*** 187,191 ****
/**
! * Creates difference snapshot, same as {@link #diffenceTo }.
*
* @param conf determines the types of object that will be included in this snapshot
--- 187,191 ----
/**
! * Creates difference snapshot, same as {@link #differenceTo }.
*
* @param conf determines the types of object that will be included in this snapshot
***************
*** 324,328 ****
/** Returns unmodifiable list of objects with garbage collector information.
*
! *@return unmodifiable <code>List</code> of {@link GCSRef} objects.
*/
public List getGCRuns() {
--- 324,328 ----
/** Returns unmodifiable list of objects with garbage collector information.
*
! *@return unmodifiable <code>List</code> of {@link GCRunRef} objects.
*/
public List getGCRuns() {
***************
*** 1584,1587 ****
--- 1584,1589 ----
}
+ //FIXME:
+ //in diffSnapshot, AllocTypeMethods is more than AllocTypeTraces, is it correct?
//TODO:
***************
*** 1594,1597 ****
--- 1596,1602 ----
/*
* $Log$
+ * Revision 1.36 2002/09/09 16:28:54 vachis
+ * fixies in javadoc
+ *
* Revision 1.35 2002/09/08 14:38:27 vachis
* fixies
Index: ThreadData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/ThreadData.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -r1.25 -r1.26
*** ThreadData.java 6 Sep 2002 18:06:01 -0000 1.25
--- ThreadData.java 9 Sep 2002 16:28:54 -0000 1.26
***************
*** 355,359 ****
* Returns unmodifiable list of traces created in this thread. (allocation data)
*
! * @return unmodifiable list of {@link AllocThreadTracedRef} objects.
*/
public List getAllocThreadTraces() {
--- 355,359 ----
* Returns unmodifiable list of traces created in this thread. (allocation data)
*
! * @return unmodifiable list of {@link AllocThreadTraceRef} objects.
*/
public List getAllocThreadTraces() {
***************
*** 500,504 ****
* Returns unmodifiable list of traces created in this thread. (monitors data)
*
! * @return unmodifiable list of {@link MonThreadTRaceRef} objects.
*/
public List getMonThreadTraces() {
--- 500,504 ----
* Returns unmodifiable list of traces created in this thread. (monitors data)
*
! * @return unmodifiable list of {@link MonThreadTraceRef} objects.
*/
public List getMonThreadTraces() {
***************
*** 556,559 ****
--- 556,562 ----
/*
* $Log$
+ * Revision 1.26 2002/09/09 16:28:54 vachis
+ * fixies in javadoc
+ *
* Revision 1.25 2002/09/06 18:06:01 vachis
* added constructor
|
|
From: Pavel V. <va...@us...> - 2002-09-09 16:28:21
|
Update of /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/connect
In directory usw-pr-cvs1:/tmp/cvs-serv24314
Modified Files:
ConnectorManagerImpl.java
Log Message:
fixies in javadoc
Index: ConnectorManagerImpl.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/connect/ConnectorManagerImpl.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** ConnectorManagerImpl.java 21 Aug 2002 12:49:09 -0000 1.1
--- ConnectorManagerImpl.java 9 Sep 2002 16:28:17 -0000 1.2
***************
*** 36,40 ****
* Implementation of Connector Manager.
*
! * @see net.sourceforge.javaprofiler.jpi.ConnectorManager
* @author Jan Stola
*/
--- 36,40 ----
* Implementation of Connector Manager.
*
! * @see net.sourceforge.javaprofiler.jpi.connect.ConnectorManager
* @author Jan Stola
*/
***************
*** 84,93 ****
* initiated a connection. A target VM will remain in this list until it is
discarded
! * through {@link net.sourceforge.javaprofiler.jpi.VirtualMachine#dispose()}
or until
* it stops, whichever happens first.
*
! * @return a list of {@link net.sourceforge.javaprofiler.jpi.VirtualMachine}
objects,
--- 84,93 ----
* initiated a connection. A target VM will remain in this list until it is
discarded
! * through {@link net.sourceforge.javaprofiler.jpi.VirtualMachineRef#dispose()}
or until
* it stops, whichever happens first.
*
! * @return a list of {@link net.sourceforge.javaprofiler.jpi.VirtualMachineRef}
objects,
***************
*** 115,118 ****
--- 115,121 ----
/*
* $Log$
+ * Revision 1.2 2002/09/09 16:28:17 vachis
+ * fixies in javadoc
+ *
* Revision 1.1 2002/08/21 12:49:09 vachis
* VirtualMachineManager renamed to ConnectorManager
|
|
From: Pavel V. <va...@us...> - 2002-09-09 16:27:37
|
Update of /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi
In directory usw-pr-cvs1:/tmp/cvs-serv23885
Modified Files:
Bootstrap.java VirtualMachineRef.java
Log Message:
fixies in javadoc
Index: Bootstrap.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/Bootstrap.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** Bootstrap.java 26 Aug 2002 19:30:14 -0000 1.3
--- Bootstrap.java 9 Sep 2002 16:27:32 -0000 1.4
***************
*** 60,69 ****
} catch ( ClassNotFoundException e) {
throw new RuntimeException( "Error in finding class ConnectorManager: "
! + e.getMessage() );
} catch ( InstantiationException e ) {
throw new RuntimeException( "Error in intatitation ConnectorManager: "
! + e.getMessage() );
} catch ( IllegalAccessException e ) {
! throw new RuntimeException( "IllegalAccessException" + e.getMessage() );
}
return manager;
--- 60,69 ----
} catch ( ClassNotFoundException e) {
throw new RuntimeException( "Error in finding class ConnectorManager: "
! + e );
} catch ( InstantiationException e ) {
throw new RuntimeException( "Error in intatitation ConnectorManager: "
! + e );
} catch ( IllegalAccessException e ) {
! throw new RuntimeException( "IllegalAccessException" + e );
}
return manager;
***************
*** 73,76 ****
--- 73,79 ----
/*
* $Log$
+ * Revision 1.4 2002/09/09 16:27:32 vachis
+ * fixies in javadoc
+ *
* Revision 1.3 2002/08/26 19:30:14 vachis
* fix in loaded class name
Index: VirtualMachineRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/VirtualMachineRef.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** VirtualMachineRef.java 31 Jul 2002 21:34:53 -0000 1.7
--- VirtualMachineRef.java 9 Sep 2002 16:27:34 -0000 1.8
***************
*** 101,105 ****
* false (still running, normal operation)
*
! * @see shutdown(), exitVM()
*/
public boolean isShutdown();
--- 101,105 ----
* false (still running, normal operation)
*
! * @see #shutdown(), #exitVM()
*/
public boolean isShutdown();
***************
*** 116,120 ****
* use exitVM() method instead.
*
! * @see isShutdowned(), exitVM()
*/
public void shutdown();
--- 116,120 ----
* use exitVM() method instead.
*
! * @see #isShutdowned(), #exitVM()
*/
public void shutdown();
***************
*** 124,127 ****
--- 124,130 ----
/*
* $Log$
+ * Revision 1.8 2002/09/09 16:27:34 vachis
+ * fixies in javadoc
+ *
* Revision 1.7 2002/07/31 21:34:53 vachis
* method renamed to isShutdown()
|
|
From: Pavel V. <va...@us...> - 2002-09-09 16:26:29
|
Update of /cvsroot/javaprofiler/build
In directory usw-pr-cvs1:/tmp/cvs-serv23416
Modified Files:
build.xml
Log Message:
fix in clean_install
Index: build.xml
===================================================================
RCS file: /cvsroot/javaprofiler/build/build.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** build.xml 5 Sep 2002 13:53:29 -0000 1.2
--- build.xml 9 Sep 2002 16:26:25 -0000 1.3
***************
*** 5,10 ****
<property name="doxygen" location="/usr/bin/doxygen"/>
! <property name="NBDir" location="/usr/java/NetBeans3.3.2"/>
! <property name="NBUserDir" location="/home/pi/nbuser33"/>
<property name="jpidir" location="../jpi"/>
--- 5,11 ----
<property name="doxygen" location="/usr/bin/doxygen"/>
! <property name="NBDir" location="c:\prog_vachis\netbeans33"/>
! <property name="NBUserDir" location="c:\home\vachis\netbeans33"/>
!
<property name="jpidir" location="../jpi"/>
***************
*** 99,103 ****
<target name="clean_install" description="Delete installed files">
<ant dir="${patchesdir}" target="clean_install"/>
! <delete file="output/${ant.project.name}.jar"/>
</target>
--- 100,104 ----
<target name="clean_install" description="Delete installed files">
<ant dir="${patchesdir}" target="clean_install"/>
! <delete file="${NBUserDir}/modules/${ant.project.name}.jar"/>
</target>
|
Update of /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data
In directory usw-pr-cvs1:/tmp/cvs-serv3884
Modified Files:
AllocThreadMethodData.java AllocThreadTraceData.java
AllocTraceData.java AllocTypeMethodData.java
AllocTypeThreadData.java AllocTypeThreadMethodData.java
AllocTypeThreadTraceData.java AllocTypeTraceData.java
CPUThreadMethodData.java CPUThreadTraceData.java
CPUTraceData.java MonThreadMethodData.java
MonThreadTraceData.java MonTraceData.java
Log Message:
changes in toString()
Index: AllocThreadMethodData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocThreadMethodData.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** AllocThreadMethodData.java 6 Sep 2002 18:06:00 -0000 1.20
--- AllocThreadMethodData.java 8 Sep 2002 19:01:01 -0000 1.21
***************
*** 219,223 ****
public String toString() {
! return getThread() + "-" + getMethod();
}
--- 219,223 ----
public String toString() {
! return getThread() + " - " + getMethod();
}
***************
*** 232,235 ****
--- 232,238 ----
/*
* $Log$
+ * Revision 1.21 2002/09/08 19:01:01 vachis
+ * changes in toString()
+ *
* Revision 1.20 2002/09/06 18:06:00 vachis
* added constructor
Index: AllocThreadTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocThreadTraceData.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** AllocThreadTraceData.java 6 Sep 2002 18:06:00 -0000 1.20
--- AllocThreadTraceData.java 8 Sep 2002 19:01:01 -0000 1.21
***************
*** 190,194 ****
public String toString() {
! return getThread() + "-" + getAllocTrace();
}
--- 190,194 ----
public String toString() {
! return getThread() + " - " + getAllocTrace();
}
***************
*** 203,206 ****
--- 203,209 ----
/*
* $Log$
+ * Revision 1.21 2002/09/08 19:01:01 vachis
+ * changes in toString()
+ *
* Revision 1.20 2002/09/06 18:06:00 vachis
* added constructor
Index: AllocTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocTraceData.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -r1.25 -r1.26
*** AllocTraceData.java 6 Sep 2002 18:06:00 -0000 1.25
--- AllocTraceData.java 8 Sep 2002 19:01:02 -0000 1.26
***************
*** 251,255 ****
public String toString() {
! return "trace of " + getMethod();
}
--- 251,256 ----
public String toString() {
! //return "trace of " + getMethod();
! return getMethod().toString();
}
***************
*** 264,267 ****
--- 265,271 ----
/*
* $Log$
+ * Revision 1.26 2002/09/08 19:01:02 vachis
+ * changes in toString()
+ *
* Revision 1.25 2002/09/06 18:06:00 vachis
* added constructor
Index: AllocTypeMethodData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocTypeMethodData.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** AllocTypeMethodData.java 6 Sep 2002 18:06:00 -0000 1.10
--- AllocTypeMethodData.java 8 Sep 2002 19:01:02 -0000 1.11
***************
*** 203,207 ****
public String toString() {
! return getType() + "-" + getMethod();
}
--- 203,207 ----
public String toString() {
! return getType() + " - " + getMethod();
}
***************
*** 216,219 ****
--- 216,222 ----
/*
* $Log$
+ * Revision 1.11 2002/09/08 19:01:02 vachis
+ * changes in toString()
+ *
* Revision 1.10 2002/09/06 18:06:00 vachis
* added constructor
Index: AllocTypeThreadData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocTypeThreadData.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** AllocTypeThreadData.java 6 Sep 2002 18:06:00 -0000 1.5
--- AllocTypeThreadData.java 8 Sep 2002 19:01:02 -0000 1.6
***************
*** 196,200 ****
public String toString() {
! return getType() + "-" + getThread();
}
--- 196,200 ----
public String toString() {
! return getType() + " - " + getThread();
}
***************
*** 209,212 ****
--- 209,215 ----
/*
* $Log$
+ * Revision 1.6 2002/09/08 19:01:02 vachis
+ * changes in toString()
+ *
* Revision 1.5 2002/09/06 18:06:00 vachis
* added constructor
Index: AllocTypeThreadMethodData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocTypeThreadMethodData.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** AllocTypeThreadMethodData.java 6 Sep 2002 18:06:00 -0000 1.6
--- AllocTypeThreadMethodData.java 8 Sep 2002 19:01:02 -0000 1.7
***************
*** 207,211 ****
public String toString() {
! return getType() + "-" + getThread() + "-" + getMethod();
}
--- 207,211 ----
public String toString() {
! return getType() + " - " + getThread() + " - " + getMethod();
}
***************
*** 220,223 ****
--- 220,226 ----
/*
* $Log$
+ * Revision 1.7 2002/09/08 19:01:02 vachis
+ * changes in toString()
+ *
* Revision 1.6 2002/09/06 18:06:00 vachis
* added constructor
Index: AllocTypeThreadTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocTypeThreadTraceData.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** AllocTypeThreadTraceData.java 6 Sep 2002 18:06:00 -0000 1.4
--- AllocTypeThreadTraceData.java 8 Sep 2002 19:01:02 -0000 1.5
***************
*** 167,171 ****
public String toString() {
! return getType() + "-" + getThread() + "-" + getAllocTrace();
}
}
--- 167,171 ----
public String toString() {
! return getType() + " - " + getThread() + " - " + getAllocTrace();
}
}
***************
*** 173,176 ****
--- 173,179 ----
/*
* $Log$
+ * Revision 1.5 2002/09/08 19:01:02 vachis
+ * changes in toString()
+ *
* Revision 1.4 2002/09/06 18:06:00 vachis
* added constructor
Index: AllocTypeTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocTypeTraceData.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** AllocTypeTraceData.java 6 Sep 2002 18:06:00 -0000 1.10
--- AllocTypeTraceData.java 8 Sep 2002 19:01:02 -0000 1.11
***************
*** 170,174 ****
public String toString() {
! return getType() + "-" + getAllocTrace();
}
--- 170,174 ----
public String toString() {
! return getType() + " - " + getAllocTrace();
}
***************
*** 183,186 ****
--- 183,189 ----
/*
* $Log$
+ * Revision 1.11 2002/09/08 19:01:02 vachis
+ * changes in toString()
+ *
* Revision 1.10 2002/09/06 18:06:00 vachis
* added constructor
Index: CPUThreadMethodData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/CPUThreadMethodData.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** CPUThreadMethodData.java 6 Sep 2002 18:06:00 -0000 1.15
--- CPUThreadMethodData.java 8 Sep 2002 19:01:02 -0000 1.16
***************
*** 177,181 ****
public String toString() {
! return getThread() + "-" + getMethod();
}
--- 177,181 ----
public String toString() {
! return getThread() + " - " + getMethod();
}
***************
*** 190,193 ****
--- 190,196 ----
/*
* $Log$
+ * Revision 1.16 2002/09/08 19:01:02 vachis
+ * changes in toString()
+ *
* Revision 1.15 2002/09/06 18:06:00 vachis
* added constructor
Index: CPUThreadTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/CPUThreadTraceData.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** CPUThreadTraceData.java 6 Sep 2002 18:06:00 -0000 1.11
--- CPUThreadTraceData.java 8 Sep 2002 19:01:02 -0000 1.12
***************
*** 142,146 ****
public String toString() {
! return getThread() + "-" + getCPUTrace();
}
--- 142,146 ----
public String toString() {
! return getThread() + " - " + getCPUTrace();
}
***************
*** 149,152 ****
--- 149,155 ----
/*
* $Log$
+ * Revision 1.12 2002/09/08 19:01:02 vachis
+ * changes in toString()
+ *
* Revision 1.11 2002/09/06 18:06:00 vachis
* added constructor
Index: CPUTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/CPUTraceData.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -r1.19 -r1.20
*** CPUTraceData.java 6 Sep 2002 18:06:00 -0000 1.19
--- CPUTraceData.java 8 Sep 2002 19:01:02 -0000 1.20
***************
*** 210,214 ****
public String toString() {
! return "trace of " + getMethod();
}
--- 210,215 ----
public String toString() {
! //return "trace of " + getMethod();
! return getMethod().toString();
}
***************
*** 223,226 ****
--- 224,230 ----
/*
* $Log$
+ * Revision 1.20 2002/09/08 19:01:02 vachis
+ * changes in toString()
+ *
* Revision 1.19 2002/09/06 18:06:00 vachis
* added constructor
Index: MonThreadMethodData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/MonThreadMethodData.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** MonThreadMethodData.java 6 Sep 2002 18:06:00 -0000 1.12
--- MonThreadMethodData.java 8 Sep 2002 19:01:02 -0000 1.13
***************
*** 178,182 ****
public String toString() {
! return getThread() + "-" + getMethod();
}
--- 178,182 ----
public String toString() {
! return getThread() + " - " + getMethod();
}
***************
*** 191,194 ****
--- 191,197 ----
/*
* $Log$
+ * Revision 1.13 2002/09/08 19:01:02 vachis
+ * changes in toString()
+ *
* Revision 1.12 2002/09/06 18:06:00 vachis
* added constructor
Index: MonThreadTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/MonThreadTraceData.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** MonThreadTraceData.java 6 Sep 2002 18:06:00 -0000 1.9
--- MonThreadTraceData.java 8 Sep 2002 19:01:02 -0000 1.10
***************
*** 145,149 ****
public String toString() {
! return getThread() + "-" + getMonTrace();
}
}
--- 145,149 ----
public String toString() {
! return getThread() + " - " + getMonTrace();
}
}
***************
*** 151,154 ****
--- 151,157 ----
/*
* $Log$
+ * Revision 1.10 2002/09/08 19:01:02 vachis
+ * changes in toString()
+ *
* Revision 1.9 2002/09/06 18:06:00 vachis
* added constructor
Index: MonTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/MonTraceData.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** MonTraceData.java 6 Sep 2002 18:06:00 -0000 1.17
--- MonTraceData.java 8 Sep 2002 19:01:02 -0000 1.18
***************
*** 207,211 ****
public String toString() {
! return "trace of " + getMethod();
}
--- 207,212 ----
public String toString() {
! //return "trace of " + getMethod();
! return getMethod().toString();
}
***************
*** 221,224 ****
--- 222,228 ----
/*
* $Log$
+ * Revision 1.18 2002/09/08 19:01:02 vachis
+ * changes in toString()
+ *
* Revision 1.17 2002/09/06 18:06:00 vachis
* added constructor
|
|
From: Pavel V. <va...@us...> - 2002-09-08 14:38:32
|
Update of /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data
In directory usw-pr-cvs1:/tmp/cvs-serv8754
Modified Files:
SnapshotImpl.java
Log Message:
fixies
now it returns somothing useful
probably some errors yet
Index: SnapshotImpl.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/SnapshotImpl.java,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -r1.34 -r1.35
*** SnapshotImpl.java 7 Sep 2002 19:46:43 -0000 1.34
--- SnapshotImpl.java 8 Sep 2002 14:38:27 -0000 1.35
***************
*** 551,554 ****
--- 551,555 ----
long end = System.currentTimeMillis();
+ haveSnapshot = true;
//System.out.println( "\n\nTime: " + (end - start) );
}
***************
*** 1224,1231 ****
private void makeDiffSnapshot( Configuration conf, Snapshot a, Snapshot b )
{
- Map objMap = new HashMap(); //mapping objects from source (this) to
- // its copies in result
Object obj = null;
//problem with definition //FIXME
/* It's not clear what means difference on root objects, that
--- 1225,1232 ----
private void makeDiffSnapshot( Configuration conf, Snapshot a, Snapshot b )
{
Object obj = null;
+ if ( haveSnapshot )
+ throw new RuntimeException( "Can't create Snapshot, it already exists!");
//problem with definition //FIXME
/* It's not clear what means difference on root objects, that
***************
*** 1246,1250 ****
List[] result;
sourceLst1 = new ArrayList(1);
! sourceLst1.add(this);
sourceLst2 = new ArrayList(1);
sourceLst2.add(b);
--- 1247,1251 ----
List[] result;
sourceLst1 = new ArrayList(1);
! sourceLst1.add(a);
sourceLst2 = new ArrayList(1);
sourceLst2.add(b);
***************
*** 1255,1266 ****
//sideEffect creates appropriate MethodData instances
//this way was choosen because of effectvity
! result = AddDiffOfCildrenLists( sourceLst1, sourceLst2, "getMethods" );
if ( conf.withAllocTraces ) {
sourceLst1 = result[0];
sourceLst2 = result[1];
//sideEffect creates appropriate AllocTraceData instances
! result = AddDiffOfCildrenLists( sourceLst1, sourceLst2, "getTraces" );
}
}
}
--- 1256,1268 ----
//sideEffect creates appropriate MethodData instances
//this way was choosen because of effectvity
! result = AddDiffOfCildrenLists( sourceLst1, sourceLst2, "getAllocTypeMethods" );
if ( conf.withAllocTraces ) {
sourceLst1 = result[0];
sourceLst2 = result[1];
//sideEffect creates appropriate AllocTraceData instances
! result = AddDiffOfCildrenLists( sourceLst1, sourceLst2, "getAllocTypeTraces" );
}
}
+ haveSnapshot = true;
}
***************
*** 1334,1337 ****
--- 1336,1340 ----
{
boolean eqL = false;
+ boolean corespondingObjs = false;
AllocStat alloc1, alloc2;
***************
*** 1342,1358 ****
while( it1.hasNext() ) {
alloc1 = (AllocStat) it1.next();
! while ( it2.hasNext() ) {
! alloc2 = (AllocStat) it2.next();
!
eqL = false;
//test of equality
eqL = (alloc1.getLiveInstancesCount() == alloc2.getLiveInstancesCount());
! if ( eqL ) {
result[0].add( alloc1 );
result[1].add( alloc2 );
!
//creation
allocStatA = (AllocStatData) copyAndPutIn( alloc1 );
!
//difference
allocStatA.setAllocStat(
--- 1345,1364 ----
while( it1.hasNext() ) {
alloc1 = (AllocStat) it1.next();
! it2 = sourceLst2.listIterator();
! while ( it2.hasNext() ) {
! alloc2 = (AllocStat) it2.next();
!
! corespondingObjs = haveSameRoots( alloc1, alloc2 );
! if ( corespondingObjs ) {
eqL = false;
//test of equality
eqL = (alloc1.getLiveInstancesCount() == alloc2.getLiveInstancesCount());
! if ( !eqL ) {
result[0].add( alloc1 );
result[1].add( alloc2 );
!
//creation
allocStatA = (AllocStatData) copyAndPutIn( alloc1 );
!
//difference
allocStatA.setAllocStat(
***************
*** 1362,1367 ****
alloc1.getTotalInstancesSize() - alloc2.getTotalInstancesSize()
);
! }
}
}
}
--- 1368,1375 ----
alloc1.getTotalInstancesSize() - alloc2.getTotalInstancesSize()
);
! }
! break;
}
+ }
}
}
***************
*** 1386,1394 ****
ClassData class1 = (ClassData) type1.getComponentClass();
ClassData classA;
! if ( (obj = libIDs.get( class1.getID() )) == null ) {
! classA = (ClassData) copyAndPutIn( class1 );
}
else {
! classA = (ClassData) obj;
}
//------------creation
--- 1394,1407 ----
ClassData class1 = (ClassData) type1.getComponentClass();
ClassData classA;
! if ( class1 == null ) { //in cases like char[], ...
! classA = null;
}
else {
! if ( (obj = libIDs.get( class1.getID() )) == null ) {
! classA = (ClassData) copyAndPutIn( class1 );
! }
! else {
! classA = (ClassData) obj;
! }
}
//------------creation
***************
*** 1519,1522 ****
--- 1532,1584 ----
return result;
}
+
+ private boolean haveSameRoots( Object obj1, Object obj2 )
+ {
+ boolean sameType = true;
+ boolean sameLocation = true;
+ boolean sameThread = true;
+
+ if ( obj1.getClass() != obj2.getClass() ) {
+ return false;
+ }
+ if ( obj1 instanceof HasTypeRoot ) {
+ sameType = ((HasTypeRoot) obj1).getType().getName().equals(
+ ((HasTypeRoot) obj2).getType().getName()
+ );
+ }
+ if ( obj1 instanceof HasThreadRoot ) {
+ sameThread = ((HasThreadRoot) obj1).getThread().getName().equals(
+ ((HasThreadRoot) obj2).getThread().getName()
+ );
+ }
+ if ( obj1 instanceof HasLocationRoot ) {
+ LocationRef loc1 = ((HasLocationRoot) obj1).getLocation();
+ LocationRef loc2 = ((HasLocationRoot) obj2).getLocation();
+ sameLocation = loc1.getMethod().getName().equals(
+ loc2.getMethod().getName()
+ );
+ //HACK //FIXME
+ if ( loc1 instanceof TraceRef ) {
+ sameLocation = false;
+ FrameRef frm1, frm2;
+ List frames1 = ((TraceRef) loc1).getFrames();
+ List frames2 = ((TraceRef) loc2).getFrames();
+ if ( frames1.size() == frames2.size() ) {
+ for (int i = 0; i < frames1.size(); i++ ) {
+ frm1 = ((FrameRef) frames1.get(i));
+ frm2 = ((FrameRef) frames2.get(i));
+ sameLocation = (frm1.getLineNo() == frm2.getLineNo())
+ && (frm1.getMethod().getName().equals(
+ frm2.getMethod().getName()
+ )
+ );
+ if (!sameLocation)
+ break;
+ }
+ }
+ }
+ }
+ return sameType && sameLocation && sameThread;
+ }
}
***************
*** 1532,1535 ****
--- 1594,1603 ----
/*
* $Log$
+ * Revision 1.35 2002/09/08 14:38:27 vachis
+ * fixies
+ * now it returns somothing useful
+ *
+ * probably some errors yet
+ *
* Revision 1.34 2002/09/07 19:46:43 vachis
* implementation of difference snapshot
|
|
From: Pavel V. <va...@us...> - 2002-09-08 14:37:11
|
Update of /cvsroot/javaprofiler/test/snapshot
In directory usw-pr-cvs1:/tmp/cvs-serv8507
Modified Files:
TestDiffSnap.java
Log Message:
order in calling of diffSnapshot swaped
Index: TestDiffSnap.java
===================================================================
RCS file: /cvsroot/javaprofiler/test/snapshot/TestDiffSnap.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** TestDiffSnap.java 7 Sep 2002 20:00:18 -0000 1.2
--- TestDiffSnap.java 8 Sep 2002 14:37:07 -0000 1.3
***************
*** 112,116 ****
vm.shutdown();
vm.dispose();
! snapDiff = makeDiffSnapshot( snap1, snap2 );
}
catch( Exception e) {
--- 112,116 ----
vm.shutdown();
vm.dispose();
! snapDiff = makeDiffSnapshot( snap2, snap1 );
}
catch( Exception e) {
|
|
From: Pavel V. <va...@us...> - 2002-09-07 20:00:22
|
Update of /cvsroot/javaprofiler/test/snapshot
In directory usw-pr-cvs1:/tmp/cvs-serv7191
Modified Files:
TestDiffSnap.java
Log Message:
fixed errors in compilation
debugOutput added
Index: TestDiffSnap.java
===================================================================
RCS file: /cvsroot/javaprofiler/test/snapshot/TestDiffSnap.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** TestDiffSnap.java 7 Sep 2002 19:38:46 -0000 1.1
--- TestDiffSnap.java 7 Sep 2002 20:00:18 -0000 1.2
***************
*** 1,4 ****
- package snapshot;
-
//java -Xrun\Project\javaprof\library\src\profiler\profiler:commun_type=socket Notepad
--- 1,2 ----
***************
*** 43,46 ****
--- 41,45 ----
import net.sourceforge.javaprofiler.jpi.connect.*;
import net.sourceforge.javaprofiler.jpiimpl.connect.*;
+ import net.sourceforge.javaprofiler.jpiimpl.data.SnapshotImpl;
/** Creates snapshot using connectors.
***************
*** 88,91 ****
--- 87,93 ----
Snapshot result = snap1.differenceTo( snap2 );
System.out.println("OK");
+
+ DebugOutput dbgPrn = new DebugOutput();
+ dbgPrn.print( (SnapshotImpl) result );
return result;
}
|
|
From: Pavel V. <va...@us...> - 2002-09-07 19:46:48
|
Update of /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data
In directory usw-pr-cvs1:/tmp/cvs-serv3595
Modified Files:
SnapshotImpl.java
Log Message:
implementation of difference snapshot
supports only Alloc,
includes Methods, AllocTraces
not much tested
Index: SnapshotImpl.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/SnapshotImpl.java,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -r1.33 -r1.34
*** SnapshotImpl.java 2 Sep 2002 15:28:02 -0000 1.33
--- SnapshotImpl.java 7 Sep 2002 19:46:43 -0000 1.34
***************
*** 29,32 ****
--- 29,34 ----
import net.sourceforge.javaprofiler.jpiimpl.data.*;
+ import java.lang.reflect.*;
+
/**
***************
*** 185,196 ****
/**
! *Creates completely empty snapshot, only configuration is stored. You
! * can fill snapshot with whatever you want.
! * It's used by {@link #diffenceTo }
*
! *@param conf determines the types of object that will be included in this snapshot
*/
! private SnapshotImpl( Configuration conf ) {
! this.conf = conf;
}
//////////////////////////////////////////////////////////////////////////
--- 187,206 ----
/**
! * Creates difference snapshot, same as {@link #diffenceTo }.
*
! * @param conf determines the types of object that will be included in this snapshot
! * @param a first operand in substraction
! * @param b second operand in substraction
*/
! public SnapshotImpl( SnapshotImpl a, Snapshot b, Configuration conf ) {
! try {
! libIDs = new HashMap();
! this.conf = (Configuration) conf.clone();
! makeDiffSnapshot( conf, a, b );
! libIDs = null;
! }
! catch ( CloneNotSupportedException e ) {
! throw new RuntimeException( e.getMessage() );
! }
}
//////////////////////////////////////////////////////////////////////////
***************
*** 732,737 ****
*@see SnapshotImpl#extract()
*/
! private IDObjectData createAndPutIn( int whatType, IProf.sID sid,
! IDObjectData refObj, List postOpLst) {
switch ( whatType ) {
case IProf.CLASSES: {
--- 742,746 ----
*@see SnapshotImpl#extract()
*/
! private IDObjectData createAndPutIn(int whatType, IProf.sID sid, IDObjectData refObj, List postOpLst) {
switch ( whatType ) {
case IProf.CLASSES: {
***************
*** 1150,1154 ****
* Confiduration object also defines what infomation are significan for
* defenition of equality.
! *
*
* @param b secand operand in substraction
--- 1159,1163 ----
* Confiduration object also defines what infomation are significan for
* defenition of equality.
! * Now it supports only Alloc.
*
* @param b secand operand in substraction
***************
*** 1161,1168 ****
confA.withAlloc = true;
confA.withTypes = true;
confA.withArenas = false;
confA.withAllocThreads = false;
- confA.withAllocTraces = false;
confA.withCPU = false;
confA.withCPUThreads = false;
--- 1170,1177 ----
confA.withAlloc = true;
confA.withTypes = true;
+ confA.withAllocTraces = true;
confA.withArenas = false;
confA.withAllocThreads = false;
confA.withCPU = false;
confA.withCPUThreads = false;
***************
*** 1175,1179 ****
confA.withMonTraces = false;
! SnapshotImpl snap = new SnapshotImpl( confA );
Map objMap = new HashMap(); //mapping objects from source (this) to
// its copies in result
--- 1184,1227 ----
confA.withMonTraces = false;
! SnapshotImpl snap = new SnapshotImpl( this, b, confA );
! return snap;
! }
!
! /** Creates new snapshot that contains <code>this - B </code>
! * Difference means that result contains all objects that
! * are in <code>this</code> and are not in <code> B </code>.
! * Now it supports only Alloc.
! *
! * @param b secand operand in substraction
! */
! public Snapshot differenceTo(Snapshot b) {
! //TODO: all, now it contains only ALLOC_TYPES
! Configuration confA = new Configuration();
! confA.withAlloc = true;
! confA.withTypes = true;
! confA.withAllocTraces = true;
!
! confA.withArenas = false;
! confA.withAllocThreads = false;
! confA.withCPU = false;
! confA.withCPUThreads = false;
! confA.withCPUTraces = false;
! confA.withCallTree = false;
! confA.withFields = false;
! confA.withGC = false;
! confA.withMon = false;
! confA.withMonThreads = false;
! confA.withMonTraces = false;
!
! SnapshotImpl snap = new SnapshotImpl( this, b, confA );
! return snap;
! }
!
! /**Now it supports only Alloc.
! *
! *@see #differenceTo
! */
! private void makeDiffSnapshot( Configuration conf, Snapshot a, Snapshot b )
! {
Map objMap = new HashMap(); //mapping objects from source (this) to
// its copies in result
***************
*** 1193,1244 ****
boolean eqL;
//temporary solution //FIXME
! if ( confA.withAlloc ) {
! ListIterator it1, it2;
!
! TypeData type1;
! TypeRef type2;
! TypeData typeA;
! ClassData classA;
! ClassRef class1;
!
! it1 = this.types.listIterator();
! it2 = b.getTypes().listIterator();
! while( it1.hasNext() ) {
! type1 = (TypeData) it1.next();
while ( it2.hasNext() ) {
! type2 = (TypeRef) it2.next();
eqL = false;
//test of equality
! eqL = (type1.getLiveInstancesCount() == type2.getLiveInstancesCount());
! //creation
if ( eqL ) {
! class1 = type1.getComponentClass();
! obj = objMap.get( class1 );
! if ( obj == null ) {
! classA = new ClassData( (ClassData) class1 );
! objMap.put( class1, classA );
! snap.classes.add( classA );
! }
! else {
! classA = (ClassData) obj;
! }
! typeA = new TypeData( type1, classA, this );
! snap.types.add( typeA );
! }
}
}
!
! //reletad work TODO:
! //copy constructor to toher objects not only TypaData
! //copy stat method to CPU, MON id objects
!
}
- return snap;
}
}
//TODO:
/// write exception handling code properly
--- 1241,1526 ----
boolean eqL;
+ List sourceLst1, sourceLst2;
//temporary solution //FIXME
! if ( conf.withAlloc ) {
! List[] result;
! sourceLst1 = new ArrayList(1);
! sourceLst1.add(this);
! sourceLst2 = new ArrayList(1);
! sourceLst2.add(b);
! //sideEftect creates appropriate ClassData instasnces
! result = AddDiffOfCildrenLists( sourceLst1, sourceLst2, "getTypes" );
! sourceLst1 = result[0];
! sourceLst2 = result[1];
! //sideEffect creates appropriate MethodData instances
! //this way was choosen because of effectvity
! result = AddDiffOfCildrenLists( sourceLst1, sourceLst2, "getMethods" );
! if ( conf.withAllocTraces ) {
! sourceLst1 = result[0];
! sourceLst2 = result[1];
! //sideEffect creates appropriate AllocTraceData instances
! result = AddDiffOfCildrenLists( sourceLst1, sourceLst2, "getTraces" );
! }
! }
! }
!
! /** Takes one object from <code> sourceLst1 </code> and one from <code> sourceLst2 </code>.
! * Using java reflection and <code> getMethod </code> acquires lists of chidlren (<code> list1 </code>
! * and <code>list2 </code> and adds diffence of these lists.
! * Lists <code> sourceLst1 </code> and <code> sourceLst2 </code> MUST have same size.
! *
! *@see #AddDiffOfLists
! *@return result of <code> AddDiffOfLists </code>
! */
! private List[] AddDiffOfCildrenLists( List sourceLst1, List sourceLst2,
! String getChildrenMethod )
! {
! List[] result = new List[] { new ArrayList(), new ArrayList() };
! if ( sourceLst1.size() != sourceLst2.size() ) {
! throw new RuntimeException(" Source lits don't have same size: "
! + sourceLst1.size() + " " + sourceLst2.size() );
! }
! if ( sourceLst1.size() == 0 ) {
! return new List[] { Collections.EMPTY_LIST, Collections.EMPTY_LIST } ;
! }
!
! Class clazz = sourceLst1.get(0).getClass();
! Method callMethod;
! try {
! callMethod = clazz.getMethod( getChildrenMethod, null );
! } catch ( NoSuchMethodException e ) {
! throw new RuntimeException( "AddDiffOfCildrenLists - getMethod:" + e.toString()
! + " getChildrenMethod:" + getChildrenMethod + " Class:" + clazz.toString() );
! }
!
! ListIterator itS1, itS2;
! itS1 = sourceLst1.listIterator();
! itS2 = sourceLst2.listIterator();
! while ( itS1.hasNext() ) {
! Object S1 = itS1.next();
! Object S2 = itS2.next();
! List list1, list2;
! try {
! list1 = (List) callMethod.invoke( S1, null );
! list2 = (List) callMethod.invoke( S2, null );
! }
! catch ( IllegalAccessException e ) {
! throw new RuntimeException( "AddDiffOfCildrenLists - invoke:"
! + e.toString() + " getChildrenMethod:" + getChildrenMethod + " Class:" + clazz.toString() );
! }
! catch ( InvocationTargetException e ) {
! throw new RuntimeException( "AddDiffOfCildrenLists - invoke:"
! + e.toString() + " getChildrenMethod:" + getChildrenMethod + " Class:" + clazz.toString() );
! }
! //now I have lists to diff
! AddDiffOfLists( list1, list2, result );
! }
! return result;
! }
!
! /** Makes difference on Lists. If objects is in the first list and not in the second list
! * that copy of this object are added into <code> this </code>. Objects are treated as equal if
! * they have same <code> getLiveInstancesCount() </code>. Complexity: n*m;
! * Now it supports only Alloc.
! *
! * Appropriate not existing parent objects are created in <code> target </code>.
! * <code> result[0] </code> contains objects from <code> list1 </code>
! * <code> result[1] </code> contains objects from <code> list2 </code>
! * Equal objects that are included in <code> list1 </code> and in <code> list2 </code>
! * are added into the result.
! */
! private void AddDiffOfLists( List sourceLst1, List sourceLst2, List[] result )
! {
! boolean eqL = false;
!
! AllocStat alloc1, alloc2;
! AllocStatData allocStatA;
! ListIterator it1, it2;
! it1 = sourceLst1.listIterator();
! it2 = sourceLst2.listIterator();
! while( it1.hasNext() ) {
! alloc1 = (AllocStat) it1.next();
while ( it2.hasNext() ) {
! alloc2 = (AllocStat) it2.next();
!
eqL = false;
//test of equality
! eqL = (alloc1.getLiveInstancesCount() == alloc2.getLiveInstancesCount());
if ( eqL ) {
! result[0].add( alloc1 );
! result[1].add( alloc2 );
!
! //creation
! allocStatA = (AllocStatData) copyAndPutIn( alloc1 );
!
! //difference
! allocStatA.setAllocStat(
! alloc1.getLiveInstancesCount() - alloc2.getLiveInstancesCount(),
! alloc1.getTotalInstancesCount() - alloc2.getTotalInstancesCount(),
! alloc1.getLiveInstancesSize() - alloc2.getLiveInstancesSize(),
! alloc1.getTotalInstancesSize() - alloc2.getTotalInstancesSize()
! );
! }
}
+ }
+ }
+
+ /**
+ */
+ private Object copyAndPutIn( Object source )
+ {
+ Object obj;
+ //temporary //FIXME
+ if ( source instanceof ClassData ) {
+ ClassData class1 = (ClassData) source;
+ //------------creation
+ ClassData classA = new ClassData( class1 );
+ this.libIDs.put( class1.getID(), classA );
+ this.classes.add( classA );
+ return classA;
+ }
+
+ else if ( source instanceof TypeData ) {
+ TypeData type1 = (TypeData) source;
+ ClassData class1 = (ClassData) type1.getComponentClass();
+ ClassData classA;
+ if ( (obj = libIDs.get( class1.getID() )) == null ) {
+ classA = (ClassData) copyAndPutIn( class1 );
}
! else {
! classA = (ClassData) obj;
! }
! //------------creation
! TypeData typeA = new TypeData( type1, classA, this );
! //classA.addType( typeA );
! this.libIDs.put( type1.getID(), typeA );
! this.types.add( typeA );
! return typeA;
! }
!
! else if ( source instanceof MethodData ) {
! MethodData method1 = (MethodData) source;
! ClassData class1 = (ClassData) method1.getParentClass();
! ClassData classA;
! if ( (obj = libIDs.get( class1.getID() )) == null ) {
! classA = (ClassData) copyAndPutIn( class1 );
! }
! else {
! classA = (ClassData) obj;
! }
! //------------creation
! MethodData methodA = new MethodData( method1, classA, this );
! classA.addMethod( methodA );
! this.libIDs.put( method1.getID(), methodA );
! this.methods.add( methodA );
! return methodA;
! }
!
! else if ( source instanceof AllocTraceData ) {
! AllocTraceData allocTrace1 = (AllocTraceData) source;
! MethodData method1 = (MethodData) allocTrace1.getMethod();
! MethodData methodA;
! if ( (obj = libIDs.get( method1.getID() )) == null ) {
! methodA = (MethodData) copyAndPutIn( method1 );
! }
! else {
! methodA = (MethodData) obj;
! }
! //------------creation
! List framesA = copyFramesAndPutIn( allocTrace1.getFrames() );
! AllocTraceData allocTraceA = new AllocTraceData( allocTrace1, methodA, framesA );
! methodA.addAllocTrace( allocTraceA );
! this.libIDs.put( allocTrace1.getID(), allocTraceA );
! this.allocTraces.add( allocTraceA );
! return allocTraceA;
! }
!
! else if ( source instanceof AllocTypeMethodData ) {
! AllocTypeMethodData allocTypeMethod1 = (AllocTypeMethodData) source;
! MethodData method1 = (MethodData) allocTypeMethod1.getMethod();
! MethodData methodA;
! if ( (obj = libIDs.get( method1.getID() )) == null ) {
! methodA = (MethodData) copyAndPutIn( method1 );
! }
! else {
! methodA = (MethodData) obj;
! }
! TypeData type1 = (TypeData) allocTypeMethod1.getType();
! TypeData typeA;
! if ( (obj = libIDs.get( type1.getID() )) == null ) {
! typeA = (TypeData) copyAndPutIn( type1 );
! }
! else {
! typeA = (TypeData) obj;
! }
! //------------creation
! AllocTypeMethodData allocTypeMethodA =
! new AllocTypeMethodData( allocTypeMethod1, typeA, methodA );
! methodA.addType( allocTypeMethodA );
! typeA.addMethod( allocTypeMethodA );
! this.libIDs.put( allocTypeMethod1.getID(), allocTypeMethodA );
! return allocTypeMethodA;
! }
!
! else if ( source instanceof AllocTypeTraceData ) {
! AllocTypeTraceData allocTypeTrace1 = (AllocTypeTraceData) source;
! AllocTraceData allocTrace1 = (AllocTraceData) allocTypeTrace1.getAllocTrace();
! AllocTraceData allocTraceA;
! if ( (obj = libIDs.get( allocTrace1.getID() )) == null ) {
! allocTraceA = (AllocTraceData) copyAndPutIn( allocTrace1 );
! }
! else {
! allocTraceA = (AllocTraceData) obj;
! }
! AllocTypeMethodData allocTypeMethod1 =
! (AllocTypeMethodData) allocTypeTrace1.getAllocTypeMethod();
! AllocTypeMethodData allocTypeMethodA;
! if ( (obj = libIDs.get( allocTypeMethod1.getID() )) == null ) {
! allocTypeMethodA = (AllocTypeMethodData) copyAndPutIn( allocTypeMethod1 );
! }
! else {
! allocTypeMethodA = (AllocTypeMethodData) obj;
! }
! //------------creation
! AllocTypeTraceData allocTypeTraceA =
! new AllocTypeTraceData( allocTypeTrace1, allocTypeMethodA, allocTraceA );
! allocTraceA.addType( allocTypeTraceA );
! allocTypeMethodA.addTrace( allocTypeTraceA );
! this.libIDs.put( allocTypeTrace1.getID(), allocTypeTraceA );
! return allocTypeTraceA;
! }
! else {
! throw new RuntimeException("makeCopyAndPutIt: unknow type of object: "
! + source.getClass().toString() );
}
}
+ private List copyFramesAndPutIn( List frames ) {
+ List result = new ArrayList( frames.size() );
+
+ Object obj;
+ FrameData frame1, frameA, caller = null;
+ MethodData method1, methodA;
+ for( int i=0; i < frames.size(); i++ ) {
+ frame1 = (FrameData) frames.get(i);
+ method1 = (MethodData) frame1.getMethod();
+ if ( (obj = libIDs.get( method1.getID() )) == null ) {
+ methodA = (MethodData) copyAndPutIn( method1 );
+ }
+ else {
+ methodA = (MethodData) obj;
+ }
+ //------------creation
+ frameA = new FrameData( frame1, methodA, caller );
+ result.add( frameA );
+ caller = frameA;
+ }
+ return result;
+ }
+
}
+
//TODO:
/// write exception handling code properly
***************
*** 1250,1301 ****
/*
* $Log$
* Revision 1.33 2002/09/02 15:28:02 vachis
* difference of snapshot
* very poor ipmplementation
- *
- * Revision 1.32 2002/08/28 17:55:54 petrul
- * fixed children adding to parents' lists
- *
- * Revision 1.31 2002/08/23 18:09:58 petrul
- * reversed list of frames
- *
- * Revision 1.30 2002/08/09 00:34:26 vachis
- * fix (didn't compile)
- *
- * Revision 1.29 2002/08/08 23:28:37 vachis
- * fix CreateAndPutInt - GROUP_THREADS
- *
- * Revision 1.28 2002/07/24 22:29:22 vachis
- * implements new interfaces for getting roots and info
- *
- * Revision 1.27 2002/07/17 21:37:10 vachis
- * fixed exception handling
- *
- * Revision 1.26 2002/07/11 18:21:37 vachis
- * no message
- *
- * Revision 1.25 2002/07/04 18:00:31 stolis
- * Implements Snapshot instead of VirtualMachineImageRef.
- *
- * Revision 1.24 2002/06/11 07:08:40 vachis
- * GCData renamed
- *
- * Revision 1.23 2002/05/30 22:43:05 vachis
- * interface changed to jpi
- * children listeners added
- *
- * Revision 1.22 2002/05/14 21:33:46 vachis
- * lists of traces
- *
- * Revision 1.21 2002/05/07 21:11:38 vachis
- * fix creation of fields, frames
- * CallTree new api
- *
- * Revision 1.20 2002/05/06 17:32:13 vachis
- * new api implemention
- *
- * Revision 1.18 2002/03/13 21:08:34 vachis
- * Confuguration.withFields, Confuguration.isValid()
- * added
*
* Revision 1.1 2001/11/20 22:31:45 vachis
--- 1532,1545 ----
/*
* $Log$
+ * Revision 1.34 2002/09/07 19:46:43 vachis
+ * implementation of difference snapshot
+ * supports only Alloc,
+ * includes Methods, AllocTraces
+ *
+ * not much tested
+ *
* Revision 1.33 2002/09/02 15:28:02 vachis
* difference of snapshot
* very poor ipmplementation
*
* Revision 1.1 2001/11/20 22:31:45 vachis
|
|
From: Pavel V. <va...@us...> - 2002-09-07 19:45:39
|
Update of /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data
In directory usw-pr-cvs1:/tmp/cvs-serv3394
Modified Files:
AllocStatData.java AllocStatIDObjectData.java
AllStatIDObjectData.java CPUStatData.java
CPUStatIDObjectData.java MonStatData.java
MonStatIDObjectData.java
Log Message:
set...Stat methods
Index: AllocStatData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocStatData.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** AllocStatData.java 2 Sep 2002 15:25:46 -0000 1.6
--- AllocStatData.java 7 Sep 2002 19:45:35 -0000 1.7
***************
*** 74,111 ****
/**
! * Fills statistics on instances.
*
! * @param stat Object with statistics on instances.
*/
public void setStat(IProf.sAllocStatData stat);
/**
! * Fills statistics on instances.
*
! * @param stat Object with statistics on instances.
*/
public void setStat( AllocStatData stat);
}
/*
* $Log$
* Revision 1.6 2002/09/02 15:25:46 vachis
* copy contrcutors for difference of snapshot
*
- * Revision 1.5 2002/05/30 22:38:17 vachis
- * changed interface to jpi
- * children listerners added
- *
- * Revision 1.4 2002/05/06 17:32:14 vachis
- * new api implemention
- *
- * Revision 1.3 2001/09/29 21:01:33 stolis
- * Plural added in licenses.
- *
- * Revision 1.2 2001/07/18 22:20:39 stolis
- * Mirrors for CPU profiling added;
- * references to obejct IDs removed;
- * Lists changed to Maps.
*
* Revision 1.1.1.1 2001/07/11 22:28:10 stolis
--- 74,109 ----
/**
! * Fills statistics.
*
! * @param stat Object with statistics.
*/
public void setStat(IProf.sAllocStatData stat);
/**
! * Fills statistics.
*
! * @param stat Object with statistics.
*/
public void setStat( AllocStatData stat);
+ /**
+ * Fills Alloc statistics.
+ */
+ public void setAllocStat( long liveInstancesCount,
+ long totalInstancesCount,
+ long liveInstancesSize,
+ long totalInstancesSize
+ );
+
}
/*
* $Log$
+ * Revision 1.7 2002/09/07 19:45:35 vachis
+ * set...Stat methods
+ *
* Revision 1.6 2002/09/02 15:25:46 vachis
* copy contrcutors for difference of snapshot
*
*
* Revision 1.1.1.1 2001/07/11 22:28:10 stolis
Index: AllocStatIDObjectData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocStatIDObjectData.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** AllocStatIDObjectData.java 2 Sep 2002 15:25:47 -0000 1.7
--- AllocStatIDObjectData.java 7 Sep 2002 19:45:35 -0000 1.8
***************
*** 48,75 ****
/**
! * Fills statistics on instances.
*
! * @param stat Object with statistics on instances.
*/
public void setStat(IProf.sAllocStatData stat) {
! numLiveInstances=stat.allocNumInstancesLive;
! numTotalInstances=stat.allocNumInstancesTotal;
! sizeLiveInstances=stat.allocSizeInstancesLive;
! sizeTotalInstances=stat.allocSizeInstancesTotal;
}
/**
! * Fills statistics on instances.
*
! * @param stat Object with statistics on instances.
*/
public void setStat( AllocStatData stat) {
! numLiveInstances = stat.getLiveInstancesCount();
! numTotalInstances = stat.getTotalInstancesCount();
! sizeLiveInstances = stat.getLiveInstancesSize();
! sizeTotalInstances = stat.getTotalInstancesSize();
}
! /**
* Returns number of live instances.
*
--- 48,90 ----
/**
! * Fills statistics.
*
! * @param stat Object with statistics.
*/
public void setStat(IProf.sAllocStatData stat) {
! this.numLiveInstances=stat.allocNumInstancesLive;
! this.numTotalInstances=stat.allocNumInstancesTotal;
! this.sizeLiveInstances=stat.allocSizeInstancesLive;
! this.sizeTotalInstances=stat.allocSizeInstancesTotal;
}
/**
! * Fills statistics.
*
! * @param stat Object with statistics.
*/
public void setStat( AllocStatData stat) {
! this.numLiveInstances = stat.getLiveInstancesCount();
! this.numTotalInstances = stat.getTotalInstancesCount();
! this.sizeLiveInstances = stat.getLiveInstancesSize();
! this.sizeTotalInstances = stat.getTotalInstancesSize();
}
! /**
! * Fills statistics.
! */
! public void setAllocStat( long liveInstancesCount,
! long totalInstancesCount,
! long liveInstancesSize,
! long totalInstancesSize
! )
! {
! this.numLiveInstances = liveInstancesCount;
! this.numTotalInstances = totalInstancesCount;
! this.sizeLiveInstances = liveInstancesSize;
! this.sizeTotalInstances = totalInstancesSize;
! }
!
! /**
* Returns number of live instances.
*
***************
*** 150,176 ****
/*
* $Log$
* Revision 1.7 2002/09/02 15:25:47 vachis
* copy contrcutors for difference of snapshot
*
- * Revision 1.6 2002/05/30 22:38:17 vachis
- * changed interface to jpi
- * children listerners added
- *
- * Revision 1.5 2002/05/06 17:32:14 vachis
- * new api implemention
- *
- * 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
- *
- * Revision 1.2 2001/09/29 21:01:33 stolis
- * Plural added in licenses.
- *
- * Revision 1.1 2001/07/18 22:20:39 stolis
- * Mirrors for CPU profiling added;
- * references to obejct IDs removed;
- * Lists changed to Maps.
*
* Revision 1.1.1.1 2001/07/11 22:28:10 stolis
--- 165,174 ----
/*
* $Log$
+ * Revision 1.8 2002/09/07 19:45:35 vachis
+ * set...Stat methods
+ *
* Revision 1.7 2002/09/02 15:25:47 vachis
* copy contrcutors for difference of snapshot
*
*
* Revision 1.1.1.1 2001/07/11 22:28:10 stolis
Index: AllStatIDObjectData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllStatIDObjectData.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** AllStatIDObjectData.java 2 Sep 2002 15:25:47 -0000 1.3
--- AllStatIDObjectData.java 7 Sep 2002 19:45:35 -0000 1.4
***************
*** 304,306 ****
--- 304,340 ----
monHits=stat.getMonHitsCount();
}
+
+ /**
+ * Fills statistics.
+ */
+ public void setAllocStat( long liveInstancesCount,
+ long totalInstancesCount,
+ long liveInstancesSize,
+ long totalInstancesSize
+ )
+ {
+ this.numLiveInstances = liveInstancesCount;
+ this.numTotalInstances = totalInstancesCount;
+ this.sizeLiveInstances = liveInstancesSize;
+ this.sizeTotalInstances = totalInstancesSize;
+ }
+
+ /** Fills statistics.
+ *
+ * @param stat Object with statistics.
+ */
+ public void setCPUStat( long cpuPureTime, long cpuHitsCount ) {
+ this.cpuPureTime = cpuPureTime;
+ this.cpuHits = cpuHitsCount;
+ }
+
+ /** Fills statistics.
+ *
+ * @param stat Object with statistics.
+ */
+ public void setMonStat( long monPureTime, long monHitsCount ) {
+ this.monPureTime= monPureTime;
+ this.monHits= monHitsCount;
+ }
+
}
Index: CPUStatData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/CPUStatData.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** CPUStatData.java 2 Sep 2002 15:25:47 -0000 1.5
--- CPUStatData.java 7 Sep 2002 19:45:35 -0000 1.6
***************
*** 55,59 ****
* Fills statistics on instances.
*
! * @param stat Object with statistics on instances.
*/
void setStat(IProf.sCpuStatData stat);
--- 55,59 ----
* Fills statistics on instances.
*
! * @param stat Object with statistics.
*/
void setStat(IProf.sCpuStatData stat);
***************
*** 61,82 ****
/** Fills statistics on instances.
*
! * @param stat Object with statistics on instances.
*/
public void setStat( CPUStatData stat);
}
/*
* $Log$
* Revision 1.5 2002/09/02 15:25:47 vachis
* copy contrcutors for difference of snapshot
- *
- * Revision 1.4 2002/05/06 17:32:13 vachis
- * new api implemention
- *
- * Revision 1.3 2001/11/20 22:23:37 vachis
- * Contructors from IProf.sID and monitors statistic info
- *
- * Revision 1.2 2001/09/29 21:01:33 stolis
- * Plural added in licenses.
*
* Revision 1.1 2001/07/18 22:20:39 stolis
--- 61,82 ----
/** Fills statistics on instances.
*
! * @param stat Object with statistics.
*/
public void setStat( CPUStatData stat);
+
+ /** Fills statistics.
+ *
+ * @param stat Object with statistics.
+ */
+ public void setCPUStat( long cpuPureTime, long cpuHitsCount );
}
/*
* $Log$
+ * Revision 1.6 2002/09/07 19:45:35 vachis
+ * set...Stat methods
+ *
* Revision 1.5 2002/09/02 15:25:47 vachis
* copy contrcutors for difference of snapshot
*
* Revision 1.1 2001/07/18 22:20:39 stolis
Index: CPUStatIDObjectData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/CPUStatIDObjectData.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** CPUStatIDObjectData.java 2 Sep 2002 15:25:47 -0000 1.7
--- CPUStatIDObjectData.java 7 Sep 2002 19:45:35 -0000 1.8
***************
*** 74,93 ****
}
! /** Fills statistics on instances.
*
! * @param stat Object with statistics on instances.
*/
public void setStat(IProf.sCpuStatData stat) {
! pureTime=stat.pureTime;
! hits=stat.hits;
}
! /** Fills statistics on instances.
*
! * @param stat Object with statistics on instances.
*/
public void setStat( CPUStatData stat) {
! pureTime=stat.getCPUPureTime();
! hits=stat.getCPUHitsCount();
}
--- 74,102 ----
}
! /** Fills statistics.
*
! * @param stat Object with statistics.
*/
public void setStat(IProf.sCpuStatData stat) {
! this.pureTime=stat.pureTime;
! this.hits=stat.hits;
}
! /** Fills statistics.
*
! * @param stat Object with statistics.
*/
public void setStat( CPUStatData stat) {
! this.pureTime=stat.getCPUPureTime();
! this.hits=stat.getCPUHitsCount();
! }
!
! /** Fills statistics.
! *
! * @param stat Object with statistics.
! */
! public void setCPUStat( long cpuPureTime, long cpuHitsCount ) {
! this.pureTime = cpuPureTime;
! this.hits = cpuHitsCount;
}
***************
*** 111,114 ****
--- 120,126 ----
/*
* $Log$
+ * Revision 1.8 2002/09/07 19:45:35 vachis
+ * set...Stat methods
+ *
* Revision 1.7 2002/09/02 15:25:47 vachis
* copy contrcutors for difference of snapshot
***************
*** 117,132 ****
* changed interface to jpi
* children listerners added
- *
- * Revision 1.5 2002/05/06 17:32:13 vachis
- * new api implemention
- *
- * 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
- *
- * Revision 1.2 2001/09/29 21:01:33 stolis
- * Plural added in licenses.
*
* Revision 1.1 2001/07/18 22:20:39 stolis
--- 129,132 ----
Index: MonStatData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/MonStatData.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** MonStatData.java 2 Sep 2002 15:25:47 -0000 1.3
--- MonStatData.java 7 Sep 2002 19:45:35 -0000 1.4
***************
*** 65,68 ****
--- 65,74 ----
*/
public void setStat( MonStatData stat);
+
+ /** Fills statistics.
+ *
+ * @param stat Object with statistics.
+ */
+ public void setMonStat( long monPureTime, long monHitsCount );
}
***************
*** 71,79 ****
/*
* $Log$
* Revision 1.3 2002/09/02 15:25:47 vachis
* copy contrcutors for difference of snapshot
- *
- * Revision 1.2 2002/05/06 17:32:13 vachis
- * new api implemention
*
* Revision 1.1 2001/11/20 22:28:50 vachis
--- 77,85 ----
/*
* $Log$
+ * Revision 1.4 2002/09/07 19:45:35 vachis
+ * set...Stat methods
+ *
* Revision 1.3 2002/09/02 15:25:47 vachis
* copy contrcutors for difference of snapshot
*
* Revision 1.1 2001/11/20 22:28:50 vachis
Index: MonStatIDObjectData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/MonStatIDObjectData.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** MonStatIDObjectData.java 2 Sep 2002 15:25:47 -0000 1.5
--- MonStatIDObjectData.java 7 Sep 2002 19:45:35 -0000 1.6
***************
*** 70,91 ****
}
! /** Fills statistics on instances.
*
! * @param stat Object with statistics on instances.
*/
public void setStat(IProf.sMonStatData stat) {
! pureTime=stat.time;
! hits=stat.hits;
}
! /** Fills statistics on instances.
*
! * @param stat Object with statistics on instances.
*/
public void setStat( MonStatData stat) {
! pureTime=stat.getMonPureTime();
! hits=stat.getMonHitsCount();
}
/**
--- 70,101 ----
}
! /** Fills statistics.
*
! * @param stat Object with statistics.
*/
public void setStat(IProf.sMonStatData stat) {
! this.pureTime=stat.time;
! this.hits=stat.hits;
}
! /** Fills statistics.
*
! * @param stat Object with statistics.
*/
public void setStat( MonStatData stat) {
! this.pureTime=stat.getMonPureTime();
! this.hits=stat.getMonHitsCount();
}
+ /** Fills statistics.
+ *
+ * @param stat Object with statistics.
+ */
+ public void setMonStat( long monPureTime, long monHitsCount ) {
+ this.pureTime= monPureTime;
+ this.hits= monHitsCount;
+ }
+
+
/**
***************
*** 108,123 ****
/*
* $Log$
* Revision 1.5 2002/09/02 15:25:47 vachis
* copy contrcutors for difference of snapshot
- *
- * Revision 1.4 2002/05/30 22:38:17 vachis
- * changed interface to jpi
- * children listerners added
- *
- * Revision 1.3 2002/05/06 17:32:13 vachis
- * new api implemention
- *
- * 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
--- 118,126 ----
/*
* $Log$
+ * Revision 1.6 2002/09/07 19:45:35 vachis
+ * set...Stat methods
+ *
* Revision 1.5 2002/09/02 15:25:47 vachis
* copy contrcutors for difference of snapshot
*
* Revision 1.1 2001/11/20 22:28:50 vachis
|
|
From: Pavel V. <va...@us...> - 2002-09-07 19:42:58
|
Update of /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi
In directory usw-pr-cvs1:/tmp/cvs-serv2668
Modified Files:
Snapshot.java
Log Message:
add diferenceTo method with no explicit configuration
Index: Snapshot.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/Snapshot.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** Snapshot.java 2 Sep 2002 15:28:53 -0000 1.3
--- Snapshot.java 7 Sep 2002 19:42:55 -0000 1.4
***************
*** 108,115 ****
--- 108,127 ----
public Snapshot differenceTo(Snapshot B, Snapshot.Configuration conf);
+ /**
+ * Creates new snapshot that contains <code>this - B </code>
+ * Difference means that result contains all objects that
+ * are in <code>this</code> and are not in <code> B </code>.
+ *
+ *@param B secand operand in substraction
+ */
+ public Snapshot differenceTo(Snapshot B);
+
}
/*
* $Log$
+ * Revision 1.4 2002/09/07 19:42:55 vachis
+ * add diferenceTo method with no explicit configuration
+ *
* Revision 1.3 2002/09/02 15:28:53 vachis
* difference of snapshot
|
|
From: Pavel V. <va...@us...> - 2002-09-07 19:40:31
|
Update of /cvsroot/javaprofiler/test/module
In directory usw-pr-cvs1:/tmp/cvs-serv2146
Modified Files:
TestAllocHistView.java
Log Message:
problems in compilation fixed
Index: TestAllocHistView.java
===================================================================
RCS file: /cvsroot/javaprofiler/test/module/TestAllocHistView.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** TestAllocHistView.java 19 Aug 2002 09:09:43 -0000 1.10
--- TestAllocHistView.java 7 Sep 2002 19:40:28 -0000 1.11
***************
*** 149,153 ****
private VirtualMachineRef connect( boolean useShmem ) throws ConnectingException {
//try {
! Bootstrap.virtualMachineManager().defaultConnector();
if ( !useShmem ) {
--- 149,153 ----
private VirtualMachineRef connect( boolean useShmem ) throws ConnectingException {
//try {
! Bootstrap.connectorManager().defaultConnector();
if ( !useShmem ) {
***************
*** 193,196 ****
--- 193,199 ----
/*
* $Log$
+ * Revision 1.11 2002/09/07 19:40:28 vachis
+ * problems in compilation fixed
+ *
* Revision 1.10 2002/08/19 09:09:43 vachis
* added loggin of changes
|