commit | 3e5cf305db800b2989ad57b7cde8fb3cc9fa1b9e | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Tue May 20 16:40:37 2014 -0700 |
committer | Ian Rogers <irogers@google.com> | Tue May 20 21:17:03 2014 -0700 |
tree | 52a737323ebd505cf37ca0e4b2dcee6524fba07f | |
parent | 27a2b70f612af9afc0fb5392fb10059f6a0a3569 [diff] [blame] |
Begin migration of art::Atomic to std::atomic. Change-Id: I4858d9cbed95e5ca560956b9dabd976cebe68333
diff --git a/runtime/monitor.h b/runtime/monitor.h index bc5d2e4..bc1b2ed4 100644 --- a/runtime/monitor.h +++ b/runtime/monitor.h
@@ -107,7 +107,7 @@ bool IsLocked() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); bool HasHashCode() const { - return hash_code_.Load() != 0; + return hash_code_.LoadRelaxed() != 0; } MonitorId GetMonitorId() const {