Method and apparatus for reclaiming memory from a heap
First Claim
Patent Images
1. A method in a data processing system for managing a heap, the method comprising:
- responsive to a request to reclaim space in the heap, marking live objects in portions of space in the heap;
responsive to marking the live objects, moving the portions of space into a virtual memory; and
removing old objects from the portions of space in the heap in the virtual memory.
1 Assignment
0 Petitions
Accused Products
Abstract
An improved method, apparatus, and computer instructions for managing a heap. Live objects in portions of space in the heap are marked in response to a request to reclaim space in the heap. The portions of space are moved into a virtual memory in response to marking the live objects. The old objects are removed from the portions of space in the heap in the virtual memory.
-
Citations
20 Claims
-
1. A method in a data processing system for managing a heap, the method comprising:
-
responsive to a request to reclaim space in the heap, marking live objects in portions of space in the heap;
responsive to marking the live objects, moving the portions of space into a virtual memory; and
removing old objects from the portions of space in the heap in the virtual memory. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A computer program product in a data processing system for managing a heap, the computer program product comprising:
-
first instructions, responsive to a request to reclaim space in the heap, for marking live objects in portions of space in the heap;
second instructions, responsive to marking the live objects, for moving the portions of space into a virtual memory; and
third instructions for removing old objects from the portions of space in the heap in the virtual memory. - View Dependent Claims (17, 18, 19)
-
-
20. A data processing system comprising:
-
a bus;
a communications unit connected to the bus;
a memory connected to the bus, wherein the memory includes a set of instructions; and
a processor unit connected to the bus, wherein the processor unit executes the set of instructions to manage a heap;
mark live objects in portions of space in the heap in response to a request to reclaim space in the heap;
move the portions of space into a virtual memory in response to marking the live objects; and
remove old objects from the portions of space in the heap in the virtual memory.
-
Specification