diff options
Diffstat (limited to 'runtime/monitor.h')
-rw-r--r-- | runtime/monitor.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ class Monitor { bool IsLocked() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); bool HasHashCode() const { - return hash_code_.Load() != 0; + return hash_code_.LoadRelaxed() != 0; } MonitorId GetMonitorId() const { |