From b122a4bbed34ab22b4c1541ee25e5cf22f12a926 Mon Sep 17 00:00:00 2001 From: Ian Rogers Date: Tue, 19 Nov 2013 18:00:50 -0800 Subject: Tidy up memory barriers. Change-Id: I937ea93e6df1835ecfe2d4bb7d84c24fe7fc097b --- runtime/monitor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/monitor.h') diff --git a/runtime/monitor.h b/runtime/monitor.h index bfd8545..16e9410 100644 --- a/runtime/monitor.h +++ b/runtime/monitor.h @@ -105,7 +105,7 @@ class Monitor { bool IsLocked() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); bool HasHashCode() const { - return hash_code_.load() != 0; + return hash_code_.Load() != 0; } static void InflateThinLocked(Thread* self, SirtRef& obj, LockWord lock_word, -- cgit v1.1