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

Unified Diff: src/api.cc

Issue 11085015: Allow collection of DOM objects in minor GC cycles. (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Resolved patch conflict Created 8 years, 2 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
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index 042f03cf5c3e0c6a183842fd8149337cdd5d3225..d33a19306b158fa081b754c32db424713d2cf698 100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -648,6 +648,13 @@ void V8::MarkIndependent(i::Object** object) {
}
+void V8::MarkExternallyUnreachable(i::Object** object) {
+ i::Isolate* isolate = i::Isolate::Current();
+ LOG_API(isolate, "MarkExternallyUnreachable");
+ isolate->global_handles()->MarkExternallyUnreachable(object);
+}
+
+
bool V8::IsGlobalIndependent(i::Object** obj) {
i::Isolate* isolate = i::Isolate::Current();
LOG_API(isolate, "IsGlobalIndependent");

Powered by Google App Engine
This is Rietveld 408576698