diff options
| -rw-r--r-- | runtime/gc/heap.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/runtime/gc/heap.h b/runtime/gc/heap.h index 606bbc6c0d..26d67a1841 100644 --- a/runtime/gc/heap.h +++ b/runtime/gc/heap.h @@ -613,14 +613,6 @@ class Heap { void RequestConcurrentGC(Thread* self) LOCKS_EXCLUDED(Locks::runtime_shutdown_lock_); bool IsGCRequestPending() const; - size_t RecordAllocationInstrumented(size_t size, mirror::Object* object) - LOCKS_EXCLUDED(GlobalSynchronization::heap_bitmap_lock_) - SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); - - size_t RecordAllocationUninstrumented(size_t size, mirror::Object* object) - LOCKS_EXCLUDED(GlobalSynchronization::heap_bitmap_lock_) - SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); - // Sometimes CollectGarbageInternal decides to run a different Gc than you requested. Returns // which type of Gc was actually ran. collector::GcType CollectGarbageInternal(collector::GcType gc_plan, GcCause gc_cause, @@ -736,11 +728,6 @@ class Heap { // If we have a zygote space. bool have_zygote_space_; - // Number of pinned primitive arrays in the movable space. - // Block all GC until this hits zero, or we hit the timeout! - size_t number_gc_blockers_; - static constexpr size_t KGCBlockTimeout = 30000; - // Guards access to the state of GC, associated conditional variable is used to signal when a GC // completes. Mutex* gc_complete_lock_ DEFAULT_MUTEX_ACQUIRED_AFTER; |