Patent ID: 7653672
Filing Date: 2010-01-26
Classification: G06F

Abstract:
1. Under a program execution environment equipped with a function capable of automatically releasing an object which is not present on a chain of a reference from a root set, a heap dump acquiring method comprising: a first step in which an object having a new production flag, an existence flag, and a dump subject flag is stored in a heap memory; a second step for receiving a starting point setting request; a third step for clearing new production flags of all of the objects stored in the heap memory; a fourth step for receiving an end point setting request after a previously designated time period has passed, a newly produced flag for an object having been added being assigned a value “1” showing a new production before the end point setting request is received; a fifth step for setting both existence flags according to reference relationships among the objects and dump subject flags according to reference relationships among the existence flag, the new production flag and the objects of all of the objects stored in the heap memory; a sixth step for performing a dump output based upon the dump subject flags set in said fifth step; and a seventh step for displaying only such an object present on the chain of the reference from the root set within the objects which exist based upon said existence flags in said sixth step, wherein said dump subject flag implies as being a subject flag in the case that any one of conditions (1) and (2) is satisfied, namely, the condition (1) under which said new production flag of the object implies “a new production” and also implies that said existence flag implies “existence”; and the condition (2) under which the object is present on the chain of the reference to the object which is related to said condition (1) from the root set, whereas said dump subject flag implies as not being a subject flag in the case that both of said conditions (1) and (2) are not satisfied.