diff options
author | Andreas Gampe <agampe@google.com> | 2017-06-12 16:36:33 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2017-06-13 11:27:24 -0700 |
commit | 6db6b4d276435cd18a516c84c33e5b3351f5bd3b (patch) | |
tree | 7c4607bf0916d9c583413bd24c508a383ad14a44 /runtime/stack.h | |
parent | 16d59b2b0ff202be99cbe24830e8a5080b774357 (diff) | |
download | art-6db6b4d276435cd18a516c84c33e5b3351f5bd3b.tar.gz art-6db6b4d276435cd18a516c84c33e5b3351f5bd3b.tar.bz2 art-6db6b4d276435cd18a516c84c33e5b3351f5bd3b.zip |
ART: Refactor GetStackTraceVisitor
Use a template to collect the stack frames. In preparation for
a fast-path avoiding the vector.
Bug: 62065987
Test: m test-art-host
Change-Id: Ib41cd07c30607393f3be33563c2c4003f002ce5b
Diffstat (limited to 'runtime/stack.h')
-rw-r--r-- | runtime/stack.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/stack.h b/runtime/stack.h index 8c74a8c405..fd86f5d2b1 100644 --- a/runtime/stack.h +++ b/runtime/stack.h @@ -532,6 +532,8 @@ class StackVisitor { public: virtual ~StackVisitor() {} + StackVisitor(const StackVisitor&) = default; + StackVisitor(StackVisitor&&) = default; // Return 'true' if we should continue to visit more frames, 'false' to stop. virtual bool VisitFrame() REQUIRES_SHARED(Locks::mutator_lock_) = 0; |