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

Unified Diff: src/heap/heap.cc

Issue 1012593004: Repeatedly overapproximate the weak closure as long as we make progress (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 5 years, 9 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 | « src/flag-definitions.h ('k') | src/heap/incremental-marking.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.cc
diff --git a/src/heap/heap.cc b/src/heap/heap.cc
index 913ac13d43832494e2234c123e6e421e2074cc6e..ae2f0dc13c1961d5c8669fd22e257a34ed228c27 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -766,6 +766,10 @@ void Heap::OverApproximateWeakClosure(const char* gc_reason) {
PrintF("[IncrementalMarking] Overapproximate weak closure (%s).\n",
gc_reason);
}
+
+ GCTracer::Scope gc_scope(tracer(),
+ GCTracer::Scope::MC_INCREMENTAL_WEAKCLOSURE);
+
{
GCCallbacksScope scope(this);
if (scope.CheckReenter()) {
« no previous file with comments | « src/flag-definitions.h ('k') | src/heap/incremental-marking.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698