Searched refs:locked_objects_ (Results 1 – 2 of 2) sorted by relevance
/art/runtime/jni/ |
D | jni_env_ext.cc | 191 locked_objects_.push_back(std::make_pair(GetJavaCallFrame(self_), obj)); in RecordMonitorEnter() 235 auto it = std::find(locked_objects_.begin(), locked_objects_.end(), exact_pair); in CheckMonitorRelease() 237 if (it != locked_objects_.end()) { in CheckMonitorRelease() 238 locked_objects_.erase(it); in CheckMonitorRelease() 242 for (std::pair<uintptr_t, jobject>& pair : locked_objects_) { in CheckMonitorRelease() 258 RemoveMonitors(self_, current_frame, &monitors_, &locked_objects_); in CheckMonitorRelease() 267 if (!locked_objects_.empty()) { in CheckNoHeldMonitors() 269 std::pair<uintptr_t, jobject>& pair = locked_objects_[locked_objects_.size() - 1]; in CheckNoHeldMonitors() 277 RemoveMonitors(self_, current_frame, &monitors_, &locked_objects_); in CheckNoHeldMonitors() 280 for (std::pair<uintptr_t, jobject>& check_pair : locked_objects_) { in CheckNoHeldMonitors()
|
D | jni_env_ext.h | 198 std::vector<std::pair<uintptr_t, jobject>> locked_objects_; variable
|