commit | 850a0fe2fc0dc1fdea40a6147762876547b3ebb3 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Mon Jun 12 18:37:19 2017 -0700 |
committer | Andreas Gampe <agampe@google.com> | Tue Jun 13 11:35:45 2017 -0700 |
tree | 46a3026ea3a47681fc7a4ae5d9271577074b2ba8 | |
parent | 6db6b4d276435cd18a516c84c33e5b3351f5bd3b [diff] |
ART: Add GetStackTrace fast-path Add a fast-path closure that fills stack frames directly into the provided buffer, avoiding an intermediate vector and its allocations, as well as a memcpy. This only works when collecting stack frames from the top (start >= 0), which is a common case. Bug: 62065987 Test: m test-art-host Change-Id: I8f0d34b3d18f70f4699ed8bdec2c88ca4c96cd4f