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

Unified Diff: runtime/vm/heap.h

Issue 2929203002: [Fuchsia] Give VMOs names (Closed)
Patch Set: Ignore name set failure. Properly select old space Created 3 years, 6 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
« no previous file with comments | « no previous file | runtime/vm/heap.cc » ('j') | runtime/vm/pages.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/heap.h
diff --git a/runtime/vm/heap.h b/runtime/vm/heap.h
index 64b7499d7962a25f0b85cf721737264c3ca1aa5c..f67637f3c2881fa9cc9d2ff37d42b4700f42fbf7 100644
--- a/runtime/vm/heap.h
+++ b/runtime/vm/heap.h
@@ -138,6 +138,9 @@ class Heap {
intptr_t max_old_gen_words,
intptr_t max_external_words);
+ // Writes a suitable name for a VM region in the heap into the buffer `name`.
+ void RegionName(Space space, char* name, intptr_t name_size);
+
// Verify that all pointers in the heap point to the heap.
bool Verify(MarkExpectation mark_expectation = kForbidMarked) const;
« no previous file with comments | « no previous file | runtime/vm/heap.cc » ('j') | runtime/vm/pages.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698