- 专利标题: Composite-trace just-in-time compilation
-
申请号: US16218375申请日: 2018-12-12
-
公开(公告)号: US10929160B1公开(公告)日: 2021-02-23
- 发明人: Nikolay Mateev , Ayon Basumallik , Aaditya Kalsi , Prabhakar Kumar
- 申请人: The MathWorks, Inc.
- 申请人地址: US MA Natick
- 专利权人: The MathWorks, Inc.
- 当前专利权人: The MathWorks, Inc.
- 当前专利权人地址: US MA Natick
- 代理机构: Wolf, Greenfield & Sacks, P.C.
- 主分类号: G06F9/455
- IPC分类号: G06F9/455 ; G06F11/36 ; G06F8/41
摘要:
Systems and methods for just-in-time compilation are disclosed. The systems and methods can be used to generate composite blocks, reducing program execution time. The systems and methods can include generating single-trace blocks during program execution. Upon satisfaction of a trigger criterion, single-trace blocks can be selected for compilation into a composite block. The trigger criterion can be a number of executions of a trigger block. Selecting the single-trace blocks can include identifying blocks reachable from the trigger block, selecting a subset of the reachable blocks, and selecting an entry point for the composite block. The composite block can be generated from the single-trace blocks and incorporated into the program control flow, such that the composite block is executed in place of the selected single-trace blocks.
信息查询