Bug 173884

Summary: Every function return should be an invalidation point for VMTraps
Product: WebKit Reporter: Keith Miller <keith_miller>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: keith_miller, mark.lam
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Keith Miller
Reported 2017-06-27 12:43:59 PDT
We want this as an optimization for VMTraps where we have the following problem: DFG code, A, calls 1000 unique functions (also in DFG) in a loop that each take a long time to run. We insert traps in each of the unique calls but they never fire because we return to A, which calls the next function. i.e. A() { B(); C(); D(); E(); ... }
Attachments
Note You need to log in before you can comment on or make changes to this bug.