[Webkit-unassigned] [Bug 194196] New: Most classes that user Timer have 7 bytes of padding after the Timer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 2 14:33:19 PST 2019


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

            Bug ID: 194196
           Summary: Most classes that user Timer have 7 bytes of padding
                    after the Timer
           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: simon.fraser at apple.com

After Timer clients now get lots of padding:

+984 <184>     WebCore::FrameViewLayoutContext m_layoutContext
+984 <  8>       WebCore::FrameView & m_frameView
+992 < 56>         WebCore::Timer m_layoutTimer
+992 < 48>             WebCore::TimerBase WebCore::TimerBase
+992 <  8>                __vtbl_ptr_type * _vptr
+1000 <  8>                 WTF::MonotonicTime m_unalignedNextFireTime
+1000 <  8>                   double m_value
+1008 <  8>                 WTF::Seconds m_repeatInterval
+1008 <  8>                   double m_value
+1016 <  1>               bool m_wasDeleted
+1017 <  7>               <PADDING: 7 bytes>          <-------------------- padding
+1024 <  8>                 WTF::RefPtr<WebCore::ThreadTimerHeapItem, WTF::DumbPtrTraits<WebCore::ThreadTimerHeapItem> > m_heapItem
+1024 <  8>                   WTF::DumbPtrTraits<WebCore::ThreadTimerHeapItem>::StorageType m_ptr
+1032 <  8>                 WTF::Ref<WTF::Thread, WTF::DumbPtrTraits<WTF::Thread> > m_thread
+1032 <  8>                   WTF::DumbPtrTraits<WTF::Thread>::StorageType m_ptr
+1040 <  8>             WTF::Function<void ()> m_function
+1040 <  8>                 std::__1::unique_ptr<WTF::Function<void ()>::CallableWrapperBase, std::__1::default_delete<WTF::Function<void ()>::CallableWrapperBase> > m_callableWrapper
+1040 <  8>                     std::__1::__compressed_pair<WTF::Function<void ()>::CallableWrapperBase *, std::__1::default_delete<WTF::Function<void ()>::CallableWrapperBase> > __ptr_
+1040 <  8>                         std::__1::__compressed_pair_elem<WTF::Function<void ()>::CallableWrapperBase *, 0, false> std::__1::__compressed_pair_elem<WTF::Function<void ()>::CallableWrapperBase *, 0, false>
+1040 <  8>                           WTF::Function<void ()>::CallableWrapperBase * __value_
+1040 <  1>                         std::__1::__compressed_pair_elem<std::__1::default_delete<WTF::Function<void ()>::CallableWrapperBase>, 1, true> std::__1::__compressed_pair_elem<std::__1::default_delete<WTF::Function<void ()>::CallableWrapperBase>, 1, true>
+1040 <  1>                             std::__1::default_delete<WTF::Function<void ()>::CallableWrapperBase> std::__1::default_delete<WTF::Function<void ()>::CallableWrapperBase>
+1048 < 56>         WebCore::Timer m_asynchronousTasksTimer
+1048 < 48>             WebCore::TimerBase WebCore::TimerBase
+1048 <  8>                __vtbl_ptr_type * _vptr
+1056 <  8>                 WTF::MonotonicTime m_unalignedNextFireTime
+1056 <  8>                   double m_value
+1064 <  8>                 WTF::Seconds m_repeatInterval
+1064 <  8>                   double m_value
+1072 <  1>               bool m_wasDeleted
+1073 <  7>               <PADDING: 7 bytes>          <-------------------- padding
+1080 <  8>                 WTF::RefPtr<WebCore::ThreadTimerHeapItem, WTF::DumbPtrTraits<WebCore::ThreadTimerHeapItem> > m_heapItem
...

-- 
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/20190202/4da17b71/attachment.html>


More information about the webkit-unassigned mailing list