[webkit-changes] [WebKit/WebKit] e60034: Optimize layout of AbortSignal to reduce padding

Simon Fraser noreply at github.com
Mon Feb 6 09:19:39 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e60034e6433d21ecd489d953d3be2298f38a24ea
      https://github.com/WebKit/WebKit/commit/e60034e6433d21ecd489d953d3be2298f38a24ea
  Author: Simon Fraser <simon.fraser at apple.com>
  Date:   2023-02-06 (Mon, 06 Feb 2023)

  Changed paths:
    M Source/WebCore/dom/AbortSignal.cpp
    M Source/WebCore/dom/AbortSignal.h

  Log Message:
  -----------
  Optimize layout of AbortSignal to reduce padding
https://bugs.webkit.org/show_bug.cgi?id=251749
<rdar://problem/105048992>

Reviewed by Darin Adler.

Reorder data members to shrink the size from 112 to 96 bytes.

* Source/WebCore/dom/AbortSignal.cpp:
(WebCore::AbortSignal::AbortSignal):
* Source/WebCore/dom/AbortSignal.h:

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




More information about the webkit-changes mailing list