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

Unified Diff: third_party/WebKit/Source/wtf/Partitions.cpp

Issue 1863753002: Remove ENABLE(OILPAN) uses in wtf/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More comment syncing Created 4 years, 8 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 | « third_party/WebKit/Source/wtf/Partitions.h ('k') | third_party/WebKit/Source/wtf/Vector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/Partitions.cpp
diff --git a/third_party/WebKit/Source/wtf/Partitions.cpp b/third_party/WebKit/Source/wtf/Partitions.cpp
index 0fe349ce0d1f230e48b20fd7a43e998029a18943..73de42d2a069789a96bfe5cca9f76a779a9f31d4 100644
--- a/third_party/WebKit/Source/wtf/Partitions.cpp
+++ b/third_party/WebKit/Source/wtf/Partitions.cpp
@@ -42,9 +42,6 @@ bool Partitions::s_initialized = false;
PartitionAllocatorGeneric Partitions::m_fastMallocAllocator;
PartitionAllocatorGeneric Partitions::m_bufferAllocator;
-#if !ENABLE(OILPAN)
-SizeSpecificPartitionAllocator<3328> Partitions::m_nodeAllocator;
-#endif
SizeSpecificPartitionAllocator<1024> Partitions::m_layoutAllocator;
Partitions::ReportPartitionAllocSizeFunction Partitions::m_reportSizeFunction = nullptr;
@@ -56,9 +53,6 @@ void Partitions::initialize(ReportPartitionAllocSizeFunction reportSizeFunction)
partitionAllocGlobalInit(&Partitions::handleOutOfMemory);
m_fastMallocAllocator.init();
m_bufferAllocator.init();
-#if !ENABLE(OILPAN)
- m_nodeAllocator.init();
-#endif
m_layoutAllocator.init();
m_reportSizeFunction = reportSizeFunction;
s_initialized = true;
@@ -74,9 +68,6 @@ void Partitions::shutdown()
// the valgrind and heapcheck bots, which run without partitions.
if (s_initialized) {
(void) m_layoutAllocator.shutdown();
-#if !ENABLE(OILPAN)
- (void) m_nodeAllocator.shutdown();
-#endif
(void) m_bufferAllocator.shutdown();
(void) m_fastMallocAllocator.shutdown();
}
@@ -90,9 +81,6 @@ void Partitions::decommitFreeableMemory()
partitionPurgeMemoryGeneric(bufferPartition(), PartitionPurgeDecommitEmptyPages);
partitionPurgeMemoryGeneric(fastMallocPartition(), PartitionPurgeDecommitEmptyPages);
-#if !ENABLE(OILPAN)
- partitionPurgeMemory(nodePartition(), PartitionPurgeDecommitEmptyPages);
-#endif
partitionPurgeMemory(layoutPartition(), PartitionPurgeDecommitEmptyPages);
}
@@ -122,9 +110,6 @@ void Partitions::dumpMemoryStats(bool isLightDump, PartitionStatsDumper* partiti
decommitFreeableMemory();
partitionDumpStatsGeneric(fastMallocPartition(), "fast_malloc", isLightDump, partitionStatsDumper);
partitionDumpStatsGeneric(bufferPartition(), "buffer", isLightDump, partitionStatsDumper);
-#if !ENABLE(OILPAN)
- partitionDumpStats(nodePartition(), "node", isLightDump, partitionStatsDumper);
-#endif
partitionDumpStats(layoutPartition(), "layout", isLightDump, partitionStatsDumper);
}
« no previous file with comments | « third_party/WebKit/Source/wtf/Partitions.h ('k') | third_party/WebKit/Source/wtf/Vector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698