首页> 外国专利> System and method for facilitating avoidance of an exception of a predetermined type in a digital computer system by providing fix-up code for an instruction in response to detection of an exception condition resulting from execution thereof

System and method for facilitating avoidance of an exception of a predetermined type in a digital computer system by providing fix-up code for an instruction in response to detection of an exception condition resulting from execution thereof

机译:通过响应于检测到由执行指令引起的异常情况而提供指令的修正代码,来促进避免在数字计算机系统中发生预定类型的异常的系统和方法

摘要

A system for avoiding exceptional conditions during execution of a program comprises an execution environment for executing the program and a fix-up code generation subsystem. The program comprises an instruction stream comprising a series of instructions, and the execution environment includes an exceptional condition detector for detecting at least one predetermined type of exceptional condition in connection with execution of each instruction in the instruction stream. The fix-up code generation subsystem is responsive to detection by the execution environment of an exceptional condition of the predetermined type in connection with execution of an instruction in the instruction stream for generating fix- up code which, when processed, would avoid the exceptional condition of that predetermined type, and substitutes the fix- up code in the instruction stream for the instruction in the instruction stream for which the at least one exceptional condition was detected. As a result, if the instruction which gave rise to the exception is in a loop or the like, instead of the instruction being processed, the fix-up code will be processed, which will avoid the exception condition.
机译:一种用于在程序执行期间避免异常情况的系统,包括用于执行程序的执行环境和修正代码生成子系统。该程序包括包括一系列指令的指令流,并且执行环境包括异常条件检测器,该异常条件检测器用于结合指令流中的每个指令的执行来检测至少一种预定类型的异常条件。修正代码生成子系统响应于执行环境对预定类型的异常条件的检测,并结合指令流中指令的执行,以生成修正代码,该修正代码在被处理时将避免异常条件指令流中的固定代码替换为检测到至少一种例外情况的指令流中的指令。结果,如果引起异常的指令在循环等中,而不是正在处理的指令,则将处理修正代码,这将避免异常情况。

著录项

  • 公开/公告号US5907708A

    专利类型

  • 公开/公告日1999-05-25

    原文格式PDF

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

    申请/专利号US19960657112

  • 发明设计人 PAUL H. HOHENSEE;DAVID L. REESE;

    申请日1996-06-03

  • 分类号G06F9/44;

  • 国家 US

  • 入库时间 2022-08-22 02:08:05

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号