summaryrefslogtreecommitdiffstats
path: root/runtime/monitor_pool.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/monitor_pool.cc')
-rw-r--r--runtime/monitor_pool.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/monitor_pool.cc b/runtime/monitor_pool.cc
index eadd7a6..19e569d 100644
--- a/runtime/monitor_pool.cc
+++ b/runtime/monitor_pool.cc
@@ -22,7 +22,8 @@
namespace art {
-MonitorPool::MonitorPool() : allocated_ids_lock_("allocated monitor ids lock") {
+MonitorPool::MonitorPool() : allocated_ids_lock_("allocated monitor ids lock",
+ LockLevel::kMonitorPoolLock) {
}
Monitor* MonitorPool::LookupMonitorFromTable(MonitorId mon_id) {