Initial object capacity determination
First Claim
Patent Images
1. A 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 changed.
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
27 Claims
-
1. A 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 changed. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. 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 change. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
- and
-
19. An apparatus comprising:
-
a memory containing a compiler; and
a processor which, when executing a compiler, performing an operation comprising;
a 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 changed. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27)
-
Specification