summaryrefslogtreecommitdiff
path: root/runtime/mirror/reference.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/mirror/reference.h')
-rw-r--r--runtime/mirror/reference.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/runtime/mirror/reference.h b/runtime/mirror/reference.h
index b10c29444e..63c5ae5ff8 100644
--- a/runtime/mirror/reference.h
+++ b/runtime/mirror/reference.h
@@ -20,8 +20,6 @@
#include "base/enums.h"
#include "base/macros.h"
#include "base/mutex.h"
-#include "class.h"
-#include "gc_root.h"
#include "obj_ptr.h"
#include "object.h"
#include "read_barrier_option.h"
@@ -98,12 +96,6 @@ class MANAGED Reference : public Object {
return GetPendingNext<kWithoutReadBarrier>() == nullptr;
}
- template<ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
- static ALWAYS_INLINE Class* GetJavaLangRefReference() REQUIRES_SHARED(Locks::mutator_lock_);
- static void SetClass(ObjPtr<Class> klass);
- static void ResetClass();
- static void VisitRoots(RootVisitor* visitor) REQUIRES_SHARED(Locks::mutator_lock_);
-
private:
// Note: This avoids a read barrier, it should only be used by the GC.
HeapReference<Object>* GetReferentReferenceAddr() REQUIRES_SHARED(Locks::mutator_lock_) {
@@ -116,8 +108,6 @@ class MANAGED Reference : public Object {
HeapReference<Reference> queue_next_;
HeapReference<Object> referent_; // Note this is Java volatile:
- static GcRoot<Class> java_lang_ref_Reference_;
-
friend struct art::ReferenceOffsets; // for verifying offset information
friend class gc::ReferenceProcessor;
friend class gc::ReferenceQueue;