Initial object capacity determination
First Claim
Patent Images
1. A computer-implemented method of compiling object-oriented source code, comprising:
- Compiling, by a compiler, object-oriented code comprising objects each having at least one associated method; and
while compiling the object-oriented code, determining whether a size of each of the objects should be increased from a default size, wherein the determining is performed by the compiler.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention generally provides a method, apparatus, and article of manufacture whereby source code is analyzed by the compiler to determine if a default object capacity should change. In one embodiment of the invention, the compiler determines an initial object capacity based upon the use of a particular consumption method against an object created in the source code.
-
Citations
25 Claims
-
1. A computer-implemented method of compiling object-oriented source code, comprising:
-
Compiling, by a compiler, object-oriented code comprising objects each having at least one associated method; and while compiling the object-oriented code, determining whether a size of each of the objects should be increased from a default size, wherein the determining is performed by the compiler. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer readable medium containing a compiler which, when executed, performs an operation comprising:
-
compiling, by a compiler, object-oriented code comprising objects each having at least one associated method; and while compiling the object-oriented code, determining whether a size of each of the objects should be increased from a default size, wherein the determining is performed by the compiler. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. An apparatus comprising:
-
a memory containing a compiler; and a processor which, when executing a compiler, performing an operation comprising; a method performed by the compiler of compiling object-oriented source code, comprising; compiling, by the compiler, object-oriented code comprising objects each having at least one associated method; and while compiling the object-oriented code, determining whether a size of each of the objects should be increased from a default size. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24, 25)
-
Specification