Commit 35870e79 authored by Ulan Degenbaev's avatar Ulan Degenbaev Committed by Commit Bot

[heap] Add tracing scope to parallel scavenger.

Bug: chromium:758183
Change-Id: I5bfbff77562fdfd30587fdea475fb1b532e67b40
Reviewed-on: https://chromium-review.googlesource.com/809136Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#49888}
parent fc5b2ff1
......@@ -1909,7 +1909,9 @@ class ScavengingTask final : public ItemParallelJob::Task {
barrier_(barrier) {}
void RunInParallel() final {
// TODO(ulan): add GCTracer background scope.
GCTracer::BackgroundScope scope(
heap_->tracer(),
GCTracer::BackgroundScope::SCAVENGER_BACKGROUND_SCAVENGE_PARALLEL);
double scavenging_time = 0.0;
{
barrier_->Start();
......
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