Patent ID: 7337201

Claim:
A method of managing a memory heap in a computer system comprising: allocating a first portion of the memory heap as a young section, the first portion having a faster access time than a second portion of the memory heap, the first portion and the second portion being discontiguous, wherein the young section has a fixed beginning memory address in the first portion, wherein a first virtual memory address in the first portion has a higher virtual address than a virtual memory address in the second portion; allocating the second portion of the memory heap to a tenured section; allocating a third portion of the memory heap to an unused section; filling the young section with objects from an application after the first portion has been allocated as the young section; and applying a garbage collection process on the memory heap including: deleting any objects in the young section that are no longer referenced; and shifting any referenced objects to a selected one of the tenured section or a beginning of the young section.