发明名称 Method, apparatus, and article of manufacture for processing a virtual call in amulti-threaded program
摘要 Methods, systems, and articles of manufacture consistent with the present invention process a virtual call during execution of a multi-threaded program by ensuring that the steps of patching the virtual call to the appropriate method are performed within a single instruction cycle. This prevents other threads from executing instructions related to the virtual call in the middle of the patching procedure. Methods, systems, and articles of manufacture consistent with the present invention identify a target, such as a targeted method and a class of a receiver object, associated with the virtual call and then determine an address identifier, such as a memory address pointer to the class of the receiver object. By ensuring that the address identifier is within a restricted address space, a predetermined boundary of the memory storage device can be used to patch the call to the identified target and patch the address identifier for the identified target to the correct address identifier within a single instruction cycle.
申请公布号 AU4719099(A) 申请公布日期 2000.01.17
申请号 AU19990047190 申请日期 1999.06.24
申请人 SUN MICROSYSTEMS, INC. 发明人 MARIO IWAN WOLCZKO;ROSS CHARLES KNIPPEL
分类号 G06F9/42;G06F9/46 主分类号 G06F9/42
代理机构 代理人
主权项
地址
您可能感兴趣的专利