Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(476)

Unified Diff: runtime/vm/disassembler.cc

Issue 182703003: Cleanup native, collected, and stub code handling in profiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/disassembler.cc
diff --git a/runtime/vm/disassembler.cc b/runtime/vm/disassembler.cc
index 044e1000247fbd6b2c144ac0d25272c2139fbc28..5b85dca36514135611b5a0773d403ef678fcbcf0 100644
--- a/runtime/vm/disassembler.cc
+++ b/runtime/vm/disassembler.cc
@@ -101,6 +101,7 @@ class FindAddrVisitor : public FindObjectVisitor {
bool Disassembler::CanFindOldObject(uword addr) {
FindAddrVisitor visitor(addr);
+ NoGCScope no_gc;
return Isolate::Current()->heap()->FindOldObject(&visitor) != Object::null();
}
« no previous file with comments | « runtime/bin/vmservice/client/lib/src/observatory_elements/service_ref.dart ('k') | runtime/vm/disassembler_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698