The MethodExit method of the IJavaEventMonitor interface is called by the Microsoft VM to notify the profiler when a Java method is about to be exited. The Microsoft VM passes in a StackID for the calling frame that the method is exiting to. At the topmost method return, MethodExit is called with a NULL StackID. The profiler must have saved the StackID passed to a MethodEntry call to determine which method is about to be exited.
HRESULT MethodExit(StackID stack_id);
[in] stack_id | The StackID for the calling frame that the method is exiting to. At the topmost method return, MethodExit is called with a NULL StackID. |