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

Unified Diff: src/global-handles.cc

Issue 1125673010: freed_nodes in global-handles should be addititive (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/global-handles.cc
diff --git a/src/global-handles.cc b/src/global-handles.cc
index d8073aa65043cf6222fb0431ff1e1ea37a2b36df..6a6b6ef8603b23e47654f9bc531191d2cb649f82 100644
--- a/src/global-handles.cc
+++ b/src/global-handles.cc
@@ -849,9 +849,9 @@ int GlobalHandles::PostGarbageCollectionProcessing(GarbageCollector collector) {
return freed_nodes;
}
if (collector == SCAVENGER) {
- freed_nodes = PostScavengeProcessing(initial_post_gc_processing_count);
+ freed_nodes += PostScavengeProcessing(initial_post_gc_processing_count);
} else {
- freed_nodes = PostMarkSweepProcessing(initial_post_gc_processing_count);
+ freed_nodes += PostMarkSweepProcessing(initial_post_gc_processing_count);
}
if (initial_post_gc_processing_count != post_gc_processing_count_) {
// If the callbacks caused a nested GC, then return. See comment in
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698