Update of /cvsroot/javaprofiler/library/src/mon
In directory usw-pr-cvs1:/tmp/cvs-serv21227/src/mon
Modified Files:
monThreadMethod.cpp monThreadTrace.cpp monTrace.cpp
Log Message:
serious bug fixes - monitors, deactivating...
interface version checking added
new test program for testing of memory profiling added
Index: monThreadMethod.cpp
===================================================================
RCS file: /cvsroot/javaprofiler/library/src/mon/monThreadMethod.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** monThreadMethod.cpp 8 Apr 2002 23:30:01 -0000 1.5
--- monThreadMethod.cpp 15 Apr 2002 21:04:18 -0000 1.6
***************
*** 61,70 ****
void MonThreadMethod::deactivate() {
! Prof::prof().activeMonThreadMethods.removeNoRehash(this);
MonThreadTrace* tt = threadTraces.first();
! while (tt) {
tt->deactivate();
! tt = threadTraces.next(tt);
}
}
--- 61,71 ----
void MonThreadMethod::deactivate() {
! Prof::prof().activeMonThreadMethods.removeNoRehash( this);
MonThreadTrace* tt = threadTraces.first();
! while( tt) {
!
tt->deactivate();
! tt = threadTraces.next( tt);
}
}
Index: monThreadTrace.cpp
===================================================================
RCS file: /cvsroot/javaprofiler/library/src/mon/monThreadTrace.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** monThreadTrace.cpp 21 Nov 2001 22:31:44 -0000 1.4
--- monThreadTrace.cpp 15 Apr 2002 21:04:18 -0000 1.5
***************
*** 52,56 ****
void MonThreadTrace::deactivate() {
! Prof::prof().activeMonThreadTraces.removeNoRehash(this);
}
--- 52,56 ----
void MonThreadTrace::deactivate() {
! Prof::prof().activeMonThreadTraces.removeNoRehash( this);
}
Index: monTrace.cpp
===================================================================
RCS file: /cvsroot/javaprofiler/library/src/mon/monTrace.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** monTrace.cpp 8 Apr 2002 23:30:01 -0000 1.5
--- monTrace.cpp 15 Apr 2002 21:04:18 -0000 1.6
***************
*** 60,64 ****
void MonTrace::deactivate() {
! Prof::prof().activeMonTraces.removeNoRehash(this);
}
--- 60,71 ----
void MonTrace::deactivate() {
! Prof::prof().activeMonTraces.removeNoRehash( this);
!
! MonThreadTrace* tt = threadTraces.first();
! while( tt) {
!
! tt->deactivate();
! tt = threadTraces.next( tt);
! }
}
|