diff options
author | 2017-05-05 00:23:38 +0000 | |
---|---|---|
committer | 2017-05-05 00:23:39 +0000 | |
commit | 1a8864ec75a3a09e2e4a9eae63010f9ab6be0049 (patch) | |
tree | 7f2903217c0773f8cc0c3580fe5aa1d90998d1c5 /runtime/openjdkjvmti/jvmti_weak_table.h | |
parent | 9e8797d1c96dd4744b667ef6bbd10812e2087f79 (diff) | |
parent | d73aba4f0c95914cc51144b0b609d9293e5341cf (diff) |
Merge "ART: Add Heap JVMTI extension API"
Diffstat (limited to 'runtime/openjdkjvmti/jvmti_weak_table.h')
-rw-r--r-- | runtime/openjdkjvmti/jvmti_weak_table.h | 4 |
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() { |