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

Unified Diff: runtime/vm/thread.h

Issue 2601153002: Added methods to surface number of zone and scoped handles for each isolate. (Closed)
Patch Set: Created 4 years 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/thread.h
diff --git a/runtime/vm/thread.h b/runtime/vm/thread.h
index 576d57c19d1e637908acb34d5fd4a7c721f421cb..e73c44bc024888165911a3fe04bcfad082854564 100644
--- a/runtime/vm/thread.h
+++ b/runtime/vm/thread.h
@@ -638,7 +638,9 @@ class Thread : public BaseThread {
void VisitObjectPointers(ObjectPointerVisitor* visitor, bool validate_frames);
bool IsValidLocalHandle(Dart_Handle object) const;
- int CountLocalHandles() const;
+ intptr_t CountLocalHandles() const;
+ intptr_t CountZoneHandles() const;
+ intptr_t CountScopedHandles() const;
int ZoneSizeInBytes() const;
void UnwindScopes(uword stack_marker);

Powered by Google App Engine
This is Rietveld 408576698