摘要 |
The invention provides a representation method for an object that is fast and has an extremely little effect on the execution efficiency of a processing system. A computer system that implements an object-oriented programming language according to the invention as runtime representation for an object in programming language that is implemented, comprises an object, a type information block, and a class structure, wherein the object has a header including a pointer to the type information block, wherein the type information block has a class pointer pointing to the class structure, wherein a plurality of class pointers are provided depending on the number of states of the object and individual class pointers are associated with individual states of the object, and wherein the pointer included in the header of the object uses lower bits to point to the class pointers individually in order to represent the states of the object.
|