summaryrefslogtreecommitdiffstats
path: root/runtime/gc_root.h
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2014-09-02 16:20:45 -0700
committerMathieu Chartier <mathieuc@google.com>2014-09-02 16:42:08 -0700
commitc2bda539093db61be1f4095e579f6e68db8a23f1 (patch)
tree38ae12dc45d237de694441ee302ba3c48ac22bc2 /runtime/gc_root.h
parent62bcfec936692ff4f75cdc3267c081080b0e6acc (diff)
downloadart-c2bda539093db61be1f4095e579f6e68db8a23f1.tar.gz
art-c2bda539093db61be1f4095e579f6e68db8a23f1.tar.bz2
art-c2bda539093db61be1f4095e579f6e68db8a23f1.zip
Add missing read barriers to intern table.
Also deleted GcRoot::Assign. Change-Id: Ib1ea739cf79c72fc92a8628cd9095c11b660e018
Diffstat (limited to 'runtime/gc_root.h')
-rw-r--r--runtime/gc_root.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/runtime/gc_root.h b/runtime/gc_root.h
index 3928f5d3e2..b10a55c1a2 100644
--- a/runtime/gc_root.h
+++ b/runtime/gc_root.h
@@ -28,7 +28,6 @@ class PACKED(4) GcRoot {
public:
template<ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
ALWAYS_INLINE MirrorType* Read() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
- ALWAYS_INLINE void Assign(MirrorType* value) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
void VisitRoot(RootCallback* callback, void* arg, uint32_t thread_id, RootType root_type) {
callback(reinterpret_cast<mirror::Object**>(&root_), arg, thread_id, root_type);