<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GLIB] Implement garbage collector timers"
   href="https://bugs.webkit.org/show_bug.cgi?id=151391#c12">Comment # 12</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GLIB] Implement garbage collector timers"
   href="https://bugs.webkit.org/show_bug.cgi?id=151391">bug 151391</a>
              from <span class="vcard"><a class="email" href="mailto:zan&#64;falconsigh.net" title="Zan Dobersek &lt;zan&#64;falconsigh.net&gt;"> <span class="fn">Zan Dobersek</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=265749&amp;action=diff" name="attach_265749" title="Patch">attachment 265749</a> <a href="attachment.cgi?id=265749&amp;action=edit" title="Patch">[details]</a></span>
Patch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=265749&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=265749&amp;action=review</a>

As the next step, WebCore::GCController should be updated so that PLATFORM(GTK) matches USE(CF), primarily to move the GCController's timer away from MainThreadSharedTimer.

<span class="quote">&gt; Source/JavaScriptCore/heap/HeapTimer.cpp:171
&gt; +        static_cast&lt;HeapTimer*&gt;(userData)-&gt;timerDidFire();</span >

What do you think of just writing out ::timerDidFire() in this lambda?

<span class="quote">&gt; Source/JavaScriptCore/heap/IncrementalSweeper.cpp:75
&gt; +    g_source_set_ready_time(m_timer.get(), g_get_monotonic_time() + (sweepTimeSlice * sweepTimeMultiplier));</span >

You're adding 0.1 seconds to g_get_monotonic_time(), which returns microseconds.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>