Use the incremental root marking visitor for overapproximating the weak closure
authorjochen <jochen@chromium.org>
Fri, 13 Mar 2015 14:51:22 +0000 (07:51 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 13 Mar 2015 14:51:32 +0000 (14:51 +0000)
commit31f6142a7f2a54a1091a6ff1f21f09e004097cfb
treec75194d2db8913ba80c32fbee4717da0bc282593
parentcc2c902fa5d032c87d28e82a7422dfd31361ca73
Use the incremental root marking visitor for overapproximating the weak closure

Since incremental marking hasn't completed yet at this point, we can't
use the MC's root visitor.

Also, we shouldn't hurry with incremental marking while
overapproximating

BUG=v8:3862
R=hpayer@chromium.org
LOG=n

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

Cr-Commit-Position: refs/heads/master@{#27184}
src/heap/heap.cc
src/heap/incremental-marking.cc
src/heap/incremental-marking.h
src/heap/mark-compact.cc
src/heap/mark-compact.h