Method and system for processing memory
First Claim
1. A method of processing image data, the method comprising:
- providing computer-executable software comprising a first module and a second module, the first module corresponding to codes written in a JAVA programming language, the second module corresponding to codes written in a non-JAVA programming language;
wherein the JAVA programming language requires automatic memory garbage collection when performing a memory allocation routine of the JAVA programming language whereas the non-JAVA programming language does not require automatic memory garbage collection when performing a memory allocation routine of the non-JAVA programming language;
wherein the second module comprises a memory allocation routine that does not accompany memory garbage collection;
wherein the first module comprises an image processing routine of the JAVA programming language for processing image data in a memory allocated by the memory allocation routine of the second module;
wherein the first module does not comprise the memory allocation routine of the JAVA programming language and is configured to activate the memory allocation routine of the second module for performing memory allocation without automatic memory garbage collection; and
executing computer-executable software in a computing system such that the first module and the second module are executed without automatic memory garbage collection when performing the memory allocation routine of the second module.
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.
-
Citations
9 Claims
-
1. A method of processing image data, the method comprising:
-
providing computer-executable software comprising a first module and a second module, the first module corresponding to codes written in a JAVA programming language, the second module corresponding to codes written in a non-JAVA programming language; wherein the JAVA programming language requires automatic memory garbage collection when performing a memory allocation routine of the JAVA programming language whereas the non-JAVA programming language does not require automatic memory garbage collection when performing a memory allocation routine of the non-JAVA programming language; wherein the second module comprises a memory allocation routine that does not accompany memory garbage collection; wherein the first module comprises an image processing routine of the JAVA programming language for processing image data in a memory allocated by the memory allocation routine of the second module; wherein the first module does not comprise the memory allocation routine of the JAVA programming language and is configured to activate the memory allocation routine of the second module for performing memory allocation without automatic memory garbage collection; and executing computer-executable software in a computing system such that the first module and the second module are executed without automatic memory garbage collection when performing the memory allocation routine of the second module. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer program stored in a non-transitory recording medium comprising:
-
a first code part written in a JAVA programming language and corresponding to a first module of computer-executable software; and a second code part written in a non-JAVA programming language and corresponding to a second module of computer-executable software, wherein the JAVA programming language requires automatic memory garbage collection when performing a memory allocation routine of the JAVA programming language whereas the non-JAVA programming language does not require automatic memory garbage collection when performing a memory allocation routine of the non-JAVA programming language, wherein the second module comprises a memory allocation routine that does not accompany memory garbage collection, wherein the first module comprises an image processing routine of the JAVA programming language for processing image data in a memory allocated by the memory allocation routine of the second module, wherein the first module does not comprise the memory allocation routine of the JAVA programming language and is configured to activate the memory allocation routine of the second module for performing memory allocation without automatic memory garbage collection such that the first module and the second module are executed without automatic memory garbage collection when performing the memory allocation routine of the second module. - View Dependent Claims (9)
-
Specification