Commit 0283d550 authored by ulan's avatar ulan Committed by Commit bot

[heap] Add a flag guard for concurrent store buffer processing.

BUG=v8:5580

Review-Url: https://codereview.chromium.org/2460873003
Cr-Commit-Position: refs/heads/master@{#41095}
parent d240ffec
...@@ -85,7 +85,7 @@ void StoreBuffer::FlipStoreBuffers() { ...@@ -85,7 +85,7 @@ void StoreBuffer::FlipStoreBuffers() {
current_ = other; current_ = other;
top_ = start_[current_]; top_ = start_[current_];
if (!task_running_) { if (!task_running_ && FLAG_concurrent_sweeping) {
task_running_ = true; task_running_ = true;
Task* task = new Task(heap_->isolate(), this); Task* task = new Task(heap_->isolate(), this);
V8::GetCurrentPlatform()->CallOnBackgroundThread( V8::GetCurrentPlatform()->CallOnBackgroundThread(
......
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