OSDN Git Service

Color spill slots in gc regalloc
authorMatthew Gharrity <gharrma@google.com>
Sat, 13 Aug 2016 02:07:11 +0000 (19:07 -0700)
committerMatthew Gharrity <gharrma@google.com>
Wed, 17 Aug 2016 21:42:14 +0000 (14:42 -0700)
commitb6722fff3bedb867062b7ad369182f431dd98191
tree7cbfdf3658404dc25a92e2ea66b7accb8e5ba6c3
parente70b9243ba8b11bc37dc2eb10dd95e4238ea240e
Color spill slots in gc regalloc

Coloring spill slots avoids pathologically large stack
sizes by reusing spill slots when possible.

Test: ART_TEST_OPTIMIZING_GRAPH_COLOR=true m test-art-host

Change-Id: I4b4aea859c78b0515758f8b057ee870dbbfc2300
compiler/optimizing/register_allocator_graph_color.cc
compiler/optimizing/register_allocator_graph_color.h