×

Just-in time expensive compilation hints

  • US 9,286,089 B2
  • Filed: 01/24/2014
  • Issued: 03/15/2016
  • Est. Priority Date: 01/24/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • measuring a set of characteristic(s) of a compilation environment during a compilation of a code segment by a just-in-time compiler;

    determining 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;

    storing the first piece of information in a persistent storage device;

    responsive to a subsequent compilation request for the just-in-time compiler to compile the code segment, reading the first piece of information from the persistent storage device; and

    changing 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 relates to the compilation backlog;

    the first piece of information is based on size of the compilation backlog and is stored in more than a single bit per compiler optimization level; and

    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.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×