[Webkit-unassigned] [Bug 151391] [GLIB] Implement garbage collector timers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 26 02:03:17 PST 2015


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

--- Comment #16 from Zan Dobersek <zan at falconsigh.net> ---
Comment on attachment 266086
  --> https://bugs.webkit.org/attachment.cgi?id=266086
Updated patch

View in context: https://bugs.webkit.org/attachment.cgi?id=266086&action=review

> Source/JavaScriptCore/heap/GCActivityCallback.cpp:125
> +void GCActivityCallback::scheduleTimer(double newDelay)

This method should assert that the passed-in delay is positive or zero.

> Source/JavaScriptCore/heap/IncrementalSweeper.cpp:77
> +    gint64 targetTime = currentTime + std::min<gint64>(G_MAXINT64 - currentTime, delayDuration.count());

You still need to cast the duration to microseconds.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151126/356c08a0/attachment.html>


More information about the webkit-unassigned mailing list