[webkit-changes] [WebKit/WebKit] 740dbe: [JSC] Remove explicit memory shrink at incremental...

Yusuke Suzuki noreply at github.com
Sun Dec 22 08:39:56 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 740dbe11bd403320976619217a5643dcfe22d338
      https://github.com/WebKit/WebKit/commit/740dbe11bd403320976619217a5643dcfe22d338
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2024-12-22 (Sun, 22 Dec 2024)

  Changed paths:
    M Source/JavaScriptCore/heap/IncrementalSweeper.cpp
    M Source/JavaScriptCore/heap/IncrementalSweeper.h

  Log Message:
  -----------
  [JSC] Remove explicit memory shrink at incremental sweeper end
https://bugs.webkit.org/show_bug.cgi?id=285073
rdar://141886889

Reviewed by Keith Miller and Justin Michaud.

This is not showing any memory benefit since libpas scavenger runs well
reliably and collect memory anyway. Rather, these explicit running could
cause inefficient memory collection even we would like to use some of
memory just after this. Let's not do this explicit collection and let
libpas scavenger to decide.

* Source/JavaScriptCore/heap/IncrementalSweeper.cpp:
(JSC::IncrementalSweeper::doSweep):

Canonical link: https://commits.webkit.org/288229@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list