发明名称 Method and apparatus for implementing compact type signatures in a virtual machine environment
摘要 Methods and apparatus for creating compacted method signatures from method signature representations in Java(TM) class files are disclosed. The use of compacted signatures reduces the amount of memory space occupied by the signatures and, further, improve the efficiency with which a virtual machine may operate. According to one aspect of the present invention, a method a method for creating a compact representation of a method signature using a virtual machine includes creating 4-bit representations for each of a first parameter, a separator, and a return type included in the method signature. Once the 4-bit representation are created, the representations are packed into a word. In one embodiment, the word is a 32-bit word. In such an embodiment, the 32-bit word may be a 32-bit integer.
申请公布号 US6711576(B1) 申请公布日期 2004.03.23
申请号 US20010844571 申请日期 2001.04.26
申请人 SUN MICROSYSTEMS, INC. 发明人 TUCK RICHARD D.;LONG DEAN R. E.;ROSE JOHN
分类号 G06F9/42;(IPC1-7):G06F17/30 主分类号 G06F9/42
代理机构 代理人
主权项
地址