Commit 850a0fe2 authored by Andreas Gampe's avatar Andreas Gampe
Browse files

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
parent 6db6b4d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment