diff options
Diffstat (limited to 'runtime/reference_table.h')
| -rw-r--r-- | runtime/reference_table.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/reference_table.h b/runtime/reference_table.h index 94f16b66de..f90ccd1e51 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_LOCKS_REQUIRED(Locks::mutator_lock_); + void Add(mirror::Object* obj) SHARED_REQUIRES(Locks::mutator_lock_); - void Remove(mirror::Object* obj) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); + void Remove(mirror::Object* obj) SHARED_REQUIRES(Locks::mutator_lock_); size_t Size() const; - void Dump(std::ostream& os) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); + void Dump(std::ostream& os) SHARED_REQUIRES(Locks::mutator_lock_); void VisitRoots(RootVisitor* visitor, const RootInfo& root_info) - SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); + SHARED_REQUIRES(Locks::mutator_lock_); private: typedef std::vector<GcRoot<mirror::Object>, TrackingAllocator<GcRoot<mirror::Object>, kAllocatorTagReferenceTable>> Table; static void Dump(std::ostream& os, Table& entries) - SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); + SHARED_REQUIRES(Locks::mutator_lock_); friend class IndirectReferenceTable; // For Dump. std::string name_; |