Method of and apparatus for managing memory
AssigneeSamsung Electronics Co., Ltd.
InventorJagun Kwon
Life of this patent
Estimating the term…
Abstract
A method of and apparatus for managing memory are provided. The method includes scheduling a garbage collection to be carried out on a predetermined heap in a memory after running of real-time threads is completed and carrying out the garbage collection according to the scheduling. Since the memory areas allocated to run the real-time thread are managed in the heap, dangling references can be prevented from being created, thereby securing safety of the running of threads.
Claims20
A method of managing a memory, the method comprising:
- scheduling a garbage collection to be carried out on a heap in the memory after running of real-time threads is completed;
- and
- carrying out the garbage collection on the heap according to the scheduling.
An apparatus for managing a memory, the apparatus comprising:
- a scheduler which schedules a garbage collection to be carried out on a heap in the memory after running of real-time threads is completed;
- and
- a garbage collector which carries out the garbage collection on the heap according to the scheduling.
A computer readable medium having embodied thereon a computer program for performing a method of managing a memory, the method comprising:
- scheduling a garbage collection to be carried out on a heap in the memory after running of real-time threads is completed;
- and
- carrying out the garbage collection on the heap according to the scheduling.
Dependencies are inferred from the claim text.