Skip to main content

Optimization CompilerJS Compiler to recompile more optimized Machine Code via simplify assumption made by Monitor

aka Optimizing-Compiler

Monitor

JS Optimization Compiler component to analyse warm/hot Code & Type

Optimization Compiler Simplify shape for Objects

Deoptimization

(process) to discard wrong assumptions for code optimization

Type Specialization - move type checks before loops

Polymorphic

Code call with different Type & gets Stub for each combo

Monomorphic

Code always call with same Type, gets one Stub

References

  1. MonitorJS Optimization Compiler component to analyse warm/hot Code & Type

  2. Optimisation ↔ (process) Optimization Compiler recompiles Code in background during Execution

  3. JS CompilerProgram to transform JS Code, consists of Baseline Compiler, Optimization Compiler & Monitor