[Webkit-unassigned] [Bug 144011] New: Give the heap object iterators the ability to return early.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Apr 21 14:15:42 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=144011
Bug ID: 144011
Summary: Give the heap object iterators the ability to return
early.
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mark.lam at apple.com
JSDollarVMPrototype::isValidCell() uses a heap object iterator to validate candidate cell pointers, and, when in use, is called a lot more often than the normal way those iterators are used. As a result, I see my instrumented VM killed with a SIGXCPU (CPU time limit exceeded). This patch gives the callback functor the ability to tell the iterators to return early when the functor no longer needs to continue iterating. With this, my instrumented VM is useful again for debugging.
Since heap iteration is not something that we do in a typical fast path, I donât expect this to have any noticeable impact on performance.
--
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/20150421/058f6a07/attachment-0001.html>
More information about the webkit-unassigned
mailing list