Index: runtime/vm/safepoint.cc |
diff --git a/runtime/vm/safepoint.cc b/runtime/vm/safepoint.cc |
index a554a9a8f33aed68ddf3e742d5ffa23e58768dce..7dabc5a738f7df5d0f0435b2b71be9c75603f1f9 100644 |
--- a/runtime/vm/safepoint.cc |
+++ b/runtime/vm/safepoint.cc |
@@ -23,7 +23,6 @@ SafepointOperationScope::SafepointOperationScope(Thread* T) : StackResource(T) { |
handler->SafepointThreads(T); |
} |
- |
SafepointOperationScope::~SafepointOperationScope() { |
Thread* T = thread(); |
ASSERT(T != NULL); |
@@ -36,7 +35,6 @@ SafepointOperationScope::~SafepointOperationScope() { |
handler->ResumeThreads(T); |
} |
- |
SafepointHandler::SafepointHandler(Isolate* isolate) |
: isolate_(isolate), |
safepoint_lock_(new Monitor()), |
@@ -44,7 +42,6 @@ SafepointHandler::SafepointHandler(Isolate* isolate) |
safepoint_operation_count_(0), |
owner_(NULL) {} |
- |
SafepointHandler::~SafepointHandler() { |
ASSERT(owner_ == NULL); |
ASSERT(safepoint_operation_count_ == 0); |
@@ -53,7 +50,6 @@ SafepointHandler::~SafepointHandler() { |
isolate_ = NULL; |
} |
- |
void SafepointHandler::SafepointThreads(Thread* T) { |
{ |
// First grab the threads list lock for this isolate |
@@ -120,7 +116,6 @@ void SafepointHandler::SafepointThreads(Thread* T) { |
} |
} |
- |
void SafepointHandler::ResumeThreads(Thread* T) { |
// First resume all the threads which are blocked for the safepoint |
// operation. |
@@ -153,7 +148,6 @@ void SafepointHandler::ResumeThreads(Thread* T) { |
sl.NotifyAll(); |
} |
- |
void SafepointHandler::EnterSafepointUsingLock(Thread* T) { |
MonitorLocker tl(T->thread_lock()); |
T->SetAtSafepoint(true); |
@@ -165,7 +159,6 @@ void SafepointHandler::EnterSafepointUsingLock(Thread* T) { |
} |
} |
- |
void SafepointHandler::ExitSafepointUsingLock(Thread* T) { |
MonitorLocker tl(T->thread_lock()); |
ASSERT(T->IsAtSafepoint()); |
@@ -177,7 +170,6 @@ void SafepointHandler::ExitSafepointUsingLock(Thread* T) { |
T->SetAtSafepoint(false); |
} |
- |
void SafepointHandler::BlockForSafepoint(Thread* T) { |
MonitorLocker tl(T->thread_lock()); |
if (T->IsSafepointRequested()) { |