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; |