Searched refs:locked_objects_ (Results 1 – 2 of 2) sorted by relevance
/art/runtime/ |
D | jni_env_ext.cc | 190 locked_objects_.push_back(std::make_pair(GetJavaCallFrame(self_), obj)); in RecordMonitorEnter() 234 auto it = std::find(locked_objects_.begin(), locked_objects_.end(), exact_pair); in CheckMonitorRelease() 236 if (it != locked_objects_.end()) { in CheckMonitorRelease() 237 locked_objects_.erase(it); in CheckMonitorRelease() 241 for (std::pair<uintptr_t, jobject>& pair : locked_objects_) { in CheckMonitorRelease() 257 RemoveMonitors(self_, current_frame, &monitors_, &locked_objects_); in CheckMonitorRelease() 266 if (!locked_objects_.empty()) { in CheckNoHeldMonitors() 268 std::pair<uintptr_t, jobject>& pair = locked_objects_[locked_objects_.size() - 1]; in CheckNoHeldMonitors() 276 RemoveMonitors(self_, current_frame, &monitors_, &locked_objects_); in CheckNoHeldMonitors() 279 for (std::pair<uintptr_t, jobject>& check_pair : locked_objects_) { in CheckNoHeldMonitors()
|
D | jni_env_ext.h | 187 std::vector<std::pair<uintptr_t, jobject>> locked_objects_; variable
|