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:
Jan. 10, 2017

Filed:

Nov. 14, 2012
Applicant:

Oracle International Corporation, Redwood Shores, CA (US);

Inventors:

Brian Goetz, Williston, VT (US);

Alexander Buckley, Cupertino, CA (US);

Daniel Smith, Spanish Fork, UT (US);

Maurizio Cimadamore, Dublin, IE;

Assignee:

ORACLE INTERNATIONAL CORPORATION, Redwood Shores, CA (US);

Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 9/45 (2006.01); G06F 11/36 (2006.01); G06F 9/44 (2006.01);
U.S. Cl.
CPC ...
G06F 8/41 (2013.01); G06F 8/30 (2013.01); G06F 8/447 (2013.01); G06F 11/3672 (2013.01);
Abstract

In accordance with various embodiments, systems and methods are provided which facilitate inferring immutability of variables. A compiler analyzes local variables within source code to determine whether they are immutable. In particular embodiments the compiler examines locations where each variable is assigned to determine whether the variable was definitely unassigned before the assignment. Because the compiler can infer whether a local variable is immutable, it is possible for the programmer to avoid using a keyword to expressly declare the local variable as immutable. Inferring immutability of variables, thus, maintains correctness of the compiled code while reducing the burden on the programmer.


Find Patent Forward Citations

Loading…