Managing object lifetime in a cyclic graph
    1.
    发明授权
    Managing object lifetime in a cyclic graph 有权
    在循环图中管理对象生命周期

    公开(公告)号:US09053017B2

    公开(公告)日:2015-06-09

    申请号:US13598247

    申请日:2012-08-29

    IPC分类号: G06F12/00 G06F17/30 G06F12/02

    摘要: The present invention extends to methods, systems, and computer program products for managing object lifetime in a cyclic graph. Embodiments of the invention include reclaiming allocated system resources, for example, from a graph of objects that mixes different resource reclamation techniques (such as reference counting and garbage collection). In response to determining that garbage collection is to be performed, references between GC objects and Ref. Counted objects are detected. A reference type (e.g., direct, indirect, standard, tracked, weakened, etc.) for any detected references is also determined. Garbage collection is performed to determine if any allocated system resources can be reclaimed. Garbage collection considers references and references types between GC objects and Ref. Counted objects when determining if objects are to be reclaimed.

    摘要翻译: 本发明扩展到用于在循环图中管理对象寿命的方法,系统和计算机程序产品。 本发明的实施例包括例如从混合不同的资源回收技术(例如引用计数和垃圾回收)的对象的图形中回收所分配的系统资源。 响应确定要执行垃圾收集,GC对象和参考文献之间的引用。 检测到计数对象。 还确定了任何检测到的参考的参考类型(例如,直接,间接,标准,跟踪,削弱等)。 执行垃圾收集以确定是否可以回收任何已分配的系统资源。 垃圾收集考虑GC对象和Ref之间的引用和引用类型。 确定对象是否要回收时的计数对象。

    MANAGING OBJECT LIFETIME IN A CYCLIC GRAPH

    公开(公告)号:US20130066927A1

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

    申请号:US13598247

    申请日:2012-08-29

    IPC分类号: G06F17/30

    摘要: The present invention extends to methods, systems, and computer program products for managing object lifetime in a cyclic graph. Embodiments of the invention include reclaiming allocated system resources, for example, from a graph of objects that mixes different resource reclamation techniques (such as reference counting and garbage collection). In response to determining that garbage collection is to be performed, references between GC objects and Ref. Counted objects are detected. A reference type (e.g., direct, indirect, standard, tracked, weakened, etc.) for any detected references is also determined. Garbage collection is performed to determine if any allocated system resources can be reclaimed. Garbage collection considers references and references types between GC objects and Ref. Counted objects when determining if objects are to be reclaimed.

    Unified metadata for external components
    3.
    发明授权
    Unified metadata for external components 有权
    外部组件的统一元数据

    公开(公告)号:US09417931B2

    公开(公告)日:2016-08-16

    申请号:US12144724

    申请日:2008-06-24

    IPC分类号: G06F17/30 G06F9/54 G06F9/44

    CPC分类号: G06F9/541 G06F9/449

    摘要: A system and method for facilitating execution of multiple assemblies in a framework, in which the assemblies use a component external to the framework, is provided. A runtime manager may retrieve metadata from each of the assemblies, and selectively insert the metadata into a unified types object, so that metadata corresponding to equivalent type definitions is shared. When each assembly is executed, the combined metadata may be used to invoke or otherwise interact with the external component.

    摘要翻译: 提供了一种用于在框架中执行多个组件的系统和方法,其中组件使用框架外部的组件。 运行时管理器可以从每个组件中检索元数据,并且有选择地将元数据插入到统一类型对象中,从而共享与等效类型定义相对应的元数据。 当执行每个程序集时,可以使用组合的元数据来调用或以其他方式与外部组件交互。

    Host control of partial trust accessibility
    5.
    发明授权
    Host control of partial trust accessibility 有权
    主机控制部分信任可访问性

    公开(公告)号:US08402532B2

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

    申请号:US11801714

    申请日:2007-05-10

    CPC分类号: G06F21/52

    摘要: Various technologies and techniques are disclosed for providing host control of partial trust accessibility. A framework allows libraries to be identified as partial trust callers allowed to indicate that the libraries are allowed to be called from partially trusted code by default. The framework allows libraries to be identified as partial trust callers enabled to indicate the libraries could be called from partially trusted code, but not by default. A hosting application is notified that a particular library has been loaded. If the particular library has been identified as partial trust callers allowed, then a determination is received from the hosting application on whether to remove or keep partial trust accessibility for the particular library. If the particular library has been identified as partial trust callers enabled, then a determination is received from the hosting application on whether or not to enable partial trust accessibility for the particular library.

    摘要翻译: 公开了各种技术和技术,用于提供部分信任可访问性的主机控制。 框架允许将库识别为部分信任调用者,以允许默认情况下允许从部分受信任的代码调用库。 框架允许将库识别为启用的部分信任调用者,以指示可以从部分受信任的代码调用库,但不会默认。 通知托管应用程序已加载特定的库。 如果特定图书馆已经被识别为允许的部分信任来电者,则从主机应用程序接收到是否删除或保留特定图书馆的部分信任可访问性的确定。 如果特定库被识别为启用的部分信任调用者,则从托管应用程序接收是否启用特定库的部分信任可访问性的确定。

    Transparent and sub-classable proxies
    8.
    发明授权
    Transparent and sub-classable proxies 有权
    透明和次级代理

    公开(公告)号:US07647597B2

    公开(公告)日:2010-01-12

    申请号:US11180335

    申请日:2005-07-13

    CPC分类号: G06F9/548 G06F2209/542

    摘要: A system and method for interacting with an object is provided. The system includes a method call interceptor that intercepts a method call made on an object and that routes the method call to a proxy. The method call interceptor is accessible to application code. The system also includes an application code generic proxy that after overriding a base class invocation method can receive intercepted method calls, can invoke methods on the object that the proxy images, can receive results from the object that the proxy images and can pass results to the entity that generated the intercepted method call.

    摘要翻译: 提供了一种与对象交互的系统和方法。 该系统包括一个方法调用拦截器,用于截取对象上进行的方法调用,并将方法调用路由到代理。 应用程序代码可访问方法调用拦截器。 该系统还包括应用程序代码通用代理,在覆盖基类调用方法后可以接收截取的方法调用,可以调用对象上的代理映像的方法,可以从对象接收代理映像的结果,并将结果传递给 生成拦截方法调用的实体。