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

Unified Diff: runtime/vm/heap.h

Issue 2929203002: [Fuchsia] Give VMOs names (Closed)
Patch Set: Fix tests 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 | « runtime/vm/freelist_test.cc ('k') | runtime/vm/heap.cc » ('j') | no next file with comments »
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..1c9968660d3b4a96ce05df568205a7735f400f81 100644
--- a/runtime/vm/heap.h
+++ b/runtime/vm/heap.h
@@ -138,6 +138,12 @@ 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`.
+ static void RegionName(Heap* heap,
+ 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 | « runtime/vm/freelist_test.cc ('k') | runtime/vm/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698