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

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

Issue 2633463006: HeapCompact doesn't need to support multiple threads (Closed)
Patch Set: temp Created 3 years, 11 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 | « no previous file | third_party/WebKit/Source/platform/heap/HeapCompact.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/heap/HeapCompact.h
diff --git a/third_party/WebKit/Source/platform/heap/HeapCompact.h b/third_party/WebKit/Source/platform/heap/HeapCompact.h
index e7e13334f1097d7ccef34eac2d4bf84f8f20f3e2..5c8e1a880b349dd87510a280753adeadfd891043 100644
--- a/third_party/WebKit/Source/platform/heap/HeapCompact.h
+++ b/third_party/WebKit/Source/platform/heap/HeapCompact.h
@@ -139,18 +139,6 @@ class PLATFORM_EXPORT HeapCompact final {
bool m_doCompact;
size_t m_gcCountSinceLastCompaction;
- // Lock protecting finishedThreadCompaction() signalling.
- Mutex m_mutex;
-
- // All threads performing a GC must synchronize on completion
- // of all heap compactions. Not doing so risks one thread resuming
- // the mutator, which could perform cross-thread access to a heap
- // that's still in the process of being compacted.
- ThreadCondition m_finished;
-
- // Number of heap threads participating in the compaction.
- int m_threadCount;
-
// Last reported freelist size, across all compactable arenas.
size_t m_freeListSize;
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/heap/HeapCompact.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698