machine code reuse in JavaScript VM's

176 Views Asked by At

Current JavaScript VMs run a JIT compiler, which compiles the JS source code at runtime. The compilation overhead is typically on critical path, although it is possible to do the compilation in parallel. My question is: What are the difficulties of reusing generated machine code across executions? I can think of type difference due to different inputs, etc.

0

There are 0 best solutions below