Chromium Code Reviews

Unified Diff: include/v8-profiler.h

Issue 14007008: New GC APIs, try 2. (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Moving funcs & code review. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: include/v8-profiler.h
diff --git a/include/v8-profiler.h b/include/v8-profiler.h
index 5c5c7a946c91014b22ba127cae2c4785ddfde8fb..bc50b6f42bcc36779d1c4c4eeeb65e16824a3586 100644
--- a/include/v8-profiler.h
+++ b/include/v8-profiler.h
@@ -554,6 +554,11 @@ class V8EXPORT HeapProfiler {
/** Returns memory used for profiler internal data and snapshots. */
size_t GetProfilerMemorySize();
+ /**
+ * Sets a RetainedObjectInfo for an object group (see V8::SetObjectGroupId).
+ */
+ void SetRetainedObjectInfo(UniqueId id, RetainedObjectInfo* info);
+
private:
HeapProfiler();
~HeapProfiler();

Powered by Google App Engine