[Webkit-unassigned] [Bug 154808] NewRegexp should not prevent inlining

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 23 15:40:26 PDT 2016


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

--- Comment #11 from Caio Lima <ticaiolima at gmail.com> ---
(In reply to comment #10)
> 
> There's a lot of logic there:
> 
> - Freezing causes the resulting CodeBlock to have either a strong or weak
> reference to the frozen object, depending on whether you froze it strongly
> or weakly.
> 
> - Freezing immediately causes the ongoing DFG compilation plan to track the
> reference if a GC happens while the compiler is running.  The GC knows how
> to safepoint the compiler.  This means that from the compiler's standpoint,
> GCs can only happen at well-defined points: either before the compiler
> started, during B3 compilation, or after the compiler finished.
> 
> There are a lot of other details; I can't remember all of them off the top
> of my head.  The short version is just: we already use freezing a lot, and
> it's designed exactly for what you want: you have some object that the
> generated code will refer to and you want to make sure that this object gets
> marked.


Thank You so much.

-- 
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/20160823/33d908e4/attachment.html>


More information about the webkit-unassigned mailing list