jvmti.cc (_Jv_JVMTI_DisposeEnvironment): Check for enabled events.
* jvmti.cc (_Jv_JVMTI_DisposeEnvironment): Check for enabled events. (check_enabled_event): New function. (check_enabled_events): New function. (post_event): New function. (_Jv_JVMTI_SetEventNotificationMode): New function. (_Jv_JVMTI_SetEventCallbacks): New function. (_Jv_JVMTI_Interface): Define SetEventNotificationMode and SetEventCallbacks members. * include/jvmti-int.h: New file. * include/jvmti_md.h (EVENT_SLOTS) [__GCJ_JNI_IMP__]: Define. (_CLASSPATH_JVMTIENV_CONTENTS) [__GCJ_JNI_IMPL__]: Define. * testsuite/libjava.jvmti/events.java: New file. * testsuite/libjava.jvmti/events.out: New file. * testsuite/libjava.jvmti/natevents.cc: New file. From-SVN: r117133
This commit is contained in:
parent
14c7148908
commit
ebf29cf63f
7 changed files with 1429 additions and 3 deletions
12
libjava/testsuite/libjava.jvmti/events.java
Normal file
12
libjava/testsuite/libjava.jvmti/events.java
Normal file
|
@ -0,0 +1,12 @@
|
|||
// Test JVMTI event notifications
|
||||
|
||||
public class events
|
||||
{
|
||||
public static native void do_events_tests ();
|
||||
|
||||
public static void main (String[] args)
|
||||
{
|
||||
System.out.println ("JVMTI event notification tests");
|
||||
do_events_tests ();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue