diff options
Diffstat (limited to 'openjdkjvmti/ti_stack.h')
-rw-r--r-- | openjdkjvmti/ti_stack.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openjdkjvmti/ti_stack.h b/openjdkjvmti/ti_stack.h index 55c4269086..918aa4ce90 100644 --- a/openjdkjvmti/ti_stack.h +++ b/openjdkjvmti/ti_stack.h @@ -37,6 +37,7 @@ #include "art_method.h" #include "base/mutex.h" +#include "events.h" #include "stack.h" namespace openjdkjvmti { @@ -83,6 +84,10 @@ class StackUtil { static jvmtiError NotifyFramePop(jvmtiEnv* env, jthread thread, jint depth); static jvmtiError PopFrame(jvmtiEnv* env, jthread thread); + + template <typename T> + static jvmtiError ForceEarlyReturn( + jvmtiEnv* env, EventHandler* event_handler, jthread thread, T value); }; struct FindFrameAtDepthVisitor : art::StackVisitor { |