Invention Grant
- Patent Title: Binding-based characterization of closures in software programs
- Patent Title (中): 软件程序中闭包的绑定表征
-
Application No.: US13028111Application Date: 2011-02-15
-
Publication No.: US09465627B2Publication Date: 2016-10-11
- Inventor: Brian Goetz , Alexander R. Buckley
- Applicant: Brian Goetz , Alexander R. Buckley
- Applicant Address: US CA Redwood Shores
- Assignee: ORACLE INTERNATIONAL CORPORATION
- Current Assignee: ORACLE INTERNATIONAL CORPORATION
- Current Assignee Address: US CA Redwood Shores
- Agency: Park, Vaughan, Fleming & Dowler LLP
- Agent Chia-Hsin Suen
- Main IPC: G06F9/45
- IPC: G06F9/45 ; G06F9/44

Abstract:
The disclosed embodiments provide a system that facilitates the compilation and execution of a software program. During operation, the system obtains a closure from source code for the software program. Next, the system characterizes a type of the closure based on a mutability of one or more variables captured by the closure. Finally, the system encodes the type into a compiled form of the closure to facilitate subsequent execution of the closure in a multithreaded environment.
Public/Granted literature
- US20120210308A1 BINDING-BASED CHARACTERIZATION OF CLOSURES IN SOFTWARE PROGRAMS Public/Granted day:2012-08-16
Information query