Invention Grant
- Patent Title: Optimized recompilation using hardware tracing
-
Application No.: US16672319Application Date: 2019-11-01
-
Publication No.: US11347617B2Publication Date: 2022-05-31
- Inventor: Ilknur Cansu Kaynak Kocberber , Mario Wolczko , Thomas Wuerthinger
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood City
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood City
- Agency: Kowert, Hood, Munyon, Rankin & Goetzel, P.C.
- Agent Robert C. Kowert
- Main IPC: G06F11/34
- IPC: G06F11/34 ; G06F8/41

Abstract:
A tracing controller may utilize a binary execution trace mechanism to trace execution of compiled application machine code. The tracing controller may initiate hardware tracing to gather control-flow hardware traces of a method executing on a processor configured to generate hardware tracing information. The controller may generate a profile based on the hardware tracing information and initiate re-compiling or re-optimizing of the method in response to determining that the new profile differs from the previous profile. The controller may repeatedly profile and re-optimize a method until profiles for the method stabilize. Profiling and hardware tracing of an application may be selectively enabled or disabled allowing the controller to respond to later phase changes in application execution by re-optimizing, thereby potentially improving overall application performance.
Public/Granted literature
- US20200065079A1 OPTIMIZED RECOMPILATION USING HARDWARE TRACING Public/Granted day:2020-02-27
Information query