Title: [251268] trunk/Source/bmalloc
Revision
251268
Author
[email protected]
Date
2019-10-17 17:02:10 -0700 (Thu, 17 Oct 2019)

Log Message

[bmalloc] Bug fix for wait time when it's in mini mode.
https://bugs.webkit.org/show_bug.cgi?id=203121

Reviewed by Yusuke Suzuki.

Since r243144, m_waitTime is never changed on mini mode.

* bmalloc/Scavenger.cpp:
(bmalloc::Scavenger::threadRunLoop):

Modified Paths

Diff

Modified: trunk/Source/bmalloc/ChangeLog (251267 => 251268)


--- trunk/Source/bmalloc/ChangeLog	2019-10-17 23:42:09 UTC (rev 251267)
+++ trunk/Source/bmalloc/ChangeLog	2019-10-18 00:02:10 UTC (rev 251268)
@@ -1,3 +1,15 @@
+2019-10-17  Basuke Suzuki  <[email protected]>
+
+        [bmalloc] Bug fix for wait time when it's in mini mode.
+        https://bugs.webkit.org/show_bug.cgi?id=203121
+
+        Reviewed by Yusuke Suzuki.
+
+        Since r243144, m_waitTime is never changed on mini mode.
+
+        * bmalloc/Scavenger.cpp:
+        (bmalloc::Scavenger::threadRunLoop):
+
 2019-10-07  Wenson Hsieh  <[email protected]>
 
         Add a missing #include in DeferredTriggerInlines.h

Modified: trunk/Source/bmalloc/bmalloc/Scavenger.cpp (251267 => 251268)


--- trunk/Source/bmalloc/bmalloc/Scavenger.cpp	2019-10-17 23:42:09 UTC (rev 251267)
+++ trunk/Source/bmalloc/bmalloc/Scavenger.cpp	2019-10-18 00:02:10 UTC (rev 251268)
@@ -500,7 +500,7 @@
         if (m_isInMiniMode) {
             timeSpentScavenging *= 50;
             newWaitTime = std::chrono::duration_cast<std::chrono::milliseconds>(timeSpentScavenging);
-            newWaitTime = std::min(std::max(newWaitTime, std::chrono::milliseconds(25)), std::chrono::milliseconds(500));
+            m_waitTime = std::min(std::max(newWaitTime, std::chrono::milliseconds(25)), std::chrono::milliseconds(500));
         } else {
             timeSpentScavenging *= 150;
             newWaitTime = std::chrono::duration_cast<std::chrono::milliseconds>(timeSpentScavenging);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to