Commit d96224e8 authored by yangguo's avatar yangguo Committed by Commit bot

Abort incremental marking in test-heap/WeakCellsWithIncrementalMarking.

R=ulan@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#27838}
parent 68a7773e
...@@ -4864,7 +4864,7 @@ TEST(WeakCellsWithIncrementalMarking) { ...@@ -4864,7 +4864,7 @@ TEST(WeakCellsWithIncrementalMarking) {
CHECK(weak_cell->value()->IsFixedArray()); CHECK(weak_cell->value()->IsFixedArray());
weak_cells[i] = inner_scope.CloseAndEscape(weak_cell); weak_cells[i] = inner_scope.CloseAndEscape(weak_cell);
} }
heap->CollectAllGarbage(Heap::kNoGCFlags); heap->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask);
CHECK_EQ(*survivor, weak_cells[0]->value()); CHECK_EQ(*survivor, weak_cells[0]->value());
for (int i = 1; i < N; i++) { for (int i = 1; i < N; i++) {
CHECK(weak_cells[i]->cleared()); CHECK(weak_cells[i]->cleared());
......
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