diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2015-05-06 11:34:34 +0100 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2015-05-11 15:23:25 +0100 |
commit | 8e5bd18fc665d7ec5461ea068e98740a65da754c (patch) | |
tree | 83441cdfdab06709b573aad2ab731cc65c10b9f1 /runtime/check_reference_map_visitor.h | |
parent | cdeb0b5fede4c06488f43a212591e661d946bc78 (diff) | |
download | art-8e5bd18fc665d7ec5461ea068e98740a65da754c.zip art-8e5bd18fc665d7ec5461ea068e98740a65da754c.tar.gz art-8e5bd18fc665d7ec5461ea068e98740a65da754c.tar.bz2 |
Add a flag to StackVisitor for inlining.
The flag tells whether the stack walk needs to include inlined
Java frames.
This does not do anything just yet, as we're not inlining anyways.
Change-Id: I716e25094fe56fa335ca1f9a398c1bcdba478e73
Diffstat (limited to 'runtime/check_reference_map_visitor.h')
-rw-r--r-- | runtime/check_reference_map_visitor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/check_reference_map_visitor.h b/runtime/check_reference_map_visitor.h index 5d9cd35..d87a563 100644 --- a/runtime/check_reference_map_visitor.h +++ b/runtime/check_reference_map_visitor.h @@ -29,7 +29,7 @@ namespace art { class CheckReferenceMapVisitor : public StackVisitor { public: explicit CheckReferenceMapVisitor(Thread* thread) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) - : StackVisitor(thread, nullptr) {} + : StackVisitor(thread, nullptr, StackVisitor::StackWalkKind::kIncludeInlinedFrames) {} bool VisitFrame() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { mirror::ArtMethod* m = GetMethod(); |