Type descriptor management for frozen objects
    3.
    发明授权
    Type descriptor management for frozen objects 有权
    键入描述符管理冻结对象

    公开(公告)号:US08316357B2

    公开(公告)日:2012-11-20

    申请号:US12203857

    申请日:2008-09-03

    IPC分类号: G06F9/45

    摘要: The efficient use of type descriptors with frozen objects. A frozen object might actually include several type descriptors, a primary type descriptor that is canonical according to a set of canonicalization rules, and an auxiliary type descriptor that is not identical to the primary type descriptor. The auxiliary type descriptor may be used to access the canonical type descriptor. When performing an operation, if the auxiliary type descriptor can be used to perform the operation, then that auxiliary type descriptor may be used. If the canonical type descriptor is to be used to perform the operation, the auxiliary type descriptor is used to gain access to the canonical primary type descriptor. The primary type descriptor is then used to perform the operation.

    摘要翻译: 类型描述符与冻结对象的有效使用。 一个被冻结的对象实际上可能包含几个类型描述符,根据一组规范化规则是规范的主类型描述符,以及与主类型描述符不相同的辅助类型描述符。 辅助类型描述符可用于访问规范类型描述符。 当执行操作时,如果可以使用辅助类型描述符来执行操作,则可以使用该辅助类型描述符。 如果要使用规范类型描述符来执行操作,则使用辅助类型描述符来访问规范的主类型描述符。 然后使用主类型描述符执行操作。

    TYPE DESCRIPTOR MANAGEMENT FOR FROZEN OBJECTS
    4.
    发明申请
    TYPE DESCRIPTOR MANAGEMENT FOR FROZEN OBJECTS 有权
    冷冻对象的类型描述符管理

    公开(公告)号:US20100058304A1

    公开(公告)日:2010-03-04

    申请号:US12203857

    申请日:2008-09-03

    IPC分类号: G06F9/45

    摘要: The efficient use of type descriptors with frozen objects. A frozen object might actually include several type descriptors, a primary type descriptor that is canonical according to a set of canonicalization rules, and an auxiliary type descriptor that is not identical to the primary type descriptor. The auxiliary type descriptor may be used to access the canonical type descriptor. When performing an operation, if the auxiliary type descriptor can be used to perform the operation, then that auxiliary type descriptor may be used. If the canonical type descriptor is to be used to perform the operation, the auxiliary type descriptor is used to gain access to the canonical primary type descriptor. The primary type descriptor is then used to perform the operation.

    摘要翻译: 类型描述符与冻结对象的有效使用。 一个被冻结的对象实际上可能包含几个类型描述符,根据一组规范化规则是规范的主类型描述符,以及与主类型描述符不相同的辅助类型描述符。 辅助类型描述符可用于访问规范类型描述符。 当执行操作时,如果可以使用辅助类型描述符来执行操作,则可以使用该辅助类型描述符。 如果要使用规范类型描述符来执行操作,则使用辅助类型描述符来访问规范的主类型描述符。 然后使用主类型描述符执行操作。

    Handling exceptions related to corrupt application state

    公开(公告)号:US10346199B2

    公开(公告)日:2019-07-09

    申请号:US12421649

    申请日:2009-04-10

    IPC分类号: G06F9/38 G06F9/48

    摘要: An exception handling system is described herein that provides one or more distinguished classes of software exceptions that are handled differently than other exceptions. The system treats a distinguished exception as a “hard to catch” exception that is not passed to the catch block of program code unless a developer performs extra steps to acknowledge the distinguished nature of the exception and confirm that the program code is prepared to properly handle the exception. Exceptions that fall into this class are typically those that represent conditions from which normal exception handling practices cannot successfully recover, namely exceptions that corrupt application state. Accordingly, the system prevents the developer from catching these classes of exceptions by default unless the developer explicitly requests to have these exceptions delivered to the program code. Thus, the exception handling system encourages correct programming practices by preventing developer error by default.

    EXCEPTION RAISED NOTIFICATION
    7.
    发明申请
    EXCEPTION RAISED NOTIFICATION 有权
    例外提示通知

    公开(公告)号:US20100287414A1

    公开(公告)日:2010-11-11

    申请号:US12436175

    申请日:2009-05-06

    IPC分类号: G06F9/54 G06F11/36

    CPC分类号: G06F11/0715 G06F11/0778

    摘要: An exception notification system is described herein that provides an early notification that a software exception has occurred before exception handling code has run. The exception notification system receives a registration request from program code to register a handler to receive an early notification when an exception occurs. When an exception occurs, the system raises an event that calls each registered handler. After the handler returns, the system performs normal exception handling, so that the early notification does not change existing exception-handling behavior. The exception notification system allows a program to inspect and log an exception before the program state has been modified by exception handling. The program code can capture detailed information about the cause of the exception to enable further offline analysis. Thus, the exception notification system allows developers to improve their programs by receiving more information about unexpected conditions in the program code.

    摘要翻译: 本文描述了例外通知系统,其提供在异常处理代码已经运行之前发生软件异常的早期通知。 异常通知系统从程序代码接收注册请求,以在发生异常时注册处理程序以接收到早期通知。 当发生异常时,系统引发一个调用每个注册处理程序的事件。 处理程序返回后,系统执行正常的异常处理,以便早期通知不会更改现有的异常处理行为。 例外通知系统允许程序在通过异常处理修改程序状态之前检查并记录异常。 程序代码可以捕获有关异常原因的详细信息,以进一步进行离线分析。 因此,异常通知系统允许开发人员通过接收关于程序代码中的意外状况的更多信息来改进他们的程序。

    Exception raised notification
    9.
    发明授权
    Exception raised notification 有权
    异常提出通知

    公开(公告)号:US08074116B2

    公开(公告)日:2011-12-06

    申请号:US12436175

    申请日:2009-05-06

    IPC分类号: G06F11/00

    CPC分类号: G06F11/0715 G06F11/0778

    摘要: An exception notification system is described herein that provides an early notification that a software exception has occurred before exception handling code has run. The exception notification system receives a registration request from program code to register a handler to receive an early notification when an exception occurs. When an exception occurs, the system raises an event that calls each registered handler. After the handler returns, the system performs normal exception handling, so that the early notification does not change existing exception-handling behavior. The exception notification system allows a program to inspect and log an exception before the program state has been modified by exception handling. The program code can capture detailed information about the cause of the exception to enable further offline analysis. Thus, the exception notification system allows developers to improve their programs by receiving more information about unexpected conditions in the program code.

    摘要翻译: 本文描述了例外通知系统,其提供在异常处理代码已经运行之前发生软件异常的早期通知。 异常通知系统从程序代码接收注册请求,以在发生异常时注册处理程序以接收到早期通知。 当发生异常时,系统引发一个调用每个注册处理程序的事件。 处理程序返回后,系统执行正常的异常处理,以便早期通知不会更改现有的异常处理行为。 例外通知系统允许程序在通过异常处理修改程序状态之前检查并记录异常。 程序代码可以捕获有关异常原因的详细信息,以进一步进行离线分析。 因此,异常通知系统允许开发人员通过接收关于程序代码中的意外状况的更多信息来改进他们的程序。

    HANDLING EXCEPTIONS RELATED TO CORRUPT APPLICATION STATE
    10.
    发明申请
    HANDLING EXCEPTIONS RELATED TO CORRUPT APPLICATION STATE 审中-公开
    与腐败申请国相关的处理例外情况

    公开(公告)号:US20100262814A1

    公开(公告)日:2010-10-14

    申请号:US12421649

    申请日:2009-04-10

    IPC分类号: G06F9/38

    CPC分类号: G06F9/4812 G06F9/3861

    摘要: An exception handling system is described herein that provides one or more distinguished classes of software exceptions that are handled differently than other exceptions. The system treats a distinguished exception as a “hard to catch” exception that is not passed to the catch block of program code unless a developer performs extra steps to acknowledge the distinguished nature of the exception and confirm that the program code is prepared to properly handle the exception. Exceptions that fall into this class are typically those that represent conditions from which normal exception handling practices cannot successfully recover, namely exceptions that corrupt application state. Accordingly, the system prevents the developer from catching these classes of exceptions by default unless the developer explicitly requests to have these exceptions delivered to the program code. Thus, the exception handling system encourages correct programming practices by preventing developer error by default.

    摘要翻译: 本文描述了异常处理系统,其提供与其他异常不同的处理的一个或多个不同类别的软件异常。 该系统将一个明显的异常视为一个“难以捕获”的异常,它不传递给程序代码的catch块,除非开发人员执行额外的步骤来确认异常的区别性质,并确认程序代码准备妥善处理 例外。 属于此类的异常通常是表示正常异常处理实践无法成功恢复的条件,即损坏应用程序状态的异常。 因此,除非开发人员明确请求将这些异常传递给程序代码,否则系统会阻止开发人员默认捕获这些异常类。 因此,异常处理系统通过防止开发人员错误来鼓励正确的编程实践。