Invention Grant
US08930420B2 Orphan object tracking for objects having acquire-release semantics
有权
具有获取释放语义的对象的孤立对象跟踪
- Patent Title: Orphan object tracking for objects having acquire-release semantics
- Patent Title (中): 具有获取释放语义的对象的孤立对象跟踪
-
Application No.: US13411575Application Date: 2012-03-04
-
Publication No.: US08930420B2Publication Date: 2015-01-06
- Inventor: Ben Wagner
- Applicant: Ben Wagner
- Applicant Address: US NY Armonk
- Assignee: International Business Machiness Corporation
- Current Assignee: International Business Machiness Corporation
- Current Assignee Address: US NY Armonk
- Agency: CRGO Law
- Agent Steven M. Greenberg, Esq.
- Main IPC: G06F17/30
- IPC: G06F17/30 ; G06F9/45 ; G06F9/455 ; G06F12/02

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
- US20120166892A1 ORPHAN OBJECT TRACKING FOR OBJECTS HAVING ACQUIRE-RELEASE SEMANTICS Public/Granted day:2012-06-28
Information query