JavaScript:SpiderMonkey:Context Threading

From MozillaWiki
Revision as of 03:02, 10 January 2006 by Brendan (talk | contribs)
Jump to navigation Jump to search

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.
  • Recoding bytecodes as necessary to improve icache utilization.
  • Dealing with goto out; and other such jumps in the interpreter.

/be