Commit dc0aeb60 by Keith Seitz Committed by Keith Seitz

jvmti-int.h (JVMTI): Declare all members "extern".

        * include/jvmti-int.h (JVMTI): Declare all members "extern".
        * jvmti.cc (JVMTI): Define.

From-SVN: r117670
parent 59810d82
2006-10-12 Keith Seitz <keiths@redhat.com>
* include/jvmti-int.h (JVMTI): Declare all members "extern".
* jvmti.cc (JVMTI): Define.
2006-10-11 Tom Tromey <tromey@redhat.com> 2006-10-11 Tom Tromey <tromey@redhat.com>
* Makefile.in: Rebuilt. * Makefile.in: Rebuilt.
......
...@@ -37,41 +37,41 @@ executable file might be covered by the GNU General Public License. */ ...@@ -37,41 +37,41 @@ executable file might be covered by the GNU General Public License. */
False means no JVMTI environment requested that event type. */ False means no JVMTI environment requested that event type. */
namespace JVMTI namespace JVMTI
{ {
bool VMInit; extern bool VMInit;
bool VMDeath; extern bool VMDeath;
bool ThreadStart; extern bool ThreadStart;
bool ThreadEnd; extern bool ThreadEnd;
bool ClassFileLoadHook; extern bool ClassFileLoadHook;
bool ClassLoad; extern bool ClassLoad;
bool ClassPrepare; extern bool ClassPrepare;
bool VMStart; extern bool VMStart;
bool Exception; extern bool Exception;
bool ExceptionCatch; extern bool ExceptionCatch;
bool SingleStep; extern bool SingleStep;
bool FramePop; extern bool FramePop;
bool Breakpoint; extern bool Breakpoint;
bool FieldAccess; extern bool FieldAccess;
bool FieldModification; extern bool FieldModification;
bool MethodEntry; extern bool MethodEntry;
bool MethodExit; extern bool MethodExit;
bool NativeMethodBind; extern bool NativeMethodBind;
bool CompiledMethodLoad; extern bool CompiledMethodLoad;
bool CompiledMethodUnload; extern bool CompiledMethodUnload;
bool DynamicCodeGenerated; extern bool DynamicCodeGenerated;
bool DataDumpRequest; extern bool DataDumpRequest;
bool reserved72; extern bool reserved72;
bool MonitorWait; extern bool MonitorWait;
bool MonitorWaited; extern bool MonitorWaited;
bool MonitorContendedEnter; extern bool MonitorContendedEnter;
bool MonitorContendedEntered; extern bool MonitorContendedEntered;
bool reserved77; extern bool reserved77;
bool reserved78; extern bool reserved78;
bool reserved79; extern bool reserved79;
bool reserved80; extern bool reserved80;
bool GarbageCollectionStart; extern bool GarbageCollectionStart;
bool GarbageCollectionFinish; extern bool GarbageCollectionFinish;
bool ObjectFree; extern bool ObjectFree;
bool VMObjectAlloc; extern bool VMObjectAlloc;
}; };
/* A macro to test whether an event should be posted to JVMTI.*/ /* A macro to test whether an event should be posted to JVMTI.*/
......
...@@ -36,6 +36,45 @@ details. */ ...@@ -36,6 +36,45 @@ details. */
static void check_enabled_events (void); static void check_enabled_events (void);
static void check_enabled_event (jvmtiEvent); static void check_enabled_event (jvmtiEvent);
namespace JVMTI
{
bool VMInit = false;
bool VMDeath = false;
bool ThreadStart = false;
bool ThreadEnd = false;
bool ClassFileLoadHook = false;
bool ClassLoad = false;
bool ClassPrepare = false;
bool VMStart = false;
bool Exception = false;
bool ExceptionCatch = false;
bool SingleStep = false;
bool FramePop = false;
bool Breakpoint = false;
bool FieldAccess = false;
bool FieldModification = false;
bool MethodEntry = false;
bool MethodExit = false;
bool NativeMethodBind = false;
bool CompiledMethodLoad = false;
bool CompiledMethodUnload = false;
bool DynamicCodeGenerated = false;
bool DataDumpRequest = false;
bool reserved72 = false;
bool MonitorWait = false;
bool MonitorWaited = false;
bool MonitorContendedEnter = false;
bool MonitorContendedEntered = false;
bool reserved77 = false;
bool reserved78 = false;
bool reserved79 = false;
bool reserved80 = false;
bool GarbageCollectionStart = false;
bool GarbageCollectionFinish = false;
bool ObjectFree = false;
bool VMObjectAlloc = false;
};
extern struct JNINativeInterface _Jv_JNIFunctions; extern struct JNINativeInterface _Jv_JNIFunctions;
struct _Jv_rawMonitorID struct _Jv_rawMonitorID
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment