[webkit-changes] [WebKit/WebKit] 3fbaad: Add support for dumping GC heap snapshots of Workers

Sihui noreply at github.com
Fri Feb 23 09:07:03 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3fbaadfcd9305751f242411149c68dfd2f4c1ed9
      https://github.com/WebKit/WebKit/commit/3fbaadfcd9305751f242411149c68dfd2f4c1ed9
  Author: Sihui Liu <sihui_liu at apple.com>
  Date:   2024-02-23 (Fri, 23 Feb 2024)

  Changed paths:
    M Source/WebCore/bindings/js/GCController.cpp
    M Source/WebCore/bindings/js/GCController.h
    M Source/WebCore/workers/WorkerGlobalScope.cpp
    M Source/WebCore/workers/WorkerGlobalScope.h

  Log Message:
  -----------
  Add support for dumping GC heap snapshots of Workers
https://bugs.webkit.org/show_bug.cgi?id=269853
rdar://123390121

Reviewed by Simon Fraser.

This will help us understand memory usuage for Workers.

* Source/WebCore/bindings/js/GCController.cpp:
(WebCore::GCController::dumpHeapForVM):
(WebCore::GCController::dumpHeap):
* Source/WebCore/bindings/js/GCController.h:
* Source/WebCore/workers/WorkerGlobalScope.cpp:
(WebCore::WorkerGlobalScope::dumpGCHeapForWorkers):
* Source/WebCore/workers/WorkerGlobalScope.h:

Canonical link: https://commits.webkit.org/275242@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