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

Unified Diff: src/heap/incremental-marking.cc

Issue 2604673002: Revert of [heap] Report wrappers after processing the marking deque incrementally (Closed)
Patch Set: Created 4 years 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/heap/embedder-tracing.cc ('k') | src/heap/mark-compact.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/incremental-marking.cc
diff --git a/src/heap/incremental-marking.cc b/src/heap/incremental-marking.cc
index ebf7abf6d2b0ec7cedba6df9ceb9d5266394ea88..13dc59c4e4cb7f939764fe857f819dd7cd8b161c 100644
--- a/src/heap/incremental-marking.cc
+++ b/src/heap/incremental-marking.cc
@@ -892,11 +892,6 @@
VisitObject(map, obj, size);
bytes_processed += size - unscanned_bytes_of_large_object_;
}
- // Report all found wrappers to the embedder. This is necessary as the
- // embedder could potentially invalidate wrappers as soon as V8 is done
- // with its incremental marking processing. Any cached wrappers could
- // result in broken pointers at this point.
- heap_->local_embedder_heap_tracer()->RegisterWrappersWithRemoteTracer();
return bytes_processed;
}
@@ -1038,8 +1033,6 @@
TRACE_EVENT0("v8", "V8.GCIncrementalMarking");
TRACE_GC(heap_->tracer(), GCTracer::Scope::MC_INCREMENTAL);
DCHECK(!IsStopped());
- DCHECK_EQ(
- 0, heap_->local_embedder_heap_tracer()->NumberOfCachedWrappersToTrace());
double remaining_time_in_ms = 0.0;
intptr_t step_size_in_bytes = GCIdleTimeHandler::EstimateMarkingStepSize(
« no previous file with comments | « src/heap/embedder-tracing.cc ('k') | src/heap/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698