Update of /cvsroot/javaprofiler/library/src/main
In directory usw-pr-cvs1:/tmp/cvs-serv21227/src/main
Modified Files:
main.cpp
Log Message:
serious bug fixes - monitors, deactivating...
interface version checking added
new test program for testing of memory profiling added
Index: main.cpp
===================================================================
RCS file: /cvsroot/javaprofiler/library/src/main/main.cpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -r1.25 -r1.26
*** main.cpp 21 Nov 2001 22:31:43 -0000 1.25
--- main.cpp 15 Apr 2002 21:04:18 -0000 1.26
***************
*** 50,54 ****
** JNI_ERR (an error occurred)
**
! ** @see JavaVM Profiler Interface (JVMPI) specification, profNotifyEvent()
**
** @author Marek Przeczek */
--- 50,54 ----
** JNI_ERR (an error occurred)
**
! ** @see JavaVM Profiler Interface (JVMPI) specification
**
** @author Marek Przeczek */
***************
*** 59,66 ****
if( jvm->GetEnv( (void**)&jvmpi_interface, JVMPI_VERSION_1) < 0) return JNI_ERR;
- jvmpi_interface->NotifyEvent = Prof::notifyEvent;
Prof::create( options, jvmpi_interface);
-
- jvmpi_interface->EnableEvent( JVMPI_EVENT_JVM_INIT_DONE, NULL);
return JNI_OK;
--- 59,63 ----
|