- Patent Title: Orphan object tracking for objects having acquire-release semantics
-
Application No.: US12775998Application Date: 2010-05-07
-
Publication No.: US08346821B2Publication Date: 2013-01-01
- Inventor: Ben Wagner
- Applicant: Ben Wagner
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Cary, Rodriguez, Greenberg & O'Keefe
- Agent Steven M. Greenberg, Esq.
- Main IPC: G06F12/00
- IPC: G06F12/00

Abstract:
A method for object tracking of resource objects with acquire and release semantics can include instrumenting both an acquisition method and a release method of a resource object to write a reference to the resource object to an open object set upon acquiring the resource object, and to remove the reference to the resource object in the open object set upon releasing the resource object. The method also can include determining whether the resource object both has been flagged for garbage collection in the virtual machine and also remains referenced in the open object set. Finally, the method can include generating an error record in the virtual machine responsive to determining the resource object to have been both flagged for garbage collection in the virtual machine and also remaining referenced in the open object set.
Public/Granted literature
- US20110276984A1 ORPHAN OBJECT TRACKING FOR OBJECTS HAVING ACQUIRE-RELEASE SEMANTICS Public/Granted day:2011-11-10
Information query