Re:Speculation in JavaScriptCore
by jashmatthews on Wednesday July 29, 2020 @10:43PM
(#23993941)
There’s no tracing in either JägerMonkey or IonMonkey. That’s just a confusing statement about the similarity of speculation guards and OSR exits to trace guards and side exits. For a while TraceMonkey was used as a higher tier above JägerMonkey which might be what you’re thinking of?
I don’t work for Mozilla but spent a ton of time studying TraceMonkey for building my own tracing JIT.
https://hacks.mozilla.org/2010/03/improving-javascript-perfo...
EDIT: It looks like a couple trace-like techniques are still used in IonMonkey (maybe the devs have some input there though).
https://wiki.mozilla.org/IonMonkey/Overview#Modus_Operandi