The IJavaEventMonitor2 interface has the following methods:
GetPossibleEventCategories is called by the Microsoft VM to query the profiler to determine which event categories might ever be enabled for notification.
MethodExit2 is called by the Microsoft VM to notify the profiler when a method is about to be exited.
NotifyEvent2 is called by the Microsoft VM to notify the profiler when an event from JVM_EVENT_TYPE2 is about to occur.