summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.h
diff options
context:
space:
mode:
authorDave Allison <dallison@google.com>2014-04-15 15:57:58 -0700
committerDave Allison <dallison@google.com>2014-05-05 12:44:15 -0700
commit5cd33753b96d92c03e3cb10cb802e68fb6ef2f21 (patch)
treeb2217cb48e1f1db1aae7a92f8d5dbac5f2d95603 /compiler/optimizing/graph_visualizer.h
parent8ea5baa10b04e9dbd0f0cf14b0358fe8b956bb2e (diff)
Handle implicit stack overflow without affecting stack walks
This changes the way in which implicit stack overflows are handled to satisfy concerns about changes to the stack walk code. Instead of creating a gap in the stack and checking for it in the stack walker, use the ManagedStack infrastructure to concoct an invisible gap that will never be seen by a stack walk. Also, this uses madvise to tell the kernel that the main stack's protected region will probably never be accessed, and instead of using memset to map the pages in, use memcpy to read from them. This will save 32K on the main stack. Also adds a 'signals' verbosity level as per a review request. Bug: 14066862 Change-Id: I5257305feeaea241d11e6aa6f021d2a81da20b81
Diffstat (limited to 'compiler/optimizing/graph_visualizer.h')
0 files changed, 0 insertions, 0 deletions