Commit 8551daee authored by hpayer's avatar hpayer Committed by Commit bot

TestCodeFlushingIncrementalScavenge should not allocate on black pages.

BUG=

Review-Url: https://codereview.chromium.org/2138783002
Cr-Commit-Position: refs/heads/master@{#37648}
parent f592f2e5
......@@ -1479,7 +1479,7 @@ TEST(TestCodeFlushingIncrementalScavenge) {
// Simulate incremental marking so that the functions are enqueued as
// code flushing candidates. Then kill one of the functions. Finally
// perform a scavenge while incremental marking is still running.
heap::SimulateIncrementalMarking(CcTest::heap());
heap::SimulateIncrementalMarking(CcTest::heap(), false);
*function2.location() = NULL;
CcTest::heap()->CollectGarbage(NEW_SPACE, "test scavenge while marking");
......
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