摘要 |
PROBLEM TO BE SOLVED: To perform memory management having higher use efficiency by dynamically changing size of a subsegment. SOLUTION: A memory area 3 is divided into a plurality of segments 4, and each segment further includes a plurality of subsegments 5. Every time a memory acquisition request from an arbitrary memory request process 9 is performed, an area acquisition processing part 11 determines the size of the subsegment based on requested area size with respect to the unused segment 4, generates the subsegment 5 of the size, allocates one or more subsegments 5, and makes the segment 4 in use. With respect to the segment 4 during the use, it is decided whether to regenerate the subsegment 5 or not based on the requested area size, the size of the subsegment 5 is determined based on the requested area size when performing the regeneration, and the subsegment 5 is regenerated about a free area. COPYRIGHT: (C)2009,JPO&INPIT
|