Invention Grant
- Patent Title: Using an object retain block in a virtual machine
- Patent Title (中): 在虚拟机中使用对象保留块
-
Application No.: US14293996Application Date: 2014-06-02
-
Publication No.: US09552260B2Publication Date: 2017-01-24
- Inventor: Filip Eliá{hacek over (s)} , Filip Nguyen
- Applicant: Red Hat, Inc.
- Applicant Address: US NC Raleigh
- Assignee: Red Hat, Inc.
- Current Assignee: Red Hat, Inc.
- Current Assignee Address: US NC Raleigh
- Agency: Lowenstein Sandler LLP
- Main IPC: G06F11/07
- IPC: G06F11/07 ; G06F11/14 ; G06F9/45 ; G06F9/44

Abstract:
A method for using a retain block in application code executing on a virtual machine includes identifying an instruction in application code, the instruction pertaining to an object, determining the instruction is part of a retain block, prior to executing the instruction, determining whether the instruction is to cause the object to be modified, and when the instruction is to cause the object to be modified, storing data indicating a first state of the object in a retain block store and causing the first state of the object to be modified using a second state. Also, the method includes in response to an error occurring during an execution of the instruction, returning the object from the second state to the first state using the stored data.
Public/Granted literature
- US20150347240A1 USING AN OBJECT RETAIN BLOCK IN A VIRTUAL MACHINE Public/Granted day:2015-12-03
Information query