Chromium Code Reviews| 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, |