Home | History | Annotate | Download | only in src

Lines Matching refs:Static

33 // Static variables shared by multiple classes.
49 class Static {
52 static SpinLock* pageheap_lock() { return &pageheap_lock_; }
55 static void InitStaticVars();
59 static CentralFreeListPadded* central_cache() { return central_cache_; }
61 static SizeMap* sizemap() { return &sizemap_; }
68 static PageHeap* pageheap() { return pageheap_; }
70 static PageHeapAllocator<Span>* span_allocator() { return &span_allocator_; }
72 static PageHeapAllocator<StackTrace>* stacktrace_allocator() {
76 static StackTrace* growth_stacks() { return growth_stacks_; }
77 static void set_growth_stacks(StackTrace* s) { growth_stacks_ = s; }
80 static Span* sampled_objects() { return &sampled_objects_; }
81 static PageHeapAllocator<StackTraceTable::Bucket>* bucket_allocator() {
86 static SpinLock pageheap_lock_;
88 // These static variables require explicit initialization. We cannot
90 // static variables may try to allocate memory before these variables
93 static SizeMap sizemap_;
94 static CentralFreeListPadded central_cache_[kNumClasses];
95 static PageHeapAllocator<Span> span_allocator_;
96 static PageHeapAllocator<StackTrace> stacktrace_allocator_;
97 static Span sampled_objects_;
98 static PageHeapAllocator<StackTraceTable::Bucket> bucket_allocator_;
104 static StackTrace* growth_stacks_;
106 static PageHeap* pageheap_;