Microsoft SDK for Java

IJavaEventMonitor::
MethodExit

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.

Syntax

HRESULT MethodExit(StackID stack_id);

Parameters

[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.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.