Title: [248118] trunk/Source/WTF
- Revision
- 248118
- Author
- pvol...@apple.com
- Date
- 2019-08-01 12:43:10 -0700 (Thu, 01 Aug 2019)
Log Message
Initialize memory pressure flag in MemoryPressureHandler
https://bugs.webkit.org/show_bug.cgi?id=200353
Reviewed by Geoffrey Garen.
The flag 'm_underMemoryPressure' in MemoryPressureHandler should be initialized to 'false'.
* wtf/MemoryPressureHandler.h:
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (248117 => 248118)
--- trunk/Source/WTF/ChangeLog 2019-08-01 19:43:02 UTC (rev 248117)
+++ trunk/Source/WTF/ChangeLog 2019-08-01 19:43:10 UTC (rev 248118)
@@ -1,3 +1,14 @@
+2019-08-01 Per Arne Vollan <pvol...@apple.com>
+
+ Initialize memory pressure flag in MemoryPressureHandler
+ https://bugs.webkit.org/show_bug.cgi?id=200353
+
+ Reviewed by Geoffrey Garen.
+
+ The flag 'm_underMemoryPressure' in MemoryPressureHandler should be initialized to 'false'.
+
+ * wtf/MemoryPressureHandler.h:
+
2019-08-01 Chris Dumez <cdu...@apple.com>
Add threading assertion to WeakPtr's operator->()
Modified: trunk/Source/WTF/wtf/MemoryPressureHandler.h (248117 => 248118)
--- trunk/Source/WTF/wtf/MemoryPressureHandler.h 2019-08-01 19:43:02 UTC (rev 248117)
+++ trunk/Source/WTF/wtf/MemoryPressureHandler.h 2019-08-01 19:43:10 UTC (rev 248118)
@@ -179,7 +179,7 @@
LowMemoryHandler m_lowMemoryHandler;
- std::atomic<bool> m_underMemoryPressure;
+ std::atomic<bool> m_underMemoryPressure { false };
bool m_installed { false };
bool m_isSimulatingMemoryPressure { false };
bool m_shouldLogMemoryMemoryPressureEvents { true };
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes