OSDN Git Service

Faster stack trace creation
authorMathieu Chartier <mathieuc@google.com>
Wed, 1 Feb 2017 19:03:50 +0000 (11:03 -0800)
committerMathieu Chartier <mathieuc@google.com>
Thu, 2 Feb 2017 00:52:25 +0000 (16:52 -0800)
commit65b8bb2f5948d2a80a347472293f6ef3c7f7f766
tree6a122aabba739b45112f971548815922477c4788
parent3cb871ab1af47576959fd24a99d370381b8f193e
Faster stack trace creation

Cache stack frames from the counting visitor to avoid needing to
walk the stack twice in the common case.

Speeds up pmd benchark by 20%.

Test: test-art-host

Change-Id: I81e4e55280d9c1ccf1937a7ea12abff75e9abb94
runtime/thread.cc