Patents
US 9,542,166 B2#132023365 Most CitedActiveUnited States (USPTO)Utility

System and method for inferring immutability of program variables

0Forward Citations (#132023365 Global)
0.0/yrCitation Velocity (#132023365 Global)
0.56Citation PageRank (#132023365 Global)
30Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

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.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 30 · Forward citations: 0.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method for compiling source code using a compiler operating on one or more microprocessor, the method comprising: receiving said source code wherein said source code includes a plurality of local variables wherein each of said plurality of local variables is expressed in said source code without the use of a keyword which expressly declares said each of said plurality of local variables as being immutable; identifying with the compiler each of said plurality of local variables in said source code; for each local variable of the plurality of said plurality of local variab

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (30)

PatentTitleYearCitations
US 4,837,628 AElectronic still camera for recording still picture on memory card with mode selecting shutter release1989209
US 5,404,485 AFlash file system19951,006
US 5,485,595 AFlash memory mass storage architecture incorporating wear leveling technique without using cam cells1996472
US 5,524,230 AExternal information storage system with a semiconductor memory1996144
US 5,544,356 ABlock-erasable non-volatile semiconductor memory which tracks and stores the total number of write/erase cycles for each block1996330
US 5,553,261 AMethod of performing clean-up of a solid state disk while executing a read command199695
US 5,581,723 AMethod and apparatus for retaining flash block structure data during erase operations in a flash EEPROM memory array1996135
US 5,611,067 ANonvolatile semiconductor memory device having means for selective transfer of memory block contents and for chaining together unused memory blocks199783
US 5,933,847 ASelecting erase method based on type of power supply for flash EEPROM199987
US 5,966,720 AFlash memory accessed using only the logical address199977
US 6,119,145 AMultithreaded client application storing a separate context for each transaction thus allowing threads to resume transactions started by other client threads200044
US 2003018671 A1Computer apparatus, program and method for determining the equivalence of two algebraic functions—12
US 6,604,168 B2Flash eeprom management using ratio of used to unused sectors200359
US 6,735,680 B2Method and apparatus for deleting objects from memory within a smart card20047
US 2004181713 A1Automatic identification of input values that expose output failures in software object—54
US 2005010898 A1Program generation apparatus, program generation method, and program for program generation—15
US 2005086022 A1System and method for providing a standardized test framework—33
US 6,925,638 B1Mutability analysis in Java200593
US 2005278374 A1Dynamic program modification—30
US 2007150806 A1Systems and methods of validating templates—22
US 2009018811 A1Generation of test cases for functional testing of applications—34
US 2009144714 A1Automatic deployment of java classes using byte code instrumentation—33
US 2009150864 A1Declarative object identity—21
US 2009172649 A1Automation of software verification—20
US 7,590,978 B2Inferring object invariant method and system20096
US 2010050159 A1System and process for debugging object-oriented programming code leveraging runtime metadata—23
US 2010122073 A1Handling exceptions in software transactional memory systems—35
US 2012210308 A1Binding-based characterization of closures in software programs—8
US 2012210320 A1Preventing unsafe sharing through confinement of mutable captured variables—14
US 2012296922 A1System and method for committing data objects to be immutable—4

Non-Patent Literature (5)

  • Clark, Mike, "Using Blocks in iOS 4: The Basics" retrieved Nov. 15, 2013 , 6 pages.
  • Clark, Mike, "Using Blocks in iOS 4: The Basics" retrieved Nov. 15, 2013 <http://pragmaticstudio.com/blog/2010/7/28/ios4-blocks-1>, 6 pages.
  • Diehl, Stephan, "A Formal Introduction to the Compilation of Java", Software-Practice and Experience, vol. 28(3), 297-327(Mar. 1998).
  • European Patent Office, International Searching Authority, International Search Report and Written Opinion dated Jan. 12, 2016 for International Application No. PCT/US2015/052060, 14 pages.
  • Goetz, Brian et al., Featherweight Defenders: A formal model for virtual extension methods in Java, Oracle Corporation Dec. 2, 2011, 9 pages, retrieved Apr. 2, 2015 from: .