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

Unified Diff: include/v8.h

Issue 1883043003: Add RegisterExternallyReferencedObject to PersistenValueMap (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix comment Created 4 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 | include/v8-util.h » ('j') | no next file with comments »
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 bc6edf5cea8ab4bb2d64e7716c8a8ddbb0fcd133..6af7d129291dd7123f81ad297fa86031098471d8 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -6624,6 +6624,14 @@ class V8_EXPORT V8 {
*/
static void ShutdownPlatform();
+ /**
+ * Allows the embedder to tell the v8 garbage collector that a certain object
+ * is alive. Only allowed when the embedder is asked to trace its heap by
+ * EmbedderHeapTracer.
+ */
+ static void RegisterExternallyReferencedObject(internal::Object** object,
jochen (gone - plz use gerrit) 2016/04/14 14:28:09 this should stay private. Can you make the map a f
Marcel Hlopko 2016/04/14 14:50:42 Done.
+ internal::Isolate* isolate);
+
private:
V8();
@@ -6632,8 +6640,6 @@ class V8_EXPORT V8 {
static internal::Object** CopyPersistent(internal::Object** handle);
static void DisposeGlobal(internal::Object** global_handle);
typedef WeakCallbackData<Value, void>::Callback WeakCallback;
- static void RegisterExternallyReferencedObject(internal::Object** object,
- internal::Isolate* isolate);
static void MakeWeak(internal::Object** global_handle, void* data,
WeakCallback weak_callback);
static void MakeWeak(internal::Object** global_handle, void* data,
« no previous file with comments | « no previous file | include/v8-util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698