[Webkit-unassigned] [Bug 187455] Can we make WebCore::Timer more space-efficient?
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jul 8 19:27:38 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=187455
--- Comment #1 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
Here's the full layout:
4$ $ ./Tools/Scripts/dump-class-layout -c Release WebCore Timer
+0 < 72> Timer
+0 < 64> WebCore::TimerBase WebCore::TimerBase
+0 < 8> __vtbl_ptr_type * _vptr
+8 < 8> WTF::MonotonicTime m_nextFireTime
+8 < 8> double m_value
+16 < 8> WTF::MonotonicTime m_unalignedNextFireTime
+16 < 8> double m_value
+24 < 8> WTF::Seconds m_repeatInterval
+24 < 8> double m_value
+32 < 4> int m_heapIndex
+36 < 4> unsigned int m_heapInsertionOrder
+40 < 1> bool m_wasDeleted
+41 < 7> <PADDING: 7 bytes>
+48 < 8> WTF::Vector<WebCore::TimerBase *, 0, WTF::CrashOnOverflow, 16> * m_cachedThreadGlobalTimerHeap
+56 < 8> WTF::Ref<WTF::Thread, WTF::DumbPtrTraits<WTF::Thread> > m_thread
+56 < 8> WTF::DumbPtrTraits<WTF::Thread>::StorageType m_ptr
+64 < 8> WTF::Function<void ()> m_function
+64 < 8> std::__1::unique_ptr<WTF::Function<void ()>::CallableWrapperBase, std::__1::default_delete<WTF::Function<void ()>::CallableWrapperBase> > m_callableWrapper
+64 < 8> std::__1::__compressed_pair<WTF::Function<void ()>::CallableWrapperBase *, std::__1::default_delete<WTF::Function<void ()>::CallableWrapperBase> > __ptr_
+64 < 8> std::__1::__compressed_pair_elem<WTF::Function<void ()>::CallableWrapperBase *, 0, false> std::__1::__compressed_pair_elem<WTF::Function<void ()>::CallableWrapperBase *, 0, false>
+64 < 8> WTF::Function<void ()>::CallableWrapperBase * __value_
+64 < 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>
+64 < 1> std::__1::default_delete<WTF::Function<void ()>::CallableWrapperBase> std::__1::default_delete<WTF::Function<void ()>::CallableWrapperBase>
Total byte size: 72
Total pad bytes: 7
Padding percentage: 9.72 %
--
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/20180709/498e759c/attachment.html>
More information about the webkit-unassigned
mailing list