Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(370)

Unified Diff: src/heap/mark-compact.cc

Issue 1961893002: Instrument callers of Semaphore::Signal to help with investigation of (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/debug/debug.cc ('k') | src/heap/page-parallel-job.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/mark-compact.cc
diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc
index 89ca782c267b317fc64bcb27f4c9442bb6424a7d..ad0c58e4a8d53e61c5c459caec33d9299184d065 100644
--- a/src/heap/mark-compact.cc
+++ b/src/heap/mark-compact.cc
@@ -480,7 +480,7 @@ class MarkCompactCollector::Sweeper::SweeperTask : public v8::Task {
DCHECK_LE(space_id, LAST_PAGED_SPACE);
sweeper_->ParallelSweepSpace(static_cast<AllocationSpace>(space_id), 0);
}
- pending_sweeper_tasks_->Signal();
+ pending_sweeper_tasks_->Signal("SweeperTask::Run");
}
Sweeper* sweeper_;
@@ -585,7 +585,7 @@ bool MarkCompactCollector::Sweeper::IsSweepingCompleted() {
base::TimeDelta::FromSeconds(0))) {
return false;
}
- pending_sweeper_tasks_semaphore_.Signal();
+ pending_sweeper_tasks_semaphore_.Signal("Sweeper::IsSweepingCompleted");
return true;
}
« no previous file with comments | « src/debug/debug.cc ('k') | src/heap/page-parallel-job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698