blob: 5e2d498c4d032828c59202e967e90f8d19afb58a [file] [log] [blame]
/**
* @author Valentin Al. Sitnick, Petr Ivanov
*
*/
#include "utils.h"
#include "events.h"
/* *********************************************************************** */
#if 1
void SingleStep
(jvmtiEnv*, JNIEnv*, jthread, jmethodID, jlocation)
{ return; }
void Breakpoint
(jvmtiEnv*, JNIEnv*, jthread, jmethodID, jlocation)
{ return; }
void FieldAccess
(jvmtiEnv*, JNIEnv*, jthread, jmethodID, jlocation, jclass, jobject, jfieldID)
{ return; }
void FieldModification
(jvmtiEnv*, JNIEnv*, jthread, jmethodID, jlocation, jclass, jobject, jfieldID, char, jvalue)
{ return; }
void FramePop
(jvmtiEnv*, JNIEnv*, jthread, jmethodID, jboolean)
{ return; }
void MethodEntry
(jvmtiEnv*, JNIEnv*, jthread, jmethodID)
{ return; }
void MethodExit
(jvmtiEnv*, JNIEnv*, jthread, jmethodID, jboolean, jvalue)
{ return; }
void NativeMethodBind
(jvmtiEnv*, JNIEnv*, jthread, jmethodID, void*, void**)
{ return; }
void Exception
(jvmtiEnv*, JNIEnv*, jthread, jmethodID, jlocation, jobject, jmethodID, jlocation)
{ return; }
void ExceptionCatch
(jvmtiEnv*, JNIEnv*, jthread, jmethodID, jlocation, jobject)
{ return; }
/*
void ThreadStart
(jvmtiEnv*, JNIEnv*, jthread)
{ return; }
*/
void ThreadEnd
(jvmtiEnv*, JNIEnv*, jthread)
{ return; }
void ClassLoad
(jvmtiEnv*, JNIEnv*, jthread, jclass)
{ return; }
void ClassPrepare
(jvmtiEnv*, JNIEnv*, jthread, jclass)
{ return; }
void ClassFileLoadHook
(jvmtiEnv*, JNIEnv*, jclass, jobject, const char*, jobject, jint,
const unsigned char*, jint*, unsigned char**)
{ return; }
void VMStart
(jvmtiEnv*, JNIEnv*)
{ return; }
void VMInit
(jvmtiEnv*, JNIEnv*, jthread)
{ return; }
void VMDeath
(jvmtiEnv*, JNIEnv*)
{ return; }
void CompiledMethodLoad
(jvmtiEnv*, jmethodID, jint, const void*, jint,
const jvmtiAddrLocationMap*, const void*)
{ return; }
void CompiledMethodUnload
(jvmtiEnv *, jmethodID, const void*)
{ return; }
void DynamicCodeGenerated
(jvmtiEnv*, const char*, const void*, jint)
{ return; }
void DataDumpRequest
(jvmtiEnv*)
{ return; }
void MonitorContendedEnter
(jvmtiEnv*, JNIEnv*, jthread, jobject)
{ return; }
void MonitorContendedEntered
(jvmtiEnv*, JNIEnv*, jthread, jobject)
{ return; }
void MonitorWait
(jvmtiEnv*, JNIEnv*, jthread, jobject, jlong)
{ return; }
void MonitorWaited
(jvmtiEnv*, JNIEnv*, jthread, jobject, jboolean)
{ return; }
void VMObjectAlloc
(jvmtiEnv*, JNIEnv*, jthread, jobject, jclass, jlong)
{ return; }
void ObjectFree
(jvmtiEnv*, jlong)
{ return; }
void GarbageCollectionStart
(jvmtiEnv*)
{ return; }
void GarbageCollectionFinish
(jvmtiEnv*)
{ return; }
#endif
/* *********************************************************************** */
Callbacks::Callbacks()
{
cbSingleStep = NULL;
cbBreakpoint = NULL;
cbFieldAccess = NULL;
cbFieldModification = NULL;
cbFramePop = NULL;
cbMethodEntry = NULL;
cbMethodExit = NULL;
cbNativeMethodBind = NULL;
cbException = NULL;
cbExceptionCatch = NULL;
cbThreadStart = NULL;
cbThreadEnd = NULL;
cbClassLoad = NULL;
cbClassPrepare = NULL;
cbClassFileLoadHook = NULL;
cbVMStart = NULL;
cbVMInit = NULL;
cbVMDeath = NULL;
cbCompiledMethodLoad = NULL;
cbCompiledMethodUnload = NULL;
cbDynamicCodeGenerated = NULL;
cbDataDumpRequest = NULL;
cbMonitorContendedEnter = NULL;
cbMonitorContendedEntered = NULL;
cbMonitorWait = NULL;
cbMonitorWaited = NULL;
cbVMObjectAlloc = NULL;
cbObjectFree = NULL;
cbGarbageCollectionStart = NULL;
cbGarbageCollectionFinish = NULL;
}
/* *********************************************************************** */