发明名称 Method and apparatus to facilitate sharing optimized instruction code in a multitasking virtual machine
摘要 A method is provided that enables native code, dynamically compiled from platform-independent code by one task of a multitasking virtual machine, to be used by other tasks. The system interprets the platform-independent code of a method for a threshold number of interpretations, and then produces class initialization dependent (CID) native code. The runtime of the system guarantees that a task uses CID code of a method only when all of the classes of an initialized set associated with the CID code have been initialized by the task, and otherwise, interprets the platform-independent code of the method. This allows the compiler to avoid generating class initialization barriers for classes from the initialized set. After a threshold number of failures to execute the CID code of a method, task reentrant code is generated to replace the interpretation of its platform-independent code.
申请公布号 US2002133638(A1) 申请公布日期 2002.09.19
申请号 US20020043801 申请日期 2002.01.10
申请人 DAYNES LAURENT P.;CZAJKOWSKI GRZEGORZ J. 发明人 DAYNES LAURENT P.;CZAJKOWSKI GRZEGORZ J.
分类号 G06F9/45;(IPC1-7):G06F9/45;G06F9/44;G06F9/00 主分类号 G06F9/45
代理机构 代理人
主权项
地址