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

Unified Diff: include/v8.h

Issue 13786002: [WIP] New GC related APIs. (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: fixed Created 7 years, 8 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 | src/api.cc » ('j') | src/global-handles.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index 8dabef0d5885448bfdd590c37f88ab4dfe8218a0..a7ede84ba5f38cd08f59d936948a9604e09f3453 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -3440,6 +3440,8 @@ class V8EXPORT V8 {
* for partially dependent handles only.
* See v8-profiler.h for RetainedObjectInfo interface description.
*/
+ // TODO(marja): deprecate AddObjectGroup. Use SetObjectGroupID and
+ // SetRetainedObjectInfo instead.
static void AddObjectGroup(Persistent<Value>* objects,
size_t length,
RetainedObjectInfo* info = NULL);
@@ -3448,6 +3450,14 @@ class V8EXPORT V8 {
size_t length,
RetainedObjectInfo* info = NULL);
+ static void SetObjectGroupId(Isolate* isolate,
+ const Persistent<Value>& object,
+ void* id);
Michael Starzinger 2013/04/09 14:18:40 Is void* the right type for this "color", would it
marja 2013/04/09 16:46:51 Didn't change this yet... svenpanne@, what's your
Sven Panne 2013/04/10 08:31:46 Any "foo*" has an implicit connotation of "I can b
+
+ static void SetRetainedObjectInfo(Isolate* isolate,
+ void* id,
+ RetainedObjectInfo* info);
+
/**
* Allows the host application to declare implicit references between
* the objects: if |parent| is alive, all |children| are alive too.
« no previous file with comments | « no previous file | src/api.cc » ('j') | src/global-handles.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698