Unifying static and dynamic compiler optimizations in source-code bases
AssigneeOracle International Corporation
InventorsHassan Chafi, Mason Chang, Eric Sedlar
Life of this patent
Estimating the term…
Loading patent…
AssigneeOracle International Corporation
InventorsHassan Chafi, Mason Chang, Eric Sedlar
Estimating the term…
Techniques are described for unifying static and dynamic compiler optimizations in source code bases. In an embodiment, a first compiler compiles source code of a target function to generate ahead-of-time (AOT) compiled machine code. A second compiler compiles the source code to generate an intermediate representation (IR) of the target function. In response to determining that the target function should be just-in-time (JIT) compiled, the AOT-compiled machine code for the target function is linked to the IR of the target function. During runtime, a physical processor executes AOT-compiled machine code of an executable program. When the target function is encountered for the first time, a JIT compiler is invoked. The JIT compiler generates JIT-compiled machine code for the target function. The physical processor executes the JIT-compiled machine code in place of the AOT-compiled machine code for the target function.
A method comprising:
One or more non-transitory computer-readable media storing instructions, which, when executed by one or more processors, cause one or more computing devices to perform operations comprising:
Dependencies are inferred from the claim text.