ON-DEMAND LOADING OF DYNAMIC SCRIPTING LANGUAGE CODE FOR REDUCED MEMORY USAGE
First Claim
1. A method implemented by one or more processors, wherein the one or more processors execute instructions stored on a memory to perform the method steps comprising:
- receiving a request for a redacted code section of compiled code;
determining that the requested redacted code section is not in a memory and based thereon;
identifying a location in a storage where the requested redacted code section is stored from a respective placeholder of the requested redacted code section;
obtaining the requested redacted code section from the identified storage location; and
modifying the compiled code to include the obtained redacted code section.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer-implemented method and system for reducing the amount of memory space required to store applications written in dynamic scripting languages loads a program module into memory and removes a category of program code, such as debug information or function definitions, from the program module. The method and system also receives a request for debug information, or a function call or query, and determines whether or not the corresponding program code is in memory. If not, then the location in storage is identified where the program module is stored, and another copy containing the corresponding program code is loaded into memory. The corresponding program code is located and copied into the program module in memory, and a response is provided to the request.
7 Citations
20 Claims
-
1. A method implemented by one or more processors, wherein the one or more processors execute instructions stored on a memory to perform the method steps comprising:
-
receiving a request for a redacted code section of compiled code; determining that the requested redacted code section is not in a memory and based thereon; identifying a location in a storage where the requested redacted code section is stored from a respective placeholder of the requested redacted code section; obtaining the requested redacted code section from the identified storage location; and modifying the compiled code to include the obtained redacted code section. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A system comprising:
-
a memory storage comprising instructions; and one or more processors in communication with the memory, wherein the one or more processors execute the instructions to; receiving a request for a redacted code section of compiled code; determine that the requested redacted code section is not in a memory and based thereon; identify a location in a storage where the requested redacted code section is stored from a respective placeholder of the requested redacted code section; obtain the requested redacted code section from the identified storage location; and modify the compiled code to include the obtained redacted code section. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19)
-
-
20. A non-transitory computer-readable medium storing instructions that, when executed by one or more processors, cause the one or more processors execute the instructions to:
-
receive a request for a redacted code section of compiled code; determine that the requested redacted code section is not in a memory and based thereon; identify a location in a storage where the requested redacted code section is stored from a respective placeholder of the requested redacted code section; obtain the requested redacted code section from the identified storage location; and modify the compiled code to include the obtained redacted code section.
-
Specification