发明名称 OPIMIZING SYMBOL TABLE LOOKUPS IN PLATFORM-INDEPENDENT VIRTUAL MACHINES
摘要 One embodiment of the present invention provides a method for increasing performance of code executing on a platform-independent virtual machine. The method operates by receiving a request to resolve an entry in a symbol table at run-time, wherein resolving the entry requires multiple lookups into the symbol table. It next determines if the entry has previously been resolved. If so, the system returns a direct pointer to a runtime structure associated with the entry, which was returned during a previous resolution of the entry. If not, the system resolves the entry through multiple lookups into the symbol table to produce a direct pointer to the runtime structure, and replaces the entry with the direct pointer. In a variation on the above embodiment, the symbol table assumes the form of a constant pool within an object-oriented class file defined within the JAVA programming language. The present invention speeds up constant pool resolution substantially without requiring a significant amount of additional space. Therefore, the present invention is especially valuable for embedded JAVA systems or other applications that have strict size limitations.
申请公布号 WO0017747(A1) 申请公布日期 2000.03.30
申请号 WO1999US21743 申请日期 1999.09.21
申请人 SUN MICROSYSTEMS, INC. 发明人 SHAYLOR, NICHOLAS;TAIVALSAARI, ANTERO, K., P.
分类号 G06F9/45;G06F9/44;G06F9/445;(IPC1-7):G06F9/44 主分类号 G06F9/45
代理机构 代理人
主权项
地址