summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2017-05-12 10:28:35 -0700
committerAndreas Gampe <agampe@google.com>2017-05-15 08:14:55 -0700
commit121f1482c27e240ce09b2373d186831e4dff9689 (patch)
tree8ff872d7d174e735227b950245352e3713989139 /compiler/optimizing/graph_visualizer.cc
parented00ddb614d68559931d831cb74d3ba8f01599c9 (diff)
ART: Add arena tracking mode
Add an arena tracking mode to get better insight into allocation behavior. In this mode, the default size of arenas is very small so that arena use for multiple places is limited. At the same time, do not release arenas back into their pool and instead free them. Tracking in this context is wrt/ tools that analyze calls to allocation routines, e.g., massif and heaptrack. The goal of this CL is to enable more precise tracking with such tools. The smaller minimal arena sizes and deallocation instead of reuse will lead to actual malloc calls instead of bump-pointer behavior, exposing ArenaAllocator-based allocation to such tools. To limit the build-time impact of switching tracking, add an -inl file for the arena allocator that defines the controlling flag and the default arena size. Bug: 34053922 Test: m test-art-host Change-Id: I09bb5e743d7dc47e499a402d6fcac637c16a26ad
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions