[Webkit-unassigned] [Bug 256085] New: [Memory] Re-order FontSizeAdjust members to remove some padding

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 28 03:18:36 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=256085

            Bug ID: 256085
           Summary: [Memory] Re-order FontSizeAdjust members to remove
                    some padding
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: m_dubet at apple.com

Current layout is:

  +0 < 12> WebCore::FontSizeAdjust
  +0 <  1>   WebCore::FontSizeAdjust::Metric metric
  +1 <  3>   <PADDING: 3 bytes>
  +4 <  4>     WTF::Markable<float, WebCore::FloatMarkableTraits> value
  +4 <  4>       float m_value
  +8 <  1>   bool isFromFont
  +9 <  3>   <PADDING: 3 bytes>
Total byte size: 12
Total pad bytes: 6
Padding percentage: 50.00 %

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230428/0f85aeac/attachment.htm>


More information about the webkit-unassigned mailing list