summaryrefslogtreecommitdiff
path: root/runtime/gc/space/dlmalloc_space.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/gc/space/dlmalloc_space.h')
-rw-r--r--runtime/gc/space/dlmalloc_space.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/runtime/gc/space/dlmalloc_space.h b/runtime/gc/space/dlmalloc_space.h
index c5293147d4..73e65d4bb1 100644
--- a/runtime/gc/space/dlmalloc_space.h
+++ b/runtime/gc/space/dlmalloc_space.h
@@ -86,12 +86,6 @@ class DlMallocSpace : public MallocSpace {
uint64_t GetBytesAllocated();
uint64_t GetObjectsAllocated();
- uint64_t GetTotalBytesAllocated() {
- return GetBytesAllocated() + total_bytes_freed_;
- }
- uint64_t GetTotalObjectsAllocated() {
- return GetObjectsAllocated() + total_objects_freed_;
- }
// Returns the class of a recently freed object.
mirror::Class* FindRecentFreedObject(const mirror::Object* obj);
@@ -112,8 +106,6 @@ class DlMallocSpace : public MallocSpace {
byte* limit, size_t growth_limit);
private:
- size_t InternalAllocationSize(const mirror::Object* obj);
-
mirror::Object* AllocWithoutGrowthLocked(Thread* self, size_t num_bytes, size_t* bytes_allocated)
EXCLUSIVE_LOCKS_REQUIRED(lock_);
@@ -122,10 +114,6 @@ class DlMallocSpace : public MallocSpace {
}
static void* CreateMspace(void* base, size_t morecore_start, size_t initial_size);
- // Approximate number of bytes and objects which have been deallocated in the space.
- size_t total_bytes_freed_;
- size_t total_objects_freed_;
-
// The boundary tag overhead.
static const size_t kChunkOverhead = kWordSize;