Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 573230143
Change-Id: I6d0d70dec3f4ee284ecd84acfebe40ce956b35ea
  • Loading branch information
legrosbuffle authored and copybara-github committed Oct 13, 2023
1 parent 5b4b217 commit 4ef8fe1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tcmalloc/page_allocator_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ class PageAllocatorInterface {
virtual void PrintInPbtxt(PbtxtRegion* region)
ABSL_LOCKS_EXCLUDED(pageheap_lock) = 0;

const PageAllocInfo& info() const { return info_; }
const PageAllocInfo& info() const
ABSL_EXCLUSIVE_LOCKS_REQUIRED(pageheap_lock) {
return info_;
}

protected:
PageAllocInfo info_ ABSL_GUARDED_BY(pageheap_lock);
Expand Down

0 comments on commit 4ef8fe1

Please sign in to comment.