diff options
author | Hiroshi Yamauchi <yamauchi@google.com> | 2015-03-04 01:37:11 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-03-04 01:37:11 +0000 |
commit | ff3ef43f3d0f0986fe23286af028b352277b6e1e (patch) | |
tree | ee9d98ce4598eb664de307d54233896979025d40 /runtime/thread_list.cc | |
parent | 5e42cd3eee2c89214a331a36fe226cfcc57917a3 (diff) | |
parent | e15ea086439b41a805d164d2beb07b4ba96aaa97 (diff) | |
download | art-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.cc | 2 |
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() { |