summaryrefslogtreecommitdiff
path: root/openjdkjvmti/ti_stack.h
diff options
context:
space:
mode:
Diffstat (limited to 'openjdkjvmti/ti_stack.h')
-rw-r--r--openjdkjvmti/ti_stack.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/openjdkjvmti/ti_stack.h b/openjdkjvmti/ti_stack.h
index b41fa4bf5a..55c4269086 100644
--- a/openjdkjvmti/ti_stack.h
+++ b/openjdkjvmti/ti_stack.h
@@ -81,6 +81,8 @@ class StackUtil {
jobject** owned_monitors_ptr);
static jvmtiError NotifyFramePop(jvmtiEnv* env, jthread thread, jint depth);
+
+ static jvmtiError PopFrame(jvmtiEnv* env, jthread thread);
};
struct FindFrameAtDepthVisitor : art::StackVisitor {
@@ -110,6 +112,9 @@ struct FindFrameAtDepthVisitor : art::StackVisitor {
}
}
+ art::ShadowFrame* GetOrCreateShadowFrame(/*out*/bool* created_frame)
+ REQUIRES_SHARED(art::Locks::mutator_lock_);
+
private:
bool found_frame_;
size_t cnt_;