Memory management method, information processing apparatus, and memory management program
AssigneeHitachi, Ltd.
InventorsMasanobu YAMADA, Takashi Maruyama, Koichi Okada
Life of this patent
Estimating the term…
Abstract
In a computer including a processor for executing a program and a storage that includes a first storage area and a second storage area for storing objects generated by the executed program, the processor stores objects generated by executing the program in the first storage area. If an object stored in the first storage area is accessed, the processor records access information of the accessed object. The processor extracts a leak object having a high possibility of memory leak on the basis of the recorded access information, and moves the extracted leak object to the second storage area.
Claims12
A memory management method in an information processing system executed in a computer,
- wherein
- the computer comprises a processor for executing a program and a storage accessed by the processor,
- the storage stores a memory management part for managing a storage area used by a program which is executed by the processor, and stores access information for objects generated by executing the program, and
- the storage comprises a first storage area and a second storage area for storing the generated objects, and
- the processor stores the generated objects in the first storage area,
- if an object stored in the first storage area is accessed, the processor records information of the accessed object in the access information,
- the processor extracts a leak object having a high possibility of memory leak on the basis of the access information, and
- the processor moves the extracted leak object to the second storage area.
An information processing apparatus for managing a storage area used by a program,
- wherein
- the information processing apparatus comprises a processor for executing the program and a storage accessed by the processor,
- the storage stores a memory management part for managing a storage area used by a program which is executed by the processor, and stores access information for objects generated by executing the program, and
- the storage comprises a first storage area and a second storage area for storing the generated objects, and
- the processor stores the generated objects in the first storage area,
- if an object stored in the first storage area is accessed, the processor records information of the accessed object in the access information,
- the processor extracts a leak object having a high possibility of memory leak on the basis of the access information, and
- the processor moves the extracted leak object to the second storage area.
A memory management program for managing a storage area used by execution of a program, in a computer in which the program is executed,
- wherein
- the computer comprises a processor for executing the program and a storage comprising a first storage area and a second storage area for storing objects generated by executing the program,
- the memory management program causes the computer to execute:
- a procedure for storing the generated objects in the first storage area;
- a procedure responsive to an object stored in the first storage area being accessed, for recording information concerning the accessed object in the storage as access information;
- a procedure for extracting a leak object having a high possibility of memory leak on the basis of the access information, and
- a procedure for moving the extracted leak object to the second storage area.
Dependencies are inferred from the claim text.