Hybrid Deoptimization Mechanism for Class Hierarchy Analysis

    公开(公告)号:US20180060048A1

    公开(公告)日:2018-03-01

    申请号:US15407186

    申请日:2017-01-16

    Applicant: Google Inc.

    CPC classification number: G06F8/443 G06F8/42 G06F9/449 G06F9/4552 G06F9/45525

    Abstract: Apparatus and methods related to compiling software are provided. A computing device can receive software having software-associated instructions for compilation into machine-language instructions. The computing device can perform a class hierarchy analysis to determine a class hierarchy for the software. The computing device can determine whether a particular method call is to be checked for execution as a virtual method call based on the class hierarchy. The computing device can, after determining that the particular method call is to be checked, determine particular machine-language instructions that can include: guarding machine-language instructions for checking a runtime-modifiable deoptimization indicator to determine whether the particular method call is to be executed as a virtual method call, and method-call machine-language instructions for the particular method call. The computing device can provide the particular machine-language instructions to a runtime system.

Patent Agency Ranking