The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Feb. 09, 2016

Filed:

Aug. 23, 2012
Applicants:

Filip J. Pizlo, Capitola, CA (US);

Gavin Barraclough, Santa Clara, CA (US);

Inventors:

Filip J. Pizlo, Capitola, CA (US);

Gavin Barraclough, Santa Clara, CA (US);

Assignee:

Apple Inc., Cupertino, CA (US);

Attorney:
Primary Examiner:
Assistant Examiner:
Int. Cl.
CPC ...
G06F 9/44 (2006.01); G06F 9/45 (2006.01); G06F 11/34 (2006.01);
U.S. Cl.
CPC ...
G06F 8/443 (2013.01); G06F 11/3452 (2013.01); G06F 11/3466 (2013.01); G06F 8/437 (2013.01); G06F 11/3409 (2013.01); G06F 2201/865 (2013.01); G06F 2201/88 (2013.01);
Abstract

A method and an apparatus to continuously re-compile a code are described. The code can be compiled in a speculatively optimized manner from a source code to access an untyped variable according to a type prediction of runtime values for the untyped variable. Failures of the type prediction during the execution can be dynamically tracked. Each failure may be associated a runtime value with a type outside of the type prediction. The type prediction may be adjusted according to the failures tracked for future runtime values of the untyped variable. The source code can be recompiled for execution to optimize the access to the untyped variable for the future runtime values according to the adjusted type prediction.


Find Patent Forward Citations

Loading…