Memory usage data collection and analysis for dynamic objects
    1.
    发明授权
    Memory usage data collection and analysis for dynamic objects 有权
    动态对象的内存使用数据收集和分析

    公开(公告)号:US08924437B2

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

    申请号:US13418343

    申请日:2012-03-13

    IPC分类号: G06F17/30

    CPC分类号: G06F11/3612

    摘要: A script engine for a dynamic language can collect memory allocation information for dynamic objects created by the scripting engine and for dynamic objects created by the script engine host. A native interface can be exposed to a client comprising a software development tool. The software development tool can be a third-party tool. In response to a query, the script engine can take a snapshot of a garbage collector heap and return an object record for each dynamic object in the heap. The object information can include memory allocation information, object type and other information. Multiple snapshots can be taken and the delta between snapshots can be determined and sent to a requestor.

    摘要翻译: 用于动态语言的脚本引擎可以收集由脚本引擎和由脚本引擎主机创建的动态对象创建的动态对象的内存分配信息。 本地界面可以暴露给包含软件开发工具的客户端。 软件开发工具可以是第三方工具。 响应于查询,脚本引擎可以获取垃圾回收器堆的快照,并为堆中的每个动态对象返回一个对象记录。 对象信息可以包括存储器分配信息,对象类型和其他信息。 可以采用多个快照,并且可以确定快照之间的增量并将其发送到请求者。

    MEMORY USAGE DATA COLLECTION AND ANALYSIS FOR DYNAMIC OBJECTS
    2.
    发明申请
    MEMORY USAGE DATA COLLECTION AND ANALYSIS FOR DYNAMIC OBJECTS 有权
    动态对象的内存使用数据收集与分析

    公开(公告)号:US20130246417A1

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

    申请号:US13418343

    申请日:2012-03-13

    IPC分类号: G06F17/30

    CPC分类号: G06F11/3612

    摘要: A script engine for a dynamic language can collect memory allocation information for dynamic objects created by the scripting engine and for dynamic objects created by the script engine host. A native interface can be exposed to a client comprising a software development tool. The software development tool can be a third-party tool. In response to a query, the script engine can take a snapshot of a garbage collector heap and return an object record for each dynamic object in the heap. The object information can include memory allocation information, object type and other information. Multiple snapshots can be taken and the delta between snapshots can be determined and sent to a requestor.

    摘要翻译: 用于动态语言的脚本引擎可以收集由脚本引擎和由脚本引擎主机创建的动态对象创建的动态对象的内存分配信息。 本地界面可以暴露给包含软件开发工具的客户端。 软件开发工具可以是第三方工具。 响应于查询,脚本引擎可以获取垃圾回收器堆的快照,并为堆中的每个动态对象返回一个对象记录。 对象信息可以包括存储器分配信息,对象类型和其他信息。 可以采用多个快照,并且可以确定快照之间的增量并将其发送到请求者。

    Static semantic analysis of dynamic languages
    3.
    发明授权
    Static semantic analysis of dynamic languages 有权
    动态语言的静态语义分析

    公开(公告)号:US08555250B2

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

    申请号:US13149651

    申请日:2011-05-31

    IPC分类号: G06F9/44

    CPC分类号: G06F11/3604

    摘要: Analyzing dynamic source code. A method includes accessing a specific metadata format data structure. The data structure was created by obtaining one or more first data structures defining constructs in a body of dynamic language source code. From the one or more first data structures, identifier information is extracted for one or more of the defined constructs. Knowledge about the constructs is augmented. The metadata format data structure is parsed to compute metrics about the metadata format data structure. The metrics about the metadata format data structure are provided to a user.

    摘要翻译: 分析动态源代码。 一种方法包括访问特定的元数据格式数据结构。 通过获取在动态语言源代码体中定义构造的一个或多个第一数据结构来创建数据结构。 从一个或多个第一数据结构中,为一个或多个所定义的构造提取标识符信息。 关于结构的知识增加了。 分析元数据格式数据结构以计算关于元数据格式数据结构的度量。 关于元数据格式数据结构的指标被提供给用户。

    LOGICAL GROUPING OF PROFILE DATA
    4.
    发明申请
    LOGICAL GROUPING OF PROFILE DATA 有权
    资料数据的逻辑分组

    公开(公告)号:US20130263102A1

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

    申请号:US13430968

    申请日:2012-03-27

    IPC分类号: G06F9/45

    摘要: Profile data can be ascribed to groups as a function of an organizational scheme that defines groups and relationships between groups. The groups can be abstractions over profile data that are meaningful for computer program analysis. Subsequently, grouped data can be disseminated, queried, and visualized in numerous ways to further aid program analysis.

    摘要翻译: 配置文件数据可以归因于作为组之间的组和组之间关系的组织方案的函数的组。 这些组可以是对计算机程序分析有意义的简档数据的抽象。 随后,可以以多种方式传播,查询和可视化分组数据,以进一步帮助方案分析。

    STATE CAPTURE AFTER EXECUTION IN DEPENDENT SEQUENCES
    5.
    发明申请
    STATE CAPTURE AFTER EXECUTION IN DEPENDENT SEQUENCES 有权
    执行相关序列后的状态检测

    公开(公告)号:US20130159978A1

    公开(公告)日:2013-06-20

    申请号:US13329130

    申请日:2011-12-16

    IPC分类号: G06F9/44

    CPC分类号: G06F11/3636

    摘要: The execution of a dynamic code segment sequence that includes at least two code segments in sequence. The first code segment is first executed and the corresponding state of the environment is captured. The second code segment is then executed. When the second code segment is later re-executed, the first code segment is not re-executed again. Rather, the environmental state is set to be the captured state that existed when the first code segment originally executed. Then, the second code segment may be executed without spending the resources required to re-run the first code segment. This may be employed at authoring time, or after deployment time.

    摘要翻译: 动态代码段序列的执行,其顺序包括至少两个代码段。 首先执行第一个代码段,并捕获相应的环境状态。 然后执行第二个代码段。 当第二代码段稍后重新执行时,第一代码段不再被重新执行。 相反,环境状态被设置为当第一代码段最初执行时存在的捕获状态。 然后,可以在不花费重新运行第一代码段所需的资源的情况下执行第二代码段。 这可能在创作时间或部署时间后使用。

    LANGUAGE SERVICE PROVIDER MANAGEMENT USING APPLICATION CONTEXT
    6.
    发明申请
    LANGUAGE SERVICE PROVIDER MANAGEMENT USING APPLICATION CONTEXT 有权
    使用应用程序语言的语言服务提供商管理

    公开(公告)号:US20130159968A1

    公开(公告)日:2013-06-20

    申请号:US13329140

    申请日:2011-12-16

    IPC分类号: G06F9/44

    CPC分类号: G06F8/43

    摘要: A language service provider framework that generates an application context of a dynamic language program being authored. The application context includes a description of the dynamic language application being authored, one or more specific locations within the program, and runtime environment information. A language service provider port component holds one or more language service providers. Each language service provider may receive the application context and generate a set of available symbols corresponding to each of at least one of the identified one or more specific locations. A management component receives the application context from the application context generation component, provides the application context the language service provider, and correspondingly receives the available symbol set from the language service provider. Since the management component provides an application context that also includes runtime environment information, the available symbol set may be more accurately represented, thereby facilitating authoring of dynamic language programs.

    摘要翻译: 语言服务提供者框架,用于生成正在创作的动态语言程序的应用程序上下文。 应用程序上下文包括对正在创作的动态语言应用程序,程序中的一个或多个特定位置以及运行时环境信息的描述。 语言服务提供商端口组件包含一个或多个语言服务提供商。 每个语言服务提供商可以接收应用程序上下文,并且生成对应于所识别的一个或多个特定位置中的至少一个中的每一个的一组可用符号。 管理组件从应用程序上下文生成组件接收应用程序上下文,向应用程序上下文提供语言服务提供者,并相应地从语言服务提供者接收可用符号集。 由于管理组件提供了还包括运行时环境信息的应用程序上下文,所以可以更精确地表示可用的符号集,从而有助于动态语言程序的创作。

    AVAILABLE SYMBOL SET GENERATION USING UNTYPED VARIABLE
    7.
    发明申请
    AVAILABLE SYMBOL SET GENERATION USING UNTYPED VARIABLE 有权
    可用符号设置生成使用不可变的

    公开(公告)号:US20130159967A1

    公开(公告)日:2013-06-20

    申请号:US13329136

    申请日:2011-12-16

    IPC分类号: G06F9/44

    CPC分类号: G06F8/41 G06F8/313

    摘要: The facilitated computation of an available symbol set at code locations in a dynamic language program, in which the program is executed up to a particular halt point for which an available symbol set is to be generated. At the halt point, a type of a value of a particular variable may be used in order to generate the available symbol set. However, at the halt point, the variable does not yet have a value of a useful type (e.g., null or undefined), which is possible in a dynamic language program. Rather than return an error, the principles described herein returns an arbitrary symbol set anyway. Specifically, the variable had previously been annotated with information represented accessed type information for the variable, even though the variable has not formally been defined. This annotated information may be used to generate the available symbol set.

    摘要翻译: 在动态语言程序中的代码位置处的可用符号集合的便利计算,其中程序被执行到要生成可用符号集的特定停止点。 在停止点,可以使用特定变量的值的类型以便生成可用符号集。 然而,在停止点,该变量尚未具有有用类型(例如,空或未定义)的值,这在动态语言程序中是可能的。 不是返回错误,而是在这里所述的原理返回任意的符号集。 具体来说,尽管变量尚未被正式定义,但变量之前已经用变量的已访问信息表示访问类型信息。 该注释信息可用于生成可用符号集。

    LINKING SOURCE CODE TO RUNNING ELEMENT
    8.
    发明申请
    LINKING SOURCE CODE TO RUNNING ELEMENT 审中-公开
    将源代码链接到运行元素

    公开(公告)号:US20120331374A1

    公开(公告)日:2012-12-27

    申请号:US13167229

    申请日:2011-06-23

    IPC分类号: G06F17/00

    CPC分类号: G06F16/957 G06F16/88

    摘要: A method includes parsing a text source document to construct a document node tree such that the document node tree includes text offsets indicating the location of the text within the text source document corresponding to each node of the document node tree. The method includes constructing, from the document node tree, a Document Object Model (DOM) and a view node tree that represents the DOM. The constructing of the view node tree includes mapping the view node tree to the document node tree. The method includes providing a running representation of the DOM such that DOM elements of the DOM are linked to the text within the text source document corresponding to the DOM elements via the view node tree and the document node tree.

    摘要翻译: 一种方法包括解析文本源文档以构建文档节点树,使得文档节点树包括指示文本源文档中与文档节点树的每个节点对应的文本的位置的文本偏移。 该方法包括从文档节点树中构建表示DOM的文档对象模型(DOM)和视图节点树。 视图节点树的构造包括将视图节点树映射到文档节点树。 该方法包括提供DOM的运行表示,使得DOM的DOM元素通过视图节点树和文档节点树链接到与DOM元素对应的文本源文档内的文本。

    AUTOMATED METHOD AND SYSTEM FOR COLLECTING AND REPORTING API PERFORMANCE PROFILES
    9.
    发明申请
    AUTOMATED METHOD AND SYSTEM FOR COLLECTING AND REPORTING API PERFORMANCE PROFILES 有权
    用于收集和报告API性能概要的自动方法和系统

    公开(公告)号:US20110113405A1

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

    申请号:US13004095

    申请日:2011-01-11

    IPC分类号: G06F9/44

    摘要: A method to measure the performance of an Application Programming Interface (API) includes selecting a target API and tracking memory allocation for the functional calls of the selected API to generate a list of functions called by the API. The individual functions are then called within the API in isolation and timing and memory allocation data for each are collected and recorded. The recorded results are then bucketized according to a log base 2 method and made accessible by API users to indicate the performance of specific APIs.

    摘要翻译: 测量应用程序编程接口(API)性能的方法包括选择目标API并跟踪所选API的功能调用的内存分配,以生成API调用的函数列表。 然后单独的功能被隔离在API内调用,并且收集和记录每个功能的定时和内存分配数据。 记录的结果然后根据日志基础2方法进行分组,并由API用户访问以指示特定API的性能。

    Automated method and system for collecting and reporting API performance profiles
    10.
    发明授权
    Automated method and system for collecting and reporting API performance profiles 有权
    用于收集和报告API性能配置文件的自动方法和系统

    公开(公告)号:US07895579B2

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

    申请号:US11454714

    申请日:2006-06-16

    IPC分类号: G06F9/44

    摘要: A method to measure the performance of an Application Programming Interface (API) includes selecting a target API and tracking memory allocation for the functional calls of the selected API to generate a list of functions called by the API. The individual functions are then called within the API in isolation and timing and memory allocation data for each are collected and recorded. The recorded results are then bucketized according to a log base 2 method and made accessible by API users to indicate the performance of specific APIs.

    摘要翻译: 测量应用程序编程接口(API)性能的方法包括选择目标API并跟踪所选API的功能调用的内存分配,以生成API调用的函数列表。 然后单独的功能被隔离在API内调用,并且收集和记录每个功能的定时和内存分配数据。 记录的结果然后根据日志基础2方法进行分组,并由API用户访问以指示特定API的性能。