Runtime activation and version selection
    1.
    发明授权
    Runtime activation and version selection 有权
    运行时激活和版本选择

    公开(公告)号:US08522227B2

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

    申请号:US12545881

    申请日:2009-08-24

    IPC分类号: G06F9/44

    CPC分类号: G06F8/71 G06F9/44536

    摘要: A runtime activation system uses a set of policies designed to provide a balance between backwards compatibility and ease of migrating existing (non side-by-side aware) applications to new runtime versions. The system chooses the runtime version to activate when an application runs or when a runtime application programming interface is invoked based on the set of policies. The system implements these policies by consulting compatibility data associated with the application indicating the intent of the author and level of side-by-side support provided by the application and/or global configuration data. Based on the compatibility data, the system chooses policies that are right in the most common cases, and easy to modify in less common cases. Thus, the runtime activation system allows applications to be flexibly configured to handle new runtime versions in a manner determined by the application author, a system administrator, or others.

    摘要翻译: 运行时激活系统使用一组策略,旨在提供向后兼容性和易于将现有(非并行感知)应用程序迁移到新运行时版本之间的平衡。 系统选择运行时版本,以便在应用程序运行时或基于一组策略调用运行时应用程序编程接口时进行激活。 该系统通过咨询与应用程序相关联的兼容性数据来实现这些策略,指示作者的意图以及由应用和/或全局配置数据提供的并行支持的级别。 基于兼容性数据,系统选择最常见情况下正确的策略,在较不常见的情况下易于修改。 因此,运行时激活系统允许应用程序被灵活地配置为以应用程序作者,系统管理员或其他人确定的方式处理新的运行时版本。

    RUNTIME ACTIVATION AND VERSION SELECTION
    2.
    发明申请
    RUNTIME ACTIVATION AND VERSION SELECTION 有权
    运行激活和版本选择

    公开(公告)号:US20110047536A1

    公开(公告)日:2011-02-24

    申请号:US12545881

    申请日:2009-08-24

    IPC分类号: G06F9/44

    CPC分类号: G06F8/71 G06F9/44536

    摘要: A runtime activation system uses a set of policies designed to provide a balance between backwards compatibility and ease of migrating existing (non side-by-side aware) applications to new runtime versions. The system chooses the runtime version to activate when an application runs or when a runtime application programming interface is invoked based on the set of policies. The system implements these policies by consulting compatibility data associated with the application indicating the intent of the author and level of side-by-side support provided by the application and/or global configuration data. Based on the compatibility data, the system chooses policies that are right in the most common cases, and easy to modify in less common cases. Thus, the runtime activation system allows applications to be flexibly configured to handle new runtime versions in a manner determined by the application author, a system administrator, or others.

    摘要翻译: 运行时激活系统使用一组策略,旨在提供向后兼容性和易于将现有(非并行感知)应用程序迁移到新运行时版本之间的平衡。 系统选择运行时版本,以便在应用程序运行时或基于一组策略调用运行时应用程序编程接口时进行激活。 该系统通过咨询与应用程序相关联的兼容性数据来实现这些策略,指示作者的意图以及由应用和/或全局配置数据提供的并行支持的级别。 基于兼容性数据,系统选择最常见情况下正确的策略,在较不常见的情况下易于修改。 因此,运行时激活系统允许应用程序被灵活地配置为以应用程序作者,系统管理员或其他人确定的方式处理新的运行时版本。

    Simulation of static members and parameterized constructors on an interface-based API
    3.
    发明授权
    Simulation of static members and parameterized constructors on an interface-based API 有权
    在基于接口的API上模拟静态成员和参数化构造函数

    公开(公告)号:US09183001B2

    公开(公告)日:2015-11-10

    申请号:US13350552

    申请日:2012-01-13

    IPC分类号: G06F9/45 G06F9/44

    CPC分类号: G06F9/443 G06F9/449

    摘要: Embodiments are directed to providing a simulation of a type-level construct on an interface instance and to maintaining a token-based event handling system. In one scenario, a computer system instantiates an interface instance that includes an instance object and multiple instance members. The computer system also instantiates a separate typed object which is configured to maintain one or more simulated type-level parameterized constructors. The computer system then associates the instantiated interface instance with the separate typed object. The typed object routes method invocations from the interface instance to various simulated type-level parameterized constructors and static members of the type.

    摘要翻译: 实施例旨在提供在接口实例上的类型级结构的模拟并且维护基于令牌的事件处理系统。 在一种情况下,计算机系统实例化包含实例对象和多个实例成员的接口实例。 计算机系统还实例化一个单独的类型对象,该对象被配置为维护一个或多个模拟类型级参数化构造函数。 然后,计算机系统将实例化的接口实例与单独的类型对象相关联。 类型化对象将接口实例的方法调用到各种模拟类型级参数化构造函数和类型的静态成员。

    SIMULATION OF STATIC MEMBERS AND PARAMETERIZED CONSTRUCTORS ON AN INTERFACE-BASED API
    4.
    发明申请
    SIMULATION OF STATIC MEMBERS AND PARAMETERIZED CONSTRUCTORS ON AN INTERFACE-BASED API 有权
    基于界面的API模拟静态成员和参数化构造器

    公开(公告)号:US20130066622A1

    公开(公告)日:2013-03-14

    申请号:US13350552

    申请日:2012-01-13

    IPC分类号: G06F9/45 G06F9/44

    CPC分类号: G06F9/443 G06F9/449

    摘要: Embodiments are directed to providing a simulation of a type-level construct on an interface instance and to maintaining a token-based event handling system. In one scenario, a computer system instantiates an interface instance that includes an instance object and multiple instance members. The computer system also instantiates a separate typed object which is configured to maintain one or more simulated type-level parameterized constructors. The computer system then associates the instantiated interface instance with the separate typed object. The typed object routes method invocations from the interface instance to various simulated type-level parameterized constructors and static members of the type.

    摘要翻译: 实施例旨在提供在接口实例上的类型级结构的模拟并且维护基于令牌的事件处理系统。 在一种情况下,计算机系统实例化包含实例对象和多个实例成员的接口实例。 计算机系统还实例化一个单独的类型对象,该对象被配置为维护一个或多个模拟类型级参数化构造函数。 然后,计算机系统将实例化的接口实例与单独的类型对象相关联。 类型化对象将接口实例的方法调用到各种模拟类型级参数化构造函数和类型的静态成员。

    Efficiently providing multiple metadata representations of the same type
    5.
    发明授权
    Efficiently providing multiple metadata representations of the same type 有权
    有效地提供相同类型的多个元数据表示

    公开(公告)号:US08849996B2

    公开(公告)日:2014-09-30

    申请号:US13350604

    申请日:2012-01-13

    IPC分类号: G06F15/16 G06F17/30

    摘要: Embodiments are directed to dynamically adapting metadata for use with a native data encoding and to efficiently modifying object model type references. In one scenario, a computer system instantiates a metadata reader over an object model description to access various portions of metadata in the object model description. The metadata reader is configured to read native metadata, where native metadata is metadata represented in an encoding that is expected by the metadata reader. The metadata reader determines that the accessed metadata is encoded in a non-native encoding and then determines which metadata modifications are to be performed to transform the non-native encoding into a native encoding. The computer system then dynamically adapts the metadata of the object model from a non-native encoding to a native encoding according to the determined modifications. As such, the object model is readable by a native runtime.

    摘要翻译: 实施例旨在动态地适应用于本地数据编码的元数据并且有效地修改对象模型类型引用。 在一种情况下,计算机系统通过对象模型描述实例化元数据读取器以访问对象模型描述中的元数据的各个部分。 元数据读取器被配置为读取本机元数据,其中原始元数据是以元数据读取器预期的编码表示的元数据。 元数据读取器确定所访问的元数据以非本地编码进行编码,然后确定要执行哪些元数据修改以将非本地编码转换为本地编码。 然后,计算机系统根据所确定的修改,将对象模型的元数据从非本地编码动态地适应到本地编码。 因此,对象模型可以由本机运行时读取。

    EFFICIENTLY PROVIDING MULTIPLE METADATA REPRESENTATIONS OF THE SAME TYPE
    6.
    发明申请
    EFFICIENTLY PROVIDING MULTIPLE METADATA REPRESENTATIONS OF THE SAME TYPE 有权
    有效提供相同类型的多个元数据表示

    公开(公告)号:US20130067053A1

    公开(公告)日:2013-03-14

    申请号:US13350604

    申请日:2012-01-13

    IPC分类号: G06F11/00

    摘要: Embodiments are directed to dynamically adapting metadata for use with a native data encoding and to efficiently modifying object model type references. In one scenario, a computer system instantiates a metadata reader over an object model description to access various portions of metadata in the object model description. The metadata reader is configured to read native metadata, where native metadata is metadata represented in an encoding that is expected by the metadata reader. The metadata reader determines that the accessed metadata is encoded in a non-native encoding and then determines which metadata modifications are to be performed to transform the non-native encoding into a native encoding. The computer system then dynamically adapts the metadata of the object model from a non-native encoding to a native encoding according to the determined modifications. As such, the object model is readable by a native runtime.

    摘要翻译: 实施例旨在动态地适应用于本地数据编码的元数据并且有效地修改对象模型类型引用。 在一种情况下,计算机系统通过对象模型描述实例化元数据读取器以访问对象模型描述中的元数据的各个部分。 元数据读取器被配置为读取本机元数据,其中原始元数据是以元数据读取器预期的编码表示的元数据。 元数据读取器确定所访问的元数据以非本地编码进行编码,然后确定要执行哪些元数据修改以将非本地编码变换为本地编码。 然后,计算机系统根据所确定的修改,将对象模型的元数据从非本地编码动态地适应到本地编码。 因此,对象模型可以由本机运行时读取。

    Simulating operations through out-of-process execution
    9.
    发明授权
    Simulating operations through out-of-process execution 有权
    通过进程外执行来模拟操作

    公开(公告)号:US08423961B2

    公开(公告)日:2013-04-16

    申请号:US12134908

    申请日:2008-06-06

    IPC分类号: G06F9/44

    CPC分类号: G06F11/366

    摘要: The present invention extends to methods, systems, and computer program products for simulating operations through out-of-process execution. When a diagnostic operation is to be performed for a target execution context, a separate execution context is created based on the same executable code used to create the target execution context. An execution boundary separates the target execution context and the separate execution context such that execution in the separate execution context does not influence the behavior of the target execution context. State data from the target execution context is marshaled and transferred to the separate execution context. The separate execution context reconstitutes the state data and uses the state data to perform the diagnostic operation. Accordingly, performance of the diagnostic operation is simulated in the separate execution context without influencing the behavior of the target execution context.

    摘要翻译: 本发明扩展到用于通过进程外执行来模拟操作的方法,系统和计算机程序产品。 当对目标执行上下文执行诊断操作时,将基于用于创建目标执行上下文的相同可执行代码创建单独的执行上下文。 执行边界分离目标执行上下文和单独的执行上下文,使得在单独执行上下文中的执行不影响目标执行上下文的行为。 来自目标执行上下文的状态数据被封送并传送到单独的执行上下文。 单独的执行上下文重构状态数据,并使用状态数据执行诊断操作。 因此,诊断操作的执行在单独的执行上下文中被模拟,而不影响目标执行上下文的行为。

    System and method for customized error reporting
    10.
    发明授权
    System and method for customized error reporting 有权
    自定义错误报告的系统和方法

    公开(公告)号:US08479051B2

    公开(公告)日:2013-07-02

    申请号:US12358708

    申请日:2009-01-23

    IPC分类号: G06F11/00

    CPC分类号: G06F11/0781 G06F11/0715

    摘要: An error reporting system within the operating system of a computer that provides error reporting and/or debugging for managed applications. The error reporting service supports a registration programming interface through which applications that use non-native or non-standard error reporting functions can register runtime exception modules. A similar interface may be provided for applications to register debuggers. In response to a failure, such as a crash or an application hang, the error reporting service can poll the registered components to ascertain whether any is adapted for use in conjunction with such a failure. If so, the appropriate registered components can be used to collect failure data and/or debug the failed application. In this way, the error reporting service, and an existing framework that supports aggregation of application error reports, can be customized, including to allow error reporting and debugging of non-native applications.

    摘要翻译: 计算机操作系统中的错误报告系统,为受管应用程序提供错误报告和/或调试。 错误报告服务支持注册编程接口,使用非本机或非标准错误报告功能的应用程序可以注册运行时异常模块。 可以为应用程序提供类似的接口来注册调试器。 响应于诸如崩溃或应用程序挂起的故障,错误报告服务可以轮询已注册的组件以确定是否适合与此类故障一起使用。 如果是这样,可以使用适当的注册组件来收集故障数据和/或调试失败的应用程序。 通过这种方式,可以自定义错误报告服务和支持应用程序错误报告聚合的现有框架,包括允许非本地应用程序的错误报告和调试。