Update of /cvsroot/javaprofiler/library/src/prof
In directory usw-pr-cvs1:/tmp/cvs-serv24296/src/prof
Modified Files:
prof.h
Log Message:
changes in interface
enableGC(), disableGC(), runGC() added
Index: prof.h
===================================================================
RCS file: /cvsroot/javaprofiler/library/src/prof/prof.h,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -r1.37 -r1.38
*** prof.h 2001/11/21 22:31:44 1.37
--- prof.h 2001/11/28 00:02:41 1.38
***************
*** 919,922 ****
--- 919,946 ----
}
+ /** Enable Java garbage collector. This method enables Java garbage
+ ** collector of profiled JVM. Enabling and disabling of GC can
+ ** be nested !
+ **
+ ** @see disableGC(), runGC() */
+
+ virtual void enableGC();
+
+ /** Disable Java garbage collector. This method disables Java garbage
+ ** collector of profiled JVM. Enabling and disabling of GC can be
+ ** nested ! Methods like suspendVM() or runGC() can not be called when
+ ** GC is disabled !
+ **
+ ** @see enableGC(), runGC() */
+
+ virtual void disableGC();
+
+ /** Run Java garbage collector explicitly. This method runs Java garbage
+ ** collector inside profiled JVM. It can only be called when GC is enabled.
+ **
+ ** @see enableGC(), disableGC() */
+
+ virtual void runGC();
+
private:
|