From bdf7f1c3ab65ccb70f62db5ab31dba060632d458 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Tue, 30 Aug 2016 16:38:47 -0700 Subject: ART: SHARED_REQUIRES to REQUIRES_SHARED This coincides with the actual attribute name and upstream usage. Preparation for deferring to libbase. Test: m Test: m test-art-host Change-Id: Ia8986b5dfd926ba772bf00b0a35eaf83596d8518 --- runtime/reference_table.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'runtime/reference_table.h') diff --git a/runtime/reference_table.h b/runtime/reference_table.h index f90ccd1e51..992ded0eae 100644 --- a/runtime/reference_table.h +++ b/runtime/reference_table.h @@ -41,22 +41,22 @@ class ReferenceTable { ReferenceTable(const char* name, size_t initial_size, size_t max_size); ~ReferenceTable(); - void Add(mirror::Object* obj) SHARED_REQUIRES(Locks::mutator_lock_); + void Add(mirror::Object* obj) REQUIRES_SHARED(Locks::mutator_lock_); - void Remove(mirror::Object* obj) SHARED_REQUIRES(Locks::mutator_lock_); + void Remove(mirror::Object* obj) REQUIRES_SHARED(Locks::mutator_lock_); size_t Size() const; - void Dump(std::ostream& os) SHARED_REQUIRES(Locks::mutator_lock_); + void Dump(std::ostream& os) REQUIRES_SHARED(Locks::mutator_lock_); void VisitRoots(RootVisitor* visitor, const RootInfo& root_info) - SHARED_REQUIRES(Locks::mutator_lock_); + REQUIRES_SHARED(Locks::mutator_lock_); private: typedef std::vector, TrackingAllocator, kAllocatorTagReferenceTable>> Table; static void Dump(std::ostream& os, Table& entries) - SHARED_REQUIRES(Locks::mutator_lock_); + REQUIRES_SHARED(Locks::mutator_lock_); friend class IndirectReferenceTable; // For Dump. std::string name_; -- cgit v1.2.3-59-g8ed1b