Bug 173884 - Every function return should be an invalidation point for VMTraps
Summary: Every function return should be an invalidation point for VMTraps
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-27 12:43 PDT by Keith Miller
Modified: 2017-06-27 12:44 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Miller 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();
...
}