Invention Grant
- Patent Title: Preventing unsafe sharing through confinement of mutable captured variables
-
Application No.: US14223492Application Date: 2014-03-24
-
Publication No.: US09766923B2Publication Date: 2017-09-19
- Inventor: Brian Goetz , Alexander R. Buckley
- Applicant: Oracle International Corporation
- 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
- Main IPC: G06F9/46
- IPC: G06F9/46 ; G06F9/44

Abstract:
The disclosed embodiments provide a system that facilitates the development and execution of a software program. During operation, the system provides a mechanism for restricting a variable to a runtime context in the software program. Next, the system identifies the runtime context during execution of the software program. Finally, the system uses the mechanism to prevent incorrect execution of the software program by ensuring that a closure capturing the variable executes within the identified runtime context.
Public/Granted literature
- US20140208323A1 PREVENTING UNSAFE SHARING THROUGH CONFINEMENT OF MUTABLE CAPTURED VARIABLES Public/Granted day:2014-07-24
Information query