首页> 外国专利> Techniques for reducing the cost of dynamic class initialization checks in compiled code

Techniques for reducing the cost of dynamic class initialization checks in compiled code

机译:减少编译代码中动态类初始化检查成本的技术

摘要

Techniques for reducing the cost of dynamic class loading and initialization checks in compiled code are provided. Virtual machine instructions are compiled into one or more native machine instructions even if required runtime execution information is unavailable at the time of compilation. The native machine instructions include placeholder data where the required runtime execution information should be. The native machine instructions are overwritten with a native machine instruction that transfers control to a section of code or stub that, at runtime execution, replaces the placeholder data with the required runtime execution information and execution continues.
机译:提供了用于减少编译后代码中动态类加载和初始化检查的成本的技术。即使在编译时无法获得所需的运行时执行信息,虚拟机指令也会被编译为一个或多个本机指令。本机机器指令包括占位符数据,所需的运行时执行信息应位于该占位符数据中。本机指令被本机指令覆盖,该本机指令将控制权转移到一段代码或存根,在运行时执行时,用所需的运行时执行信息替换占位符数据,然后继续执行。

著录项

  • 公开/公告号US5999732A

    专利类型

  • 公开/公告日1999-12-07

    原文格式PDF

  • 申请/专利权人 SUN MICROSYSTEMS INC.;

    申请/专利号US19980046401

  • 发明设计人 LARS BAK;SRDJAN MITROVIC;

    申请日1998-03-23

  • 分类号G06F9/45;

  • 国家 US

  • 入库时间 2022-08-22 01:38:45

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号