Method and system for optimizing array sizes in a JAVA virtual machine
OwnerScott Broussard, Eduardo Springinventors
Life of this patent
Estimating the term…
Loading patent…
OwnerScott Broussard, Eduardo Springinventors
Estimating the term…
A method, computer program product, and data processing system for allocating memory for arrays in a fragmented heap is disclosed. In a preferred embodiment, a JAVA virtual machine (JVM) is enhanced to organize each array as an array of arrays (or, internally, an array of pointers to arrays, since JAVA arrays are reference types). The individual “inner arrays” within the “outer array” are segments that collectively simulate a larger “virtual array.” Because all accesses and allocations of these arrays are performed by the JAVA virtual machine, the array segmentation is entirely transparent to the programmer, at least at the JAVA-language level. Support for native methods is provided by making relatively minor modifications to some of the array manipulation functions of the JAVA Native Interface (JNI), so as to minimize the impact of the segmentation scheme on native code.
A computer-based method comprising:
A computer program product in a computer-readable medium, comprising functional descriptive material that, when executed by a computer, causes the computer to perform actions that include:
A data processing system comprising:
Dependencies are inferred from the claim text.