summaryrefslogtreecommitdiffstats
path: root/runtime/thread_list.cc
diff options
context:
space:
mode:
authorHiroshi Yamauchi <yamauchi@google.com>2015-03-04 01:37:11 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-03-04 01:37:11 +0000
commitff3ef43f3d0f0986fe23286af028b352277b6e1e (patch)
treeee9d98ce4598eb664de307d54233896979025d40 /runtime/thread_list.cc
parent5e42cd3eee2c89214a331a36fe226cfcc57917a3 (diff)
parente15ea086439b41a805d164d2beb07b4ba96aaa97 (diff)
downloadart-ff3ef43f3d0f0986fe23286af028b352277b6e1e.tar.gz
art-ff3ef43f3d0f0986fe23286af028b352277b6e1e.tar.bz2
art-ff3ef43f3d0f0986fe23286af028b352277b6e1e.zip
Merge "Reserve bits in the lock word for read barriers."
Diffstat (limited to 'runtime/thread_list.cc')
-rw-r--r--runtime/thread_list.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/thread_list.cc b/runtime/thread_list.cc
index 31ccbcc5cf..d4c1e8c39c 100644
--- a/runtime/thread_list.cc
+++ b/runtime/thread_list.cc
@@ -53,7 +53,7 @@ static constexpr useconds_t kThreadSuspendMaxSleepUs = 5000;
ThreadList::ThreadList()
: suspend_all_count_(0), debug_suspend_all_count_(0), unregistering_count_(0),
suspend_all_historam_("suspend all histogram", 16, 64) {
- CHECK(Monitor::IsValidLockWord(LockWord::FromThinLockId(kMaxThreadId, 1)));
+ CHECK(Monitor::IsValidLockWord(LockWord::FromThinLockId(kMaxThreadId, 1, 0U)));
}
ThreadList::~ThreadList() {