Patent ID: 7197750
Filing Date: 2007-03-27
Classification: G06F

Abstract:
1. A computer readable medium for storing a Java Bytecode instruction for determining a hashcode value for a Java object, wherein said hashcode value uniquely identifies said Java object among all other Java objects in said Java computing environment, and said Java Bytecode instruction is suitable for execution by a Java virtual machine in a Java computing environment, wherein said Java Bytecode instruction when interpreted at runtime by said virtual machine operates to determine and store, a hashcode value for said Java object on an execution stack used by said virtual machine to interpret said Java Bytecode instruction, by accessing a field of said Java object which stores said hashcode value for said Java object, thereby allowing said virtual machine to determine said hashcode value for said java object without invoking a Java method; wherein said Java Bytecode instruction when executed further operates to: pop a reference to said Java object from the top of an execution stack when said Bytecode instruction is executed; determine a hashcode for said Java object by accessing the field of said Java object after said reference has been popped; and push said hashcode on top of said execution stack after said hashcode has been calculated.