⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 230553 in webkit


Ignore:
Timestamp:
Apr 11, 2018, 7:44:06 PM (9 years ago)
Author:
sbarati@apple.com
Message:

raise partial scavenge interval on x86-64
​https://bugs.webkit.org/show_bug.cgi?id=184521

Rubber-stamped by Filip Pizlo.

This patch is an attempt to recover the 1-3% JetStream regression
my initial partial scavenging patch introduced on some Macs.

  • bmalloc/Scavenger.cpp:

(bmalloc::Scavenger::threadRunLoop):

Location:
trunk/Source/bmalloc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/bmalloc/ChangeLog

    r230515 r230553  
     12018-04-11  Saam Barati  <sbarati@apple.com>
     2
     3        raise partial scavenge interval on x86-64
     4        https://bugs.webkit.org/show_bug.cgi?id=184521
     5
     6        Rubber-stamped by Filip Pizlo.
     7
     8        This patch is an attempt to recover the 1-3% JetStream regression
     9        my initial partial scavenging patch introduced on some Macs.
     10
     11        * bmalloc/Scavenger.cpp:
     12        (bmalloc::Scavenger::threadRunLoop):
     13
    1142018-04-10  Saam Barati  <sbarati@apple.com>
    215
  • trunk/Source/bmalloc/bmalloc/Scavenger.cpp

    r230501 r230553  
    408408            }
    409409
    410             if (timeSinceLastScavenge < std::chrono::milliseconds(8000)) {
     410#if BCPU(X86_64)
     411            auto partialScavengeInterval = std::chrono::milliseconds(20000);
     412#else
     413            auto partialScavengeInterval = std::chrono::milliseconds(8000);
     414#endif
     415            if (timeSinceLastScavenge < partialScavengeInterval) {
    411416                // Rate limit partial scavenges.
    412417                return ScavengeMode::None;
Note: See TracChangeset for help on using the changeset viewer.