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

Unified Diff: src/heap.cc

Issue 181833004: Fix memory leak caused by treating Code::next_code_link as strong in marker. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix test Created 6 years, 10 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/mark-compact.cc » ('j') | src/objects.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap.cc
diff --git a/src/heap.cc b/src/heap.cc
index 42e56ca1eb9e2bb40498d9ea2d341c71a67f6b4e..638e10ca0fecc4d44cadd2a949fb6d771898ae3f 100644
--- a/src/heap.cc
+++ b/src/heap.cc
@@ -7096,6 +7096,10 @@ class PathTracer::MarkVisitor: public ObjectVisitor {
}
}
+ WeakPointerMode weak_pointer_mode() {
+ return SKIP_WEAK_POINTERS;
+ }
+
private:
PathTracer* tracer_;
};
@@ -7112,6 +7116,10 @@ class PathTracer::UnmarkVisitor: public ObjectVisitor {
}
}
+ WeakPointerMode weak_pointer_mode() {
+ return SKIP_WEAK_POINTERS;
+ }
+
private:
PathTracer* tracer_;
};
« no previous file with comments | « no previous file | src/mark-compact.cc » ('j') | src/objects.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698