METHOD AND SYSTEM FOR PROCESSING MEMORY
First Claim
1. A memory management method comprising:
- requesting, at a first module corresponding to codes written in a first programming language, a second module corresponding to codes written in a second programming language for memory allocation; and
allocating, at the second module, a target memory portion in response to the request for memory allocation, and returning reference data indicating the allocated target memory portion to the first module, whereinthe first programming language is a programming language that carries out garbage collection in a case of memory allocation, andthe second programming language is a programming language that does not carry out garbage collection in the case of memory allocation.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and system for memory management is disclosed. The disclosed method and system can prevent performance degradation due to automatic garbage collection associated with memory allocation for image processing. An image processing program includes two program modules. The first program modules is composed with a first language supporting a garbage collection feature but does not have a direct memory access which may trigger the garbage collection feature. The second program module is composed with a second language lacking the garbage collection feature. The image processing program delegates memory allocation for image processing to the second program module to prevent unnecessary activation of the garbage collection feature.
56 Citations
15 Claims
-
1. A memory management method comprising:
-
requesting, at a first module corresponding to codes written in a first programming language, a second module corresponding to codes written in a second programming language for memory allocation; and allocating, at the second module, a target memory portion in response to the request for memory allocation, and returning reference data indicating the allocated target memory portion to the first module, wherein the first programming language is a programming language that carries out garbage collection in a case of memory allocation, and the second programming language is a programming language that does not carry out garbage collection in the case of memory allocation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A memory management system comprising:
-
a first module corresponding to codes written in a first programming language; and a second module corresponding to codes written in a second programming language, wherein the first module requests the second module for memory allocation, the second module allocates a target memory portion in response to the request for memory allocation and returns reference data indicating the allocated target memory portion to the first module, the first programming language is a programming language that carries out garbage collection in a case of memory allocation, and the second programming language is a programming language that does not carry out garbage collection in the case of memory allocation. - View Dependent Claims (11, 12, 13)
-
-
14. A computer program stored in a recording medium comprising:
-
a first code part written in a first programming language; and a second code part written in a second programming language, wherein the first code part comprises codes requesting the second code part for memory allocation, the second code part comprises codes allocating a target memory portion in response to the request for memory allocation and returning reference data indicating the allocated target memory portion, the first programming language is a programming language that carries out garbage collection in a case of memory allocation, and the second programming language is a programming language that does not carry out garbage collection in the case of memory allocation. - View Dependent Claims (15)
-
Specification