summaryrefslogtreecommitdiff
path: root/runtime/gc/reference_queue.h
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2018-11-28 08:26:47 -0800
committer Andreas Gampe <agampe@google.com> 2018-12-06 11:37:19 -0800
commit7fbc4a59ba2e60d869313d7961662430df83b2cb (patch)
tree59520285df8d2075412ddc566a0d4d96d4c7e109 /runtime/gc/reference_queue.h
parent7cc45fd1dbcf5704e442d0443e437aa2ae3fe21b (diff)
ART: Move to using locks.h instead of mutex.h
When only annotating lock requirements, use locks.h. Bug: 119869270 Test: mmma art Change-Id: I1608b03254712feff0072ebad012c3af0cc3dda4
Diffstat (limited to 'runtime/gc/reference_queue.h')
-rw-r--r--runtime/gc/reference_queue.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/gc/reference_queue.h b/runtime/gc/reference_queue.h
index 09ab51a045..53518cc1c1 100644
--- a/runtime/gc/reference_queue.h
+++ b/runtime/gc/reference_queue.h
@@ -23,7 +23,7 @@
#include "base/atomic.h"
#include "base/globals.h"
-#include "base/mutex.h"
+#include "base/locks.h"
#include "base/timing_logger.h"
#include "jni.h"
#include "obj_ptr.h"
@@ -31,6 +31,9 @@
#include "thread_pool.h"
namespace art {
+
+class Mutex;
+
namespace mirror {
class Reference;
} // namespace mirror