summaryrefslogtreecommitdiff
path: root/runtime/openjdkjvmti/jvmti_weak_table.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/openjdkjvmti/jvmti_weak_table.h')
-rw-r--r--runtime/openjdkjvmti/jvmti_weak_table.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/openjdkjvmti/jvmti_weak_table.h b/runtime/openjdkjvmti/jvmti_weak_table.h
index eeea75aa9d..a6fd247c51 100644
--- a/runtime/openjdkjvmti/jvmti_weak_table.h
+++ b/runtime/openjdkjvmti/jvmti_weak_table.h
@@ -116,6 +116,10 @@ class JvmtiWeakTable : public art::gc::SystemWeakHolder {
void Unlock() RELEASE(allow_disallow_lock_);
void AssertLocked() ASSERT_CAPABILITY(allow_disallow_lock_);
+ art::mirror::Object* Find(T tag)
+ REQUIRES_SHARED(art::Locks::mutator_lock_)
+ REQUIRES(!allow_disallow_lock_);
+
protected:
// Should HandleNullSweep be called when Sweep detects the release of an object?
virtual bool DoesHandleNullOnSweep() {