Patent ID: 8631051
Filing Date: 2014-01-14
Classification: G06F

Abstract:
1. A method of managing memory, the method comprising the steps of: allocating a first space, a first semi space and a second semi space of a memory unit, the first space having a first space size, and the first and second semi spaces having a semi space size; transforming a first object comprising one of an array and an object larger than a predetermined size into a plurality of elements and a spine, the elements being equally sized, and the spine containing references to the plurality of elements; storing the plurality of elements in the first space and the spine in one of the first semi space and the second semi space; storing a second object in the first space, the second object being smaller than the predetermined size, the second object being fragmented into chunks having a chunk size if the second object is larger than the chunk size, the chunks being related by pointers having a pointer size; reclaiming first memory portions of the first space using a mark sweep policy; and reclaiming second memory portions of one of the first semi space and the second semi space using a moving policy.