JavaScript:SpiderMonkey:Context Threading: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== Warning == | |||
This project-stub is probably obsolete in view of [[JavaScript:ActionMonkey]]. | |||
== Blurb == | |||
[http://citeseer.ist.psu.edu/berndl05context.html Context threading] is an interpreter implementation technique that aligns the interpreter's virtual PC with the real PC, to optimize branch prediction. SpiderMonkey needs it. Challenges: | [http://citeseer.ist.psu.edu/berndl05context.html Context threading] is an interpreter implementation technique that aligns the interpreter's virtual PC with the real PC, to optimize branch prediction. SpiderMonkey needs it. Challenges: | ||
Revision as of 22:31, 20 June 2007
Warning
This project-stub is probably obsolete in view of JavaScript:ActionMonkey.
Blurb
Context threading is an interpreter implementation technique that aligns the interpreter's virtual PC with the real PC, to optimize branch prediction. SpiderMonkey needs it. Challenges:
- Preserving the SpiderMonkey Debugger API.
- Preserving the JS_SetBranchCallback API.
- Recoding bytecodes as necessary to improve icache utilization.
- Dealing with
goto out;
and any other such jumps in the interpreter.