Environment extensibility and automatic services for component applications using contexts, policies and activators
    1.
    发明授权
    Environment extensibility and automatic services for component applications using contexts, policies and activators 有权
    环境可扩展性和使用上下文,策略和激活器的组件应用程序的自动服务

    公开(公告)号:US06442620B1

    公开(公告)日:2002-08-27

    申请号:US09135397

    申请日:1998-08-17

    IPC分类号: G06F944

    CPC分类号: G06F9/465

    摘要: An object system provides composable object execution environment extensions with an object model that defines a framework with contexts, policies, policy makers and activators that act as object creation-time, reference creation-time and call-time event sinks to provide processing of effects specific to the environment extensions. At object creation time, an object instantiation service of the object system delegates to the activators to establish a context in which the object is created. The context contains context properties that represent particular of the composable environment extensions in which the object is to execute. The context properties also can act as policy makers that contribute policies to an optimized policy set for references that cross context boundaries. The policies in such optimized sets are issued policy events on calls across the context boundary to process effects of switching between the environment extensions of the two contexts.

    摘要翻译: 对象系统提供具有对象模型的可组合对象执行环境扩展,该对象模型定义具有作为对象创建时间,参考创建时间和呼叫时间事件接收器的上下文,策略,策略制定者和激活器的框架,以提供具体效果的处理 到环境扩展。 在对象创建时,对象系统的对象实例化服务委托给激活器以建立其中创建对象的上下文。 上下文包含表示对象要执行的可组合环境扩展的特定的上下文属性。 上下文属性还可以作为策略制定者,将策略提供给跨越上下文边界的引用的优化策略集。 这些优化集合中的策略是通过上下文边界的呼叫发出策略事件,以处理在两个上下文的环境扩展之间切换的效果。

    System and method for achieving object method transparency in a multi-code execution environment
    2.
    发明授权
    System and method for achieving object method transparency in a multi-code execution environment 失效
    在多代码执行环境中实现对象方法透明度的系统和方法

    公开(公告)号:US06199095B1

    公开(公告)日:2001-03-06

    申请号:US08593590

    申请日:1996-01-29

    申请人: Scott G. Robinson

    发明人: Scott G. Robinson

    IPC分类号: G06F1300

    CPC分类号: G06F9/45504 G06F9/4488

    摘要: A computer system for executing a binary image conversion system which converts instructions from a instruction set of a first, non native computer system to a second, different, native computer system, includes an run-time system which in response to a non-native image of an application program written for a non-native instruction set provides an native instruction or a native instruction routine. The run-time system collects profile data in response to execution of the native instructions to determine execution characteristics of the non-native instruction. Thereafter, the non-native instructions and the profile statistics are fed to a binary translator operating in a background mode and which is responsive to the profile data generated by the run-time system to form a translated native image. The run-time system and the binary translator are under the control of a server process. The non-native image is executed in two different enviroments with first portion executed as an interpreted image and remaining portions as a translated image. The run-time system includes an interpreter which is capable of handling condition codes corresponding to the non-native architecute. A technique is also provided to jacket calls between the two execution enviroments and to support object based services. Preferred techniques are also provide to determine interprocedural translation units. Further, intermixed translation/optimization techniques are discussed.

    摘要翻译: 一种用于执行二进制图像转换系统的计算机系统,其将来自第一非本机计算机系统的指令集的指令转换为第二,不同的本地计算机系统,包括运行时系统,其响应于非本地图像 为非本地指令集编写的应用程序提供本机指令或本地指令例程。 运行时系统响应于本地指令的执行而收集简档数据,以确定非本地指令的执行特性。 此后,非本地指令和简档统计信息被馈送到在后台模式下操作的二进制翻译器,并且响应于由运行时系统生成的简档数据以形成翻译的本机图像。 运行时系统和二进制翻译器都在服务器进程的控制之下。 非原始图像在两个不同的环境中执行,第一部分被执行作为解释图像,剩余部分作为翻译图像。 运行时系统包括能够处理与非本机结构对应的条件代码的解释器。 还提供了一种技术,用于在两个执行环境之间夹紧呼叫并支持基于对象的服务。 还提供优选的技术来确定过程间平移单位。 此外,讨论了混合翻译/优化技术。

    Fast translation and execution of a computer program on a non-native
