Commit 7e67b486 authored by jochen's avatar jochen Committed by Commit bot

freed_nodes in global-handles should be addititive

otherwise phantom nodes won't ever be taken into account

BUG=chromium:484671,chromium:479796
R=hpayer@chromium.org
LOG=y

Review URL: https://codereview.chromium.org/1125673010

Cr-Commit-Position: refs/heads/master@{#28234}
parent 49fdc532
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment