[webkit-changes] [WebKit/WebKit] b6454a: Use system malloc when lite MallocStackLogging is ...

bnham noreply at github.com
Mon May 15 09:24:57 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b6454a5cd58f928df130dfecc1627dc60f3023ab
      https://github.com/WebKit/WebKit/commit/b6454a5cd58f928df130dfecc1627dc60f3023ab
  Author: Ben Nham <nham at apple.com>
  Date:   2023-05-15 (Mon, 15 May 2023)

  Changed paths:
    M Source/bmalloc/bmalloc/Environment.cpp

  Log Message:
  -----------
  Use system malloc when lite MallocStackLogging is enabled
https://bugs.webkit.org/show_bug.cgi?id=256675
rdar://109233872

Reviewed by Yusuke Suzuki.

In 255601 at main we added support for MallocStackLogging in libpas. This seems to work when full logging is enabled, but not when lite logging is enabled (rdar://109283870).

To work around this, force using system malloc when lite logging is enabled.

* Source/bmalloc/bmalloc/Environment.cpp:
(bmalloc::isWebKitMallocForceEnabled):
(bmalloc::isMallocEnvironmentVariableImplyingSystemMallocSet):
(bmalloc::Environment::computeIsDebugHeapEnabled):

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




More information about the webkit-changes mailing list