architecture by use of background translator
    3.
    发明授权
    Fast translation and execution of a computer program on a non-native architecture by use of background translator 失效
    通过使用背景翻译器在非本地架构上快速翻译和执行计算机程序

    公开(公告)号:US6091897A

    公开(公告)日:2000-07-18

    申请号:US593588

    申请日:1996-01-29

    IPC分类号: G06F9/455 G06F5/00

    CPC分类号: G06F9/45516

    摘要: A computer system for executing a binary image conversion system which converts instructions from a instruction set of a first, non native computer system to a second, different native computer system, includes an run-time system which in response to a non-native image of an application program written for a non-native instruction set provides an native instruction or a native instruction routine. The run-time system collects profile data in response to execution of the native instructions to determine execution characteristics of the non-native instruction. Thereafter, the non-native instructions and the profile statistics are fed to a binary translator operating in a background mode and which is responsive to the profile data generated by the run-time system to form a translated native image. The run-time system and the binary translator are under the control of a server process. The non-native image is executed in two different environments with first portion executed as an interpreted image and remaining portions as a translated image. The run-time system includes an interpreter which is capable of handling condition codes corresponding to the non-native architecture. A technique is also provided to jacket calls between the two execution environments and to support object based services. Preferred techniques are also provided to determine interprocedural translation units. Further, intermixed translation/optimization techniques are discussed.

    摘要翻译: 一种用于执行二进制图像转换系统的计算机系统,其将来自第一非本机计算机系统的指令集的指令转换为第二不同本机计算机系统,包括运行时系统,其响应于非本地图像 为非本地指令集编写的应用程序提供本机指令或本地指令例程。 运行时系统响应于本地指令的执行而收集简档数据,以确定非本地指令的执行特性。 此后,非本地指令和简档统计信息被馈送到在后台模式下操作的二进制翻译器,并且响应于由运行时系统生成的简档数据以形成翻译的本机图像。 运行时系统和二进制翻译器都在服务器进程的控制之下。 非本地图像在两个不同的环境中执行,其中第一部分作为解释图像执行,剩余部分作为翻译图像执行。 运行时系统包括能够处理与非本地架构相对应的条件代码的解释器。 还提供了一种技术,用于在两个执行环境之间护送呼叫并支持基于对象的服务。 还提供了优选的技术来确定过程间平移单位。 此外,讨论了混合翻译/优化技术。

    System for reporting errors of a translated program and using a boundry
instruction bitmap to determine the corresponding instruction address
in a source program
    5.
    发明授权
    System for reporting errors of a translated program and using a boundry instruction bitmap to determine the corresponding instruction address in a source program 失效
    用于报告翻译程序的错误并使用边界指令位图来确定源程序中的相应指令地址的系统

    公开(公告)号:US5432795A

    公开(公告)日:1995-07-11

    申请号:US700770

    申请日:1991-05-15

    申请人: Scott G. Robinson

    发明人: Scott G. Robinson

    摘要: In a situation where a first computer program has been translated to obtain a second computer program, an error occurring during execution of the second computer program is reported in the context of the first program. This is done by aborting execution of the second computer program when the error occurs; determining a first address which is the address of the instruction in the second computer program that caused the error; determining from the first address a second address of an instruction in the first computer program from which the instruction in the second computer program was translated; and reporting that the error occurred, and using the second address to indicate that the error is associated with the instruction in the first computer program. Preferably the second address is used to reference traceback and symbolic name information generated when the first computer program is compiled from source code. The traceback information provides the line number of the source code from which the instruction in the first computer program was compiled, and the symbolic name information provides the name of a routine containing the instruction in the first program or a variable used by the instruction.

    摘要翻译: 在第一计算机程序被翻译以获得第二计算机程序的情况下,在第一程序的上下文中报告在执行第二计算机程序期间发生的错误。 这是通过在发生错误时中止第二个计算机程序的执行完成的; 确定作为导致该错误的第二计算机程序中的指令的地址的第一地址; 从所述第一地址确定所述第二计算机程序中的指令从所述第一计算机程序中的指令的第二地址; 并报告发生错误,并使用第二个地址来指示错误与第一个计算机程序中的指令相关联。 优选地,第二地址用于引用当从源代码编译第一​​计算机程序时生成的追溯和符号名称信息。 回溯信息提供编译第一个计算机程序中的指令的源代码的行号,符号名称信息提供包含第一个程序中的指令或指令使用的变量的例程的名称。

    System and method for preserving instruction granularity when
