Diff
Modified: trunk/Source/WTF/ChangeLog (261660 => 261661)
--- trunk/Source/WTF/ChangeLog 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/ChangeLog 2020-05-13 22:33:20 UTC (rev 261661)
@@ -1,3 +1,71 @@
+2020-05-13 Ross Kirsling <[email protected]>
+
+ [IWYU] Try removing redundant includes in WTF implementation files
+ https://bugs.webkit.org/show_bug.cgi?id=211821
+
+ Reviewed by Simon Fraser.
+
+ * wtf/Assertions.cpp:
+ * wtf/Bag.cpp:
+ * wtf/BitVector.cpp:
+ * wtf/ConcurrentBuffer.cpp:
+ * wtf/ConcurrentPtrHashSet.cpp:
+ * wtf/CrossThreadCopier.cpp:
+ * wtf/CurrentTime.cpp:
+ * wtf/DataLog.cpp:
+ * wtf/DateMath.cpp:
+ * wtf/FastBitVector.cpp:
+ * wtf/FastMalloc.cpp:
+ * wtf/FileSystem.cpp:
+ * wtf/Gigacage.cpp:
+ * wtf/HashTable.cpp:
+ * wtf/JSValueMalloc.cpp:
+ * wtf/Language.cpp:
+ * wtf/MainThread.cpp:
+ * wtf/MetaAllocator.cpp:
+ * wtf/MonotonicTime.cpp:
+ * wtf/NumberOfCores.cpp:
+ * wtf/OSLogPrintStream.cpp:
+ * wtf/ParallelHelperPool.cpp:
+ * wtf/ParkingLot.cpp:
+ * wtf/PrintStream.cpp:
+ * wtf/RAMSize.cpp:
+ * wtf/RandomDevice.cpp:
+ * wtf/RandomNumber.cpp:
+ * wtf/RefCountedArray.cpp:
+ * wtf/RefCountedLeakCounter.cpp:
+ * wtf/SegmentedVector.cpp:
+ * wtf/SmallPtrSet.cpp:
+ * wtf/StackBounds.cpp:
+ * wtf/ThreadGroup.cpp:
+ * wtf/Threading.cpp:
+ * wtf/TimeWithDynamicClockType.cpp:
+ * wtf/URL.cpp:
+ * wtf/URLParser.cpp:
+ * wtf/UUID.cpp:
+ * wtf/UniqueArray.cpp:
+ * wtf/Vector.cpp:
+ * wtf/WTFConfig.cpp:
+ * wtf/WallTime.cpp:
+ * wtf/WordLock.cpp:
+ * wtf/WorkQueue.cpp:
+ * wtf/WorkerPool.cpp:
+ * wtf/generic/WorkQueueGeneric.cpp:
+ * wtf/posix/OSAllocatorPOSIX.cpp:
+ * wtf/posix/ThreadingPOSIX.cpp:
+ * wtf/text/AtomString.cpp:
+ * wtf/text/AtomStringImpl.cpp:
+ * wtf/text/AtomStringTable.cpp:
+ * wtf/text/CString.cpp:
+ * wtf/text/StringBuffer.cpp:
+ * wtf/text/StringBuilder.cpp:
+ * wtf/text/StringImpl.cpp:
+ * wtf/text/StringView.cpp:
+ * wtf/text/TextBreakIterator.cpp:
+ * wtf/text/TextStream.cpp:
+ * wtf/text/WTFString.cpp:
+ * wtf/threads/Signals.cpp:
+
2020-05-13 Jer Noble <[email protected]>
Replace isNullFunctionPointer with real weak-linking support
Modified: trunk/Source/WTF/wtf/Assertions.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/Assertions.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/Assertions.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -42,17 +42,11 @@
#include <wtf/Locker.h>
#include <wtf/LoggingAccumulator.h>
#include <wtf/PrintStream.h>
-#include <wtf/RetainPtr.h>
#include <wtf/StackTrace.h>
-#include <wtf/StdLibExtras.h>
#include <wtf/text/CString.h>
#include <wtf/text/StringBuilder.h>
#include <wtf/text/WTFString.h>
-#if HAVE(SIGNAL_H)
-#include <signal.h>
-#endif
-
#if USE(CF)
#include <CoreFoundation/CFString.h>
#if PLATFORM(COCOA)
Modified: trunk/Source/WTF/wtf/Bag.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/Bag.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/Bag.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -26,8 +26,6 @@
#include "config.h"
#include <wtf/Bag.h>
-#include <wtf/NeverDestroyed.h>
-
namespace WTF {
DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(BagNode);
Modified: trunk/Source/WTF/wtf/BitVector.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/BitVector.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/BitVector.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -29,8 +29,6 @@
#include <algorithm>
#include <string.h>
#include <wtf/Assertions.h>
-#include <wtf/FastMalloc.h>
-#include <wtf/NeverDestroyed.h>
#include <wtf/StdLibExtras.h>
namespace WTF {
Modified: trunk/Source/WTF/wtf/ConcurrentBuffer.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/ConcurrentBuffer.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/ConcurrentBuffer.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -26,8 +26,6 @@
#include "config.h"
#include <wtf/ConcurrentBuffer.h>
-#include <wtf/NeverDestroyed.h>
-
namespace WTF {
DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(ConcurrentBuffer);
Modified: trunk/Source/WTF/wtf/ConcurrentPtrHashSet.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/ConcurrentPtrHashSet.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/ConcurrentPtrHashSet.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -26,8 +26,6 @@
#include "config.h"
#include <wtf/ConcurrentPtrHashSet.h>
-#include <wtf/DataLog.h>
-
namespace WTF {
ConcurrentPtrHashSet::ConcurrentPtrHashSet()
Modified: trunk/Source/WTF/wtf/CrossThreadCopier.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/CrossThreadCopier.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/CrossThreadCopier.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -32,8 +32,6 @@
#include "config.h"
#include <wtf/CrossThreadCopier.h>
-#include <wtf/CrossThreadTask.h>
-
namespace WTF {
// Test CrossThreadCopier using COMPILE_ASSERT.
Modified: trunk/Source/WTF/wtf/CurrentTime.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/CurrentTime.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/CurrentTime.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -34,7 +34,6 @@
#include "config.h"
#include <wtf/MonotonicTime.h>
-#include <time.h>
#include <wtf/WallTime.h>
#if OS(DARWIN)
@@ -51,6 +50,7 @@
#include <windows.h>
#include <math.h>
#include <stdint.h>
+#include <time.h>
#else
#include <sys/time.h>
#endif
Modified: trunk/Source/WTF/wtf/DataLog.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/DataLog.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/DataLog.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -31,14 +31,8 @@
#include <wtf/FilePrintStream.h>
#include <wtf/LockedPrintStream.h>
#include <wtf/ProcessID.h>
-#include <wtf/Threading.h>
#include <mutex>
-#include <thread>
-#if OS(UNIX) || OS(DARWIN)
-#include <unistd.h>
-#endif
-
#define DATA_LOG_TO_FILE 0
// Set to 1 to use the temp directory from confstr instead of hardcoded directory.
Modified: trunk/Source/WTF/wtf/DateMath.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/DateMath.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/DateMath.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -73,14 +73,11 @@
#include <wtf/DateMath.h>
#include <algorithm>
-#include <limits.h>
#include <limits>
#include <stdint.h>
#include <time.h>
#include <wtf/Assertions.h>
#include <wtf/ASCIICType.h>
-#include <wtf/MathExtras.h>
-#include <wtf/StdLibExtras.h>
#include <wtf/text/StringBuilder.h>
#if OS(WINDOWS)
@@ -87,18 +84,6 @@
#include <windows.h>
#endif
-#if HAVE(ERRNO_H)
-#include <errno.h>
-#endif
-
-#if HAVE(SYS_TIME_H)
-#include <sys/time.h>
-#endif
-
-#if HAVE(SYS_TIMEB_H)
-#include <sys/timeb.h>
-#endif
-
namespace WTF {
// FIXME: Should this function go into StringCommon.h or some other header?
Modified: trunk/Source/WTF/wtf/FastBitVector.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/FastBitVector.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/FastBitVector.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -26,8 +26,6 @@
#include "config.h"
#include <wtf/FastBitVector.h>
-#include <wtf/NeverDestroyed.h>
-
namespace WTF {
DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(FastBitVector);
Modified: trunk/Source/WTF/wtf/FastMalloc.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/FastMalloc.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/FastMalloc.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -26,25 +26,17 @@
#include "config.h"
#include <wtf/FastMalloc.h>
-#include <limits>
#include <string.h>
#include <wtf/CheckedArithmetic.h>
-#include <wtf/DataLog.h>
#if OS(WINDOWS)
#include <windows.h>
#else
-#include <pthread.h>
#if HAVE(RESOURCE_H)
#include <sys/resource.h>
#endif // HAVE(RESOURCE_H)
#endif
-#if OS(DARWIN)
-#include <mach/mach_init.h>
-#include <malloc/malloc.h>
-#endif
-
#if ENABLE(MALLOC_HEAP_BREAKDOWN)
#include <wtf/Atomics.h>
#include <wtf/HashMap.h>
Modified: trunk/Source/WTF/wtf/FileSystem.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/FileSystem.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/FileSystem.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -34,10 +34,8 @@
#include <wtf/text/StringBuilder.h>
#if !OS(WINDOWS)
-#include <fcntl.h>
#include <sys/mman.h>
#include <sys/stat.h>
-#include <unistd.h>
#endif
#if USE(GLIB)
Modified: trunk/Source/WTF/wtf/Gigacage.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/Gigacage.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/Gigacage.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -28,9 +28,9 @@
#include <wtf/Atomics.h>
#include <wtf/PageBlock.h>
-#include <wtf/OSAllocator.h>
#if defined(USE_SYSTEM_MALLOC) && USE_SYSTEM_MALLOC
+#include <wtf/OSAllocator.h>
namespace Gigacage {
Modified: trunk/Source/WTF/wtf/HashTable.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/HashTable.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/HashTable.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -20,10 +20,6 @@
#include "config.h"
#include <wtf/HashTable.h>
-#include <mutex>
-#include <wtf/DataLog.h>
-#include <wtf/NeverDestroyed.h>
-
namespace WTF {
DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(HashTable);
Modified: trunk/Source/WTF/wtf/JSValueMalloc.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/JSValueMalloc.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/JSValueMalloc.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -27,8 +27,6 @@
#include <wtf/JSValueMalloc.h>
#include <wtf/DataLog.h>
-#include <wtf/FastMalloc.h>
-#include <wtf/Gigacage.h>
#include <wtf/RawPointer.h>
#if !(defined(USE_SYSTEM_MALLOC) && USE_SYSTEM_MALLOC)
Modified: trunk/Source/WTF/wtf/Language.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/Language.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/Language.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -28,7 +28,6 @@
#include <wtf/HashMap.h>
#include <wtf/NeverDestroyed.h>
-#include <wtf/RetainPtr.h>
#include <wtf/text/WTFString.h>
#if USE(CF) && !PLATFORM(WIN)
Modified: trunk/Source/WTF/wtf/MainThread.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/MainThread.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/MainThread.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -37,7 +37,6 @@
#include <wtf/NeverDestroyed.h>
#include <wtf/RunLoop.h>
#include <wtf/StdLibExtras.h>
-#include <wtf/ThreadSpecific.h>
#include <wtf/Threading.h>
namespace WTF {
Modified: trunk/Source/WTF/wtf/MetaAllocator.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/MetaAllocator.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/MetaAllocator.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -29,11 +29,6 @@
#include "config.h"
#include <wtf/MetaAllocator.h>
-#include <wtf/DataLog.h>
-#include <wtf/FastMalloc.h>
-#include <wtf/NeverDestroyed.h>
-#include <wtf/ProcessID.h>
-
namespace WTF {
DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(MetaAllocatorHandle);
Modified: trunk/Source/WTF/wtf/MonotonicTime.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/MonotonicTime.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/MonotonicTime.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -27,7 +27,6 @@
#include <wtf/MonotonicTime.h>
#include <wtf/PrintStream.h>
-#include <wtf/TimeWithDynamicClockType.h>
#include <wtf/WallTime.h>
namespace WTF {
Modified: trunk/Source/WTF/wtf/NumberOfCores.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/NumberOfCores.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/NumberOfCores.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -29,10 +29,6 @@
#include <cstdio>
#if OS(DARWIN)
-#include <sys/param.h>
-// sys/types.h must come before sys/sysctl.h because the latter uses
-// data types defined in the former. See sysctl(3) and style(9).
-#include <sys/types.h>
#include <sys/sysctl.h>
#elif OS(LINUX) || OS(AIX) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD)
#include <unistd.h>
Modified: trunk/Source/WTF/wtf/OSLogPrintStream.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/OSLogPrintStream.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/OSLogPrintStream.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -26,8 +26,6 @@
#include "config.h"
#include <wtf/OSLogPrintStream.h>
-#include <wtf/StringPrintStream.h>
-
namespace WTF {
#if OS(DARWIN)
Modified: trunk/Source/WTF/wtf/ParallelHelperPool.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/ParallelHelperPool.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/ParallelHelperPool.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -27,8 +27,6 @@
#include <wtf/ParallelHelperPool.h>
#include <wtf/AutomaticThread.h>
-#include <wtf/DataLog.h>
-#include <wtf/StringPrintStream.h>
namespace WTF {
Modified: trunk/Source/WTF/wtf/ParkingLot.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/ParkingLot.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/ParkingLot.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -26,9 +26,7 @@
#include "config.h"
#include <wtf/ParkingLot.h>
-#include <condition_variable>
#include <mutex>
-#include <thread>
#include <wtf/DataLog.h>
#include <wtf/HashFunctions.h>
#include <wtf/StringPrintStream.h>
Modified: trunk/Source/WTF/wtf/PrintStream.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/PrintStream.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/PrintStream.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -26,9 +26,7 @@
#include "config.h"
#include <wtf/PrintStream.h>
-#include <stdio.h>
#include <wtf/text/CString.h>
-#include <wtf/text/UniquedStringImpl.h>
#include <wtf/text/WTFString.h>
namespace WTF {
Modified: trunk/Source/WTF/wtf/RAMSize.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/RAMSize.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/RAMSize.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -27,7 +27,6 @@
#include <wtf/RAMSize.h>
#include <mutex>
-#include <wtf/StdLibExtras.h>
#if OS(WINDOWS)
#include <windows.h>
Modified: trunk/Source/WTF/wtf/RandomDevice.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/RandomDevice.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/RandomDevice.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -27,7 +27,6 @@
#include "config.h"
#include <wtf/RandomDevice.h>
-#include <stdint.h>
#include <stdlib.h>
#if !OS(DARWIN) && !OS(FUCHSIA) && OS(UNIX)
@@ -42,7 +41,6 @@
#endif
#if OS(DARWIN)
-#include <CommonCrypto/CommonCryptoError.h>
#include <CommonCrypto/CommonRandom.h>
#endif
Modified: trunk/Source/WTF/wtf/RandomNumber.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/RandomNumber.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/RandomNumber.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -29,11 +29,8 @@
#include <wtf/RandomNumber.h>
#include <limits>
-#include <limits.h>
#include <stdint.h>
-#include <stdlib.h>
#include <wtf/CryptographicallyRandomNumber.h>
-#include <wtf/RandomNumberSeed.h>
#include <wtf/WeakRandom.h>
namespace WTF {
Modified: trunk/Source/WTF/wtf/RefCountedArray.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/RefCountedArray.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/RefCountedArray.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -26,8 +26,6 @@
#include "config.h"
#include <wtf/RefCountedArray.h>
-#include <wtf/NeverDestroyed.h>
-
namespace WTF {
DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(RefCountedArray);
Modified: trunk/Source/WTF/wtf/RefCountedLeakCounter.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/RefCountedLeakCounter.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/RefCountedLeakCounter.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -21,12 +21,9 @@
#include "config.h"
#include <wtf/RefCountedLeakCounter.h>
-#include <wtf/HashCountedSet.h>
-
+#ifdef NDEBUG
namespace WTF {
-#ifdef NDEBUG
-
void RefCountedLeakCounter::suppressMessages(const char*) { }
void RefCountedLeakCounter::cancelMessageSuppression(const char*) { }
@@ -36,8 +33,12 @@
void RefCountedLeakCounter::increment() { }
void RefCountedLeakCounter::decrement() { }
+} // namespace WTF
#else
+#include <wtf/HashCountedSet.h>
+namespace WTF {
+
#define LOG_CHANNEL_PREFIX Log
#if RELEASE_LOG_DISABLED
static WTFLogChannel LogRefCountedLeaks = { WTFLogChannelState::On, "RefCountedLeaks", WTFLogLevel::Error };
@@ -95,6 +96,5 @@
--m_count;
}
+} // namespace WTF
#endif
-
-} // namespace WTF
Modified: trunk/Source/WTF/wtf/SegmentedVector.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/SegmentedVector.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/SegmentedVector.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -26,8 +26,6 @@
#include "config.h"
#include <wtf/SegmentedVector.h>
-#include <wtf/NeverDestroyed.h>
-
namespace WTF {
DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(SegmentedVector);
Modified: trunk/Source/WTF/wtf/SmallPtrSet.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/SmallPtrSet.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/SmallPtrSet.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -26,8 +26,6 @@
#include "config.h"
#include <wtf/SmallPtrSet.h>
-#include <wtf/NeverDestroyed.h>
-
namespace WTF {
DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(SmallPtrSet);
Modified: trunk/Source/WTF/wtf/StackBounds.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/StackBounds.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/StackBounds.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -21,13 +21,8 @@
#include "config.h"
#include <wtf/StackBounds.h>
-#include <mutex>
-#include <wtf/NoTailCalls.h>
-
#if OS(DARWIN)
-#include <mach/task.h>
-#include <mach/thread_act.h>
#include <pthread.h>
#elif OS(WINDOWS)
Modified: trunk/Source/WTF/wtf/ThreadGroup.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/ThreadGroup.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/ThreadGroup.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -26,8 +26,6 @@
#include "config.h"
#include <wtf/ThreadGroup.h>
-#include <wtf/NeverDestroyed.h>
-
namespace WTF {
ThreadGroup::~ThreadGroup()
Modified: trunk/Source/WTF/wtf/Threading.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/Threading.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/Threading.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -26,19 +26,13 @@
#include "config.h"
#include <wtf/Threading.h>
-#include <algorithm>
-#include <cmath>
#include <cstring>
-#include <thread>
#include <wtf/DateMath.h>
#include <wtf/PrintStream.h>
#include <wtf/RandomNumberSeed.h>
#include <wtf/ThreadGroup.h>
-#include <wtf/ThreadMessage.h>
#include <wtf/ThreadingPrimitives.h>
#include <wtf/WTFConfig.h>
-#include <wtf/text/AtomStringTable.h>
-#include <wtf/text/StringView.h>
#include <wtf/threads/Signals.h>
#if HAVE(QOS_CLASSES)
Modified: trunk/Source/WTF/wtf/TimeWithDynamicClockType.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/TimeWithDynamicClockType.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/TimeWithDynamicClockType.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -26,10 +26,8 @@
#include "config.h"
#include <wtf/TimeWithDynamicClockType.h>
-#include <cfloat>
#include <cmath>
#include <wtf/Condition.h>
-#include <wtf/DataLog.h>
#include <wtf/PrintStream.h>
#include <wtf/Lock.h>
Modified: trunk/Source/WTF/wtf/URL.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/URL.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/URL.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -36,7 +36,6 @@
#include <wtf/UUID.h>
#include <wtf/text/CString.h>
#include <wtf/text/StringBuilder.h>
-#include <wtf/text/StringConcatenateNumbers.h>
#include <wtf/text/StringHash.h>
#include <wtf/text/TextStream.h>
Modified: trunk/Source/WTF/wtf/URLParser.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/URLParser.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/URLParser.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -29,7 +29,6 @@
#include <array>
#include <mutex>
#include <unicode/uidna.h>
-#include <unicode/utf8.h>
#include <unicode/utypes.h>
namespace WTF {
Modified: trunk/Source/WTF/wtf/UUID.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/UUID.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/UUID.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -35,7 +35,6 @@
#include <wtf/ASCIICType.h>
#include <wtf/CryptographicallyRandomNumber.h>
#include <wtf/HexNumber.h>
-#include <wtf/text/StringBuilder.h>
#if OS(DARWIN)
#include <sys/sysctl.h>
Modified: trunk/Source/WTF/wtf/UniqueArray.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/UniqueArray.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/UniqueArray.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -26,8 +26,6 @@
#include "config.h"
#include <wtf/UniqueArray.h>
-#include <wtf/NeverDestroyed.h>
-
namespace WTF {
DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(UniqueArray);
Modified: trunk/Source/WTF/wtf/Vector.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/Vector.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/Vector.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -26,8 +26,6 @@
#include "config.h"
#include "Vector.h"
-#include <wtf/NeverDestroyed.h>
-
namespace WTF {
DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(Vector);
Modified: trunk/Source/WTF/wtf/WTFConfig.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/WTFConfig.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/WTFConfig.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -27,7 +27,6 @@
#include <wtf/WTFConfig.h>
#include <wtf/Lock.h>
-#include <wtf/ResourceUsage.h>
#include <wtf/StdLibExtras.h>
#if OS(DARWIN)
Modified: trunk/Source/WTF/wtf/WallTime.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/WallTime.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/WallTime.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -28,7 +28,6 @@
#include <wtf/MonotonicTime.h>
#include <wtf/PrintStream.h>
-#include <wtf/TimeWithDynamicClockType.h>
namespace WTF {
Modified: trunk/Source/WTF/wtf/WordLock.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/WordLock.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/WordLock.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -28,7 +28,6 @@
#include <condition_variable>
#include <mutex>
-#include <thread>
#include <wtf/Threading.h>
namespace WTF {
Modified: trunk/Source/WTF/wtf/WorkQueue.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/WorkQueue.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/WorkQueue.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -36,7 +36,6 @@
#include <wtf/NumberOfCores.h>
#include <wtf/Ref.h>
#include <wtf/Threading.h>
-#include <wtf/text/StringConcatenateNumbers.h>
namespace WTF {
Modified: trunk/Source/WTF/wtf/WorkerPool.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/WorkerPool.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/WorkerPool.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -26,8 +26,6 @@
#include "config.h"
#include <wtf/WorkerPool.h>
-#include <wtf/NeverDestroyed.h>
-
namespace WTF {
class WorkerPool::Worker final : public AutomaticThread {
Modified: trunk/Source/WTF/wtf/generic/WorkQueueGeneric.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/generic/WorkQueueGeneric.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/generic/WorkQueueGeneric.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -30,8 +30,6 @@
#include "config.h"
#include <wtf/WorkQueue.h>
-#include <wtf/WallTime.h>
-#include <wtf/text/WTFString.h>
#include <wtf/threads/BinarySemaphore.h>
void WorkQueue::platformInitialize(const char* name, Type, QOS)
Modified: trunk/Source/WTF/wtf/posix/OSAllocatorPOSIX.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/posix/OSAllocatorPOSIX.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/posix/OSAllocatorPOSIX.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -29,7 +29,7 @@
#include <errno.h>
#include <sys/mman.h>
#include <wtf/Assertions.h>
-#include <wtf/PageAllocation.h>
+#include <wtf/PageBlock.h>
namespace WTF {
Modified: trunk/Source/WTF/wtf/posix/ThreadingPOSIX.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/posix/ThreadingPOSIX.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/posix/ThreadingPOSIX.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -35,11 +35,8 @@
#if USE(PTHREADS)
#include <errno.h>
-#include <wtf/DataLog.h>
#include <wtf/NeverDestroyed.h>
-#include <wtf/RawPointer.h>
#include <wtf/StdLibExtras.h>
-#include <wtf/ThreadGroup.h>
#include <wtf/ThreadingPrimitives.h>
#include <wtf/WordLock.h>
Modified: trunk/Source/WTF/wtf/text/AtomString.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/text/AtomString.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/text/AtomString.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -24,7 +24,6 @@
#include <wtf/text/AtomString.h>
#include <mutex>
-#include <wtf/MainThread.h>
#include <wtf/text/IntegerToStringConversion.h>
#include <wtf/dtoa.h>
Modified: trunk/Source/WTF/wtf/text/AtomStringImpl.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/text/AtomStringImpl.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/text/AtomStringImpl.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -24,13 +24,9 @@
#include "config.h"
#include <wtf/text/AtomStringImpl.h>
-#include <wtf/CommaPrinter.h>
-#include <wtf/DataLog.h>
#include <wtf/HashSet.h>
-#include <wtf/StringPrintStream.h>
#include <wtf/Threading.h>
#include <wtf/text/AtomStringTable.h>
-#include <wtf/text/IntegerToStringConversion.h>
#include <wtf/text/StringHash.h>
#include <wtf/unicode/UTF8Conversion.h>
Modified: trunk/Source/WTF/wtf/text/AtomStringTable.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/text/AtomStringTable.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/text/AtomStringTable.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -24,8 +24,6 @@
#include <wtf/text/AtomStringTable.h>
#include <wtf/HashSet.h>
-#include <wtf/MainThread.h>
-#include <wtf/Threading.h>
namespace WTF {
Modified: trunk/Source/WTF/wtf/text/CString.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/text/CString.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/text/CString.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -29,7 +29,6 @@
#include <string.h>
#include <wtf/CheckedArithmetic.h>
-#include <wtf/NeverDestroyed.h>
#include <wtf/text/StringHasher.h>
namespace WTF {
Modified: trunk/Source/WTF/wtf/text/StringBuffer.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/text/StringBuffer.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/text/StringBuffer.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -26,8 +26,6 @@
#include "config.h"
#include <wtf/text/StringBuffer.h>
-#include <wtf/NeverDestroyed.h>
-
namespace WTF {
DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(StringBuffer);
Modified: trunk/Source/WTF/wtf/text/StringBuilder.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/text/StringBuilder.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/text/StringBuilder.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -28,7 +28,6 @@
#include <wtf/text/StringBuilder.h>
#include <wtf/dtoa.h>
-#include <wtf/MathExtras.h>
namespace WTF {
Modified: trunk/Source/WTF/wtf/text/StringImpl.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/text/StringImpl.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/text/StringImpl.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -25,13 +25,11 @@
#include "config.h"
#include <wtf/text/StringImpl.h>
-#include <wtf/ProcessID.h>
#include <wtf/StdLibExtras.h>
#include <wtf/text/AtomString.h>
#include <wtf/text/CString.h>
#include <wtf/text/ExternalStringImpl.h>
#include <wtf/text/StringBuffer.h>
-#include <wtf/text/StringHash.h>
#include <wtf/text/StringView.h>
#include <wtf/text/SymbolImpl.h>
#include <wtf/text/SymbolRegistry.h>
Modified: trunk/Source/WTF/wtf/text/StringView.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/text/StringView.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/text/StringView.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -27,13 +27,11 @@
#include "config.h"
#include <wtf/text/StringView.h>
-#include <mutex>
#include <unicode/ubrk.h>
#include <unicode/unorm2.h>
#include <wtf/ASCIICType.h>
#include <wtf/HashMap.h>
#include <wtf/Lock.h>
-#include <wtf/NeverDestroyed.h>
#include <wtf/Optional.h>
#include <wtf/text/StringToIntegerConversion.h>
#include <wtf/text/TextBreakIterator.h>
Modified: trunk/Source/WTF/wtf/text/TextBreakIterator.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/text/TextBreakIterator.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/text/TextBreakIterator.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -27,9 +27,7 @@
#include <wtf/text/icu/UTextProviderLatin1.h>
#include <wtf/text/icu/UTextProviderUTF16.h>
#include <atomic>
-#include <mutex>
#include <unicode/ubrk.h>
-#include <wtf/text/StringBuilder.h>
namespace WTF {
Modified: trunk/Source/WTF/wtf/text/TextStream.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/text/TextStream.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/text/TextStream.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -26,7 +26,6 @@
#include "config.h"
#include <wtf/text/TextStream.h>
-#include <wtf/MathExtras.h>
#include <wtf/text/WTFString.h>
namespace WTF {
Modified: trunk/Source/WTF/wtf/text/WTFString.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/text/WTFString.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/text/WTFString.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -22,11 +22,9 @@
#include "config.h"
#include <wtf/text/WTFString.h>
-#include <stdarg.h>
#include <wtf/ASCIICType.h>
#include <wtf/DataLog.h>
#include <wtf/HexNumber.h>
-#include <wtf/MathExtras.h>
#include <wtf/NeverDestroyed.h>
#include <wtf/Vector.h>
#include <wtf/dtoa.h>
Modified: trunk/Source/WTF/wtf/threads/Signals.cpp (261660 => 261661)
--- trunk/Source/WTF/wtf/threads/Signals.cpp 2020-05-13 22:07:34 UTC (rev 261660)
+++ trunk/Source/WTF/wtf/threads/Signals.cpp 2020-05-13 22:33:20 UTC (rev 261661)
@@ -46,10 +46,8 @@
#include <wtf/Atomics.h>
#include <wtf/DataLog.h>
-#include <wtf/LocklessBag.h>
#include <wtf/NeverDestroyed.h>
#include <wtf/ThreadGroup.h>
-#include <wtf/ThreadMessage.h>
#include <wtf/Threading.h>
#include <wtf/WTFConfig.h>