[Webkit-unassigned] [Bug 25832] New: Refactor JIT code-handle objects.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 16 00:32:12 PDT 2009


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

           Summary: Refactor JIT code-handle objects.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: barraclough at apple.com


The representation of generated code is currently a bit ofa mess.  We have a
class JITCode which wraps the pointer to a block of generated code, but this
object does not reference the executable pool meaning that external events (the
pool being derefed) could make the pointer become invalid.  To overcome this
both the JIT and Yarr implement further (and similar) objects to wrap teh code
pointer with a RefPtr to the pool.  To add to the mire, as well as the
CodeBlock containing a handle onto the code the FunctionBodyNode also contains
a copy of the code pointer which is used almost (but not entirely) uniquely to
access the JIT code for a function.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list