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

Unified Diff: third_party/WebKit/Source/platform/heap/Heap.cpp

Issue 2694243003: Remove ThreadState::m_isAtSafePoint (Closed)
Patch Set: Created 3 years, 10 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
Index: third_party/WebKit/Source/platform/heap/Heap.cpp
diff --git a/third_party/WebKit/Source/platform/heap/Heap.cpp b/third_party/WebKit/Source/platform/heap/Heap.cpp
index bf086aa367139e968bb66a85da19f122ecec1b8d..8289f796792c2eaabeecd5150b24dd23e1e93cc9 100644
--- a/third_party/WebKit/Source/platform/heap/Heap.cpp
+++ b/third_party/WebKit/Source/platform/heap/Heap.cpp
@@ -212,15 +212,6 @@ BasePage* ThreadHeap::findPageFromAddress(Address address) {
}
return nullptr;
}
-
-bool ThreadHeap::isAtSafePoint() {
- MutexLocker locker(m_threadAttachMutex);
- for (ThreadState* state : m_threads) {
- if (!state->isAtSafePoint())
- return false;
- }
- return true;
-}
#endif
Address ThreadHeap::checkAndMarkPointer(Visitor* visitor, Address address) {

Powered by Google App Engine
This is Rietveld 408576698