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

Unified Diff: third_party/WebKit/Source/platform/heap/SafePoint.h

Issue 2703713003: Remove SafePointBarrier (Closed)
Patch Set: temp 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/SafePoint.h
diff --git a/third_party/WebKit/Source/platform/heap/SafePoint.h b/third_party/WebKit/Source/platform/heap/SafePoint.h
index 79930e731bacb9e57109d73dff28659171abbe4b..2b1c48d5dfa4b878a13d78523ba05c36fef6336c 100644
--- a/third_party/WebKit/Source/platform/heap/SafePoint.h
+++ b/third_party/WebKit/Source/platform/heap/SafePoint.h
@@ -32,28 +32,6 @@ class SafePointScope final {
ThreadState* m_state;
};
-class SafePointBarrier final {
- USING_FAST_MALLOC(SafePointBarrier);
- WTF_MAKE_NONCOPYABLE(SafePointBarrier);
-
- public:
- SafePointBarrier();
- ~SafePointBarrier();
-
- void enterSafePoint(ThreadState*);
- void leaveSafePoint();
-
- private:
- void doPark(ThreadState*, intptr_t* stackEnd);
- void doEnterSafePoint(ThreadState*, intptr_t* stackEnd);
- static void enterSafePointAfterPushRegisters(SafePointBarrier* barrier,
- ThreadState* state,
- intptr_t* stackEnd) {
- barrier->doEnterSafePoint(state, stackEnd);
- }
- Mutex m_mutex;
-};
-
} // namespace blink
#endif
« no previous file with comments | « third_party/WebKit/Source/platform/heap/Heap.cpp ('k') | third_party/WebKit/Source/platform/heap/SafePoint.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698