发明授权
US6151703A Development system with methods for just-in-time compilation of programs 失效
具有即时编译程序的方法的开发系统

  • 专利标题: Development system with methods for just-in-time compilation of programs
  • 专利标题(中): 具有即时编译程序的方法的开发系统
  • 申请号: US650512
    申请日: 1996-05-20
  • 公开(公告)号: US6151703A
    公开(公告)日: 2000-11-21
  • 发明人: Regis Crelier
  • 申请人: Regis Crelier
  • 申请人地址: CA Scotts Valley
  • 专利权人: Inprise Corporation
  • 当前专利权人: Inprise Corporation
  • 当前专利权人地址: CA Scotts Valley
  • 主分类号: G06F9/42
  • IPC分类号: G06F9/42 G06F9/45 G06F9/455 G06F9/44
Development system with methods for just-in-time compilation of programs
摘要:
A development system having a client which employs a virtual machine for executing programs written in the Java programming language is described. The client executes a "compiled" (i.e., bytecode or pseudo-compiled) Java program, which has been created by compiling a Java source code program or script with a Java compiler. The pseudo-compiled program comprises the bytecode emitted by the compiler. The development system further includes a just-in-time compiler which natively compiles each pseudo-compiled method of a Java program on a "just-in-time" basis--that is, compiles each method as it is actually used into native machine code for a target microprocessor. Methods which are unused are left uncompiled (i.e., left as bytecode). During program execution, when a method call is made from interpreted code, the system employs an "invoker" slot of the callee. When a method call is made from compiled code, the system employs a "compiled code" slot of the callee. As the addresses for the slots themselves remain unchanged, a method which has been compiled need not be recompiled when a callee method it invokes is itself compiled. In this manner, a method (caller) calling another method (callee) need not know whether it is calling is an interpreted method or a compiled method.
信息查询
0/0