Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7e5d9f982d7b5956f0578a140af4b4b3ec371cfd
      
https://github.com/WebKit/WebKit/commit/7e5d9f982d7b5956f0578a140af4b4b3ec371cfd
  Author: Yusuke Suzuki <[email protected]>
  Date:   2026-04-20 (Mon, 20 Apr 2026)

  Changed paths:
    M Source/JavaScriptCore/runtime/IntlNumberFormat.cpp
    M Source/JavaScriptCore/runtime/IntlNumberFormat.h
    M Source/JavaScriptCore/runtime/IntlPluralRules.cpp

  Log Message:
  -----------
  [JSC] Report external memory allocation in Intl.NumberFormat / 
Intl.PluralRules
https://bugs.webkit.org/show_bug.cgi?id=312758
rdar://175148887

Reviewed by Mark Lam.

This patch adds GC external memory reporting mechanism to Intl.NumberFormat
/ Intl.PluralRules. The estimated numbers are empirically obtained by
simple C program & footprint command.

* Source/JavaScriptCore/runtime/IntlNumberFormat.cpp:
(JSC::IntlNumberFormat::visitChildrenImpl):
(JSC::IntlNumberFormat::initializeNumberFormat):
(JSC::IntlNumberFormat::createNumberRangeFormatterIfNecessary):
* Source/JavaScriptCore/runtime/IntlNumberFormat.h:
* Source/JavaScriptCore/runtime/IntlPluralRules.cpp:
(JSC::IntlPluralRules::visitChildrenImpl):
(JSC::IntlPluralRules::initializePluralRules):

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



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

Reply via email to