发明名称 JUST-IN-TIME EXPENSIVE COMPILATION HINTS
摘要 Using stored information about the compilation environment during compilation of a code segment to improve performance of just-in-time compilers. A set of characteristic(s) of a compilation environment is measured during compilation of a code segment. Information that may be relevant to how the compilation is performed is derived from at least one of the measured characteristics and stored in a persistent storage device. Upon a subsequent request to compile that code segment, the information is retrieved and used to change compilation behavior. The set of characteristic(s) relate to at least either compilation backlog or peak memory usage. The changed compilation behavior involves at least adjusting the scheduling of the subsequent compilation request or adjusting the compiler optimization level.
申请公布号 US2016085532(A1) 申请公布日期 2016.03.24
申请号 US201514962068 申请日期 2015.12.08
申请人 International Business Machines Corporation 发明人 Pirvu Marius
分类号 G06F9/45;G06F9/455 主分类号 G06F9/45
代理机构 代理人
主权项 1. A computer program product comprising software stored on a software storage device, the software comprising: first program instructions programmed to measure a set of characteristic(s) of a compilation environment during a compilation of a code segment by a just-in-time compiler; second program instructions programmed to determine a first piece of information based upon at least one characteristic of the set of characteristic(s), with the first piece of information being relevant to a manner in which just-in-time compilation of the code segment may be performed; third program instructions programmed to store the first piece of information in a persistent storage device; fourth program instructions programmed to respond to a subsequent compilation request for the just-in-time compiler to compile the code segment by reading the first piece of information from the persistent storage device; and fifth program instructions programmed to change compilation behavior based on the first piece of information when the code segment is again compiled by the just-in-time compiler in response to the subsequent compilation request; wherein: the set of characteristic(s) of a compilation environment relate to at least one of the following: (i) compilation backlog, and/or (ii) peak memory usage; the changing of compilation behavior includes at least one of the following: (i) scheduling the subsequent compilation request, and/or (ii) adjusting a compiler optimization level; and the software is stored on a software storage device in a manner less transitory than a signal in transit.
地址 Armonk NY US