Invention Grant
- Patent Title: Dynamic compiling for conditional statements during execution
-
Application No.: US16668531Application Date: 2019-10-30
-
Publication No.: US11061653B2Publication Date: 2021-07-13
- Inventor: Wu Song Fang , Li Xiang , Yuan Li , Ren Fu Ma
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agent Christopher M. Pignato
- Main IPC: G06F8/41
- IPC: G06F8/41 ; G06F9/30

Abstract:
Implementations of the present disclosure relate a method, system and computer program products that dynamically compile conditional statements. According to the method, a first number of times that a first conditional statement of a plurality of conditional statements has been satisfied during execution of the plurality of conditional statements for a time period is obtained, wherein the plurality of conditional statements are compiled in a first order during the execution. Based on the first number of times and the first order, a determination is made whether the plurality of conditional statements are to be reordered. In response to a determination that the plurality of conditional statements are to be reordered, a second order of the plurality of conditional statements is determined, wherein the second order being different from the first order. The plurality of conditional statements are then compiled in the second order.
Public/Granted literature
- US20210132923A1 DYNAMIC COMPILING FOR CONDITIONAL STATEMENTS Public/Granted day:2021-05-06
Information query