translating program code from a computer having a first architecture to
a computer having a second reduced architecture during the occurrence
of interrupts due to asynchronous events
    7.
    发明授权
    System and method for preserving instruction granularity when translating program code from a computer having a first architecture to a computer having a second reduced architecture during the occurrence of interrupts due to asynchronous events 失效
    用于在由于异步事件发生中断期间将程序代码从具有第一架构的计算机转换为具有第二简化架构的计算机的计算机时保持指令粒度的系统和方法

    公开(公告)号:US5307504A

    公开(公告)日:1994-04-26

    申请号:US666025

    申请日:1991-03-07

    摘要: A computer program of complex instruction set code (CISC) is translated to produce a program of reduced instruction set code (RISC). Each CISC instruction is translated into a sequence of RISC instructions. The sequence includes in order four groups of instructions. The first group includes instructions that get inputs and place them in temporary storage. The second group includes instructions that operate on the inputs and place results in temporary storage. The third group includes instructions that update memory or register state and are subject to possible exceptions. The fourth group includes instructions that update memory or register state and are free of possible exceptions. When execution of the RISC program is interrupted by an asynchronous event, the RISC instruction being executed at the time of the interrupt is recorded and allowed to complete. The recorded instruction is checked against a bit map to determine whether it is a boundary instruction for the instruction sequence being executed, and if it is, then asynchronous event processing is permitted. If not, then a program counter for the RISC code is aligned with the next backup boundary instruction if any instruction remaining to be executed is subject to a possible exception. If no instruction subject to a possible exception is found, the remaining instructions in the sequence are executed while moving the program counter to the next forward boundary instruction and thereafter permitting asynchronous event processing.

    摘要翻译: 转换复杂指令集代码(CISC)的计算机程序以产生简化指令集代码(RISC)的程序。 每个CISC指令被转换成一系列RISC指令。 该顺序包括四组指令。 第一组包括获取输入并将其放置在临时存储中的指令。 第二组包括对输入进行操作的指令,并将结果放置在临时存储中。 第三组包括更新内存或注册状态的指令,并可能会有例外。 第四组包括更新内存或注册状态的指令,并且没有可能的例外。 当RISC程序的执行被异步事件中断时,在中断时执行的RISC指令被记录并被允许完成。 根据位映射检查记录的指令,以确定它是否是正在执行的指令序列的边界指令,如果是,则允许异步事件处理。 如果没有,则如果剩余的执行指令受到可能的异常,则RISC代码的程序计数器与下一个备份边界指令对齐。 如果没有发现可能的异常的指令,则在将程序计数器移动到下一个前向边界指令的同时执行该序列中的剩余指令,然后允许异步事件处理。

    System and method for preserving instruction state-atomicity for
translated program
    8.
    发明授权
    System and method for preserving instruction state-atomicity for translated program 失效
    用于保存翻译程序的指令状态原子性的系统和方法

    公开(公告)号:US5636366A

    公开(公告)日:1997-06-03

    申请号:US549889

    申请日:1995-10-30

    摘要: A system or method is provided for translating a first program code to a second program code and for executing the second program code while preserving instruction state-atomicity of the first code. The first program code is executable on a computer having a first architecture adapted to a first instruction set and the second program code is executable on a computer having a memory and register state and a second architecture adapted to a second instruction set that is reduced relative to the first instruction set.A first computer translates the first code instructions to corresponding second code instructions in accordance with a pattern code that defines first code instructions in terms of second code instructions. The second code instructions for each first code instruction organized in a granular instruction sequence having in order at least two groups, a first group having a first subgroup including second code read instructions and a second subgroup including modify instructions and a second group having a third subgroup including state update instructions subject to exception, including any special write instruction required to implement the first code instruction being translated, and a fourth subgroup including state update instructions free of exception.

    摘要翻译: 提供了一种用于将第一程序代码转换为第二程序代码并用于执行第二程序代码同时保持第一代码的指令状态原子性的系统或方法。 第一程序代码可在具有适于第一指令集的第一架构的计算机上执行,并且第二程序代码可在具有存储器和寄存器状态的计算机上执行,以及适于相对于第二指令集减少的第二指令集的第二架构 第一个指令集 第一计算机根据第二代码指令定义第一代码指令的模式代码将第一代码指令转换为对应的第二代码指令。 按照具有至少两组的粒度指令序列组织的每个第一代码指令的第二代码指令,第一组具有包括第二代码读指令的第一子组和包括修改指令的第二子组,以及具有第三子组的第二组 包括受异常的状态更新指令,包括实现要转换的第一代码指令所需的特殊写入指令,以及包括状态更新指令的第四子组。