Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1e0aabf642efe4174336677ba0807da3bc224983
      
https://github.com/WebKit/WebKit/commit/1e0aabf642efe4174336677ba0807da3bc224983
  Author: Keith Miller <[email protected]>
  Date:   2025-11-14 (Fri, 14 Nov 2025)

  Changed paths:
    M Source/JavaScriptCore/heap/HeapSnapshotBuilder.cpp
    M Source/JavaScriptCore/heap/HeapSnapshotBuilder.h
    M Source/JavaScriptCore/inspector/agents/InspectorHeapAgent.cpp
    M Source/JavaScriptCore/inspector/agents/InspectorHeapAgent.h
    M Source/JavaScriptCore/jsc.cpp
    M Source/JavaScriptCore/tools/JSDollarVM.cpp
    M Source/WTF/wtf/PrintStream.cpp
    M Source/WTF/wtf/PrintStream.h
    M Source/WebCore/inspector/agents/page/PageHeapAgent.cpp
    M Source/WebCore/inspector/agents/page/PageHeapAgent.h

  Log Message:
  -----------
  HeapSnapshotBuilder should support printing directly to a PrintStream
https://bugs.webkit.org/show_bug.cgi?id=302397
rdar://164555302

Reviewed by Mark Lam.

Adds support for writing directly to a file descriptor (or I guess os_log
but good luck) via PrintStream. This is helpful when trying to understand
the heap near a jetsam limit on iOS.

Also, fixes a longstanding issue where character literals would print
as a integral rather than ASCII. Since `char`, `signed char`, and
`unsigned char` are all different types in C++, I think adding an
extra overload for `char` should "just work" as it's poor style to use
something other than `int8_t`/`uint8_t` for one byte integral values
in WebKit at this point.

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



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

Reply via email to