summaryrefslogtreecommitdiff
path: root/runtime/gc/allocator/art-dlmalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/gc/allocator/art-dlmalloc.h')
-rw-r--r--runtime/gc/allocator/art-dlmalloc.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/runtime/gc/allocator/art-dlmalloc.h b/runtime/gc/allocator/art-dlmalloc.h
index 296de72c70..cffde4d8a5 100644
--- a/runtime/gc/allocator/art-dlmalloc.h
+++ b/runtime/gc/allocator/art-dlmalloc.h
@@ -36,26 +36,4 @@
#include "dlmalloc.h"
#pragma GCC diagnostic pop
-// Callback for dlmalloc_inspect_all or mspace_inspect_all that will madvise(2) unused
-// pages back to the kernel.
-extern "C" void DlmallocMadviseCallback(void* start, void* end, size_t used_bytes, void* /*arg*/);
-
-// Callbacks for dlmalloc_inspect_all or mspace_inspect_all that will
-// count the number of bytes allocated and objects allocated,
-// respectively.
-extern "C" void DlmallocBytesAllocatedCallback(void* start, void* end, size_t used_bytes, void* arg);
-extern "C" void DlmallocObjectsAllocatedCallback(void* start, void* end, size_t used_bytes, void* arg);
-
-namespace art {
-namespace gc {
-namespace allocator {
-
-// Callback from dlmalloc when it needs to increase the footprint. Must be implemented somewhere
-// else (currently dlmalloc_space.cc).
-void* ArtDlMallocMoreCore(void* mspace, intptr_t increment);
-
-} // namespace allocator
-} // namespace gc
-} // namespace art
-
#endif // ART_RUNTIME_GC_ALLOCATOR_ART_DLMALLOC_H_