Patent ID: 8346821

Claim:
An object tracking data processing system configured for object tracking of resource objects with acquire and release semantics, the system comprising: a host computer with at least one processor and memory; a virtual machine executing in the memory of the host computer; a classloader and a garbage collector disposed in the virtual machine; and, an open object tracker agent registered with the virtual machine and comprising program code enabled to instrument both an acquisition method and a release method of a resource object passed to the agent by the classloader to write a reference to the resource object to an open object set in the virtual machine upon acquiring the resource object from a time when the acquisition method is called, and to remove the reference to the resource object in the open object set upon releasing the resource object, to determine whether the resource object both has been flagged for garbage collection by the garbage collector and also remains referenced in the open object set, and to generate an error record responsive to determining the resource object having been both flagged for garbage collection and also remaining referenced in the open object set.