发明名称 Link apparatus and virtual machine
摘要 A method number deciding unit 143 sets method numbers for methods in each class into the base method number table so that each method number within one class is different. A method table generating unit 144 generates a method table for each method, the method table including a pointer that is an offset form a first position of an executable program to an area where information relating to the method is stored, and additionally writes the generated method table at the first position of the class file. A method call instruction converting unit 145 replaces, when an instruction "invokevirtual" exists in a class file, a constant pool entry number written in an operand of the instruction with a method number, and deletes a constant pool entry indicated by the constant pool entry number. On receiving the instruction "invokevirtual", the method call unit 174 calculates an address by summing a first address of an executable program and a content of an operand of the instruction, and calls a method stored at the position indicated by the calculated address.
申请公布号 US2001001328(A1) 申请公布日期 2001.05.17
申请号 US20000748607 申请日期 2000.12.26
申请人 YOSHIDA CHIKARA;TOMINAGA NOBUKI;HARUNA SHUSUKE 发明人 YOSHIDA CHIKARA;TOMINAGA NOBUKI;HARUNA SHUSUKE
分类号 G06F9/45;G06F9/42;G06F9/44;G06F9/445;(IPC1-7):G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址