Method and apparatus for locating memory leak in a program
    1.
    发明授权
    Method and apparatus for locating memory leak in a program 失效
    用于定位程序中的内存泄漏的方法和装置

    公开(公告)号:US08479162B2

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

    申请号:US12511122

    申请日:2009-07-29

    IPC分类号: G06F9/44

    CPC分类号: G06F11/3604

    摘要: A method and apparatus for locating a memory leak in a program code by a computer device using a combination of dynamic analysis and static analysis approaches. The method includes dynamically analyzing the program to determine a memory leak characteristic; filtering out items which do not match the determined memory leak characteristic of the program to reduce a static analysis range to certain suspicious parts of a source code; and statically analyzing the suspicious parts of the program to locate the memory leak in the program. The apparatus includes a dynamic analyzer device to determine memory leak characteristics; and a static analyzer device to filter out items which do not match the determined memory leak characteristic to reduce a static analysis range to certain suspicious parts of a source code and locate the memory leak in the program.

    摘要翻译: 一种用于通过计算机设备使用动态分析和静态分析方法的组合来定位程序代码中的存储器泄漏的方法和装置。 该方法包括动态分析程序以确定存储器泄漏特性; 过滤掉与确定的程序的内存泄漏特性不匹配的项目,以将静态分析范围减少到源代码的某些可疑部分; 并静态分析程序的可疑部分,以定位程序中的内存泄漏。 该装置包括用于确定存储器泄漏特性的动态分析器装置; 以及静态分析器装置,用于过滤出与确定的存储器泄漏特性不匹配的项目,以将静态分析范围减少到源代码的某些可疑部分,并将程序中的存储器泄漏定位。

    Method and Apparatus for Locating Memory Leak in a Program
    2.
    发明申请
    Method and Apparatus for Locating Memory Leak in a Program 失效
    定位程序中的内存泄漏的方法和设备

    公开(公告)号:US20100031238A1

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

    申请号:US12511122

    申请日:2009-07-29

    IPC分类号: G06F9/44

    CPC分类号: G06F11/3604

    摘要: A method and apparatus for locating a memory leak in a program code by a computer device using a combination of dynamic analysis and static analysis approaches. The method includes dynamically analyzing the program to determine a memory leak characteristic; filtering out items which do not match the determined memory leak characteristic of the program to reduce a static analysis range to certain suspicious parts of a source code; and statically analyzing the suspicious parts of the program to locate the memory leak in the program. The apparatus includes a dynamic analyzer device to determine memory leak characteristics; and a static analyzer device to filter out items which do not match the determined memory leak characteristic to reduce a static analysis range to certain suspicious parts of a source code and locate the memory leak in the program.

    摘要翻译: 一种用于通过计算机设备使用动态分析和静态分析方法的组合来定位程序代码中的存储器泄漏的方法和装置。 该方法包括动态分析程序以确定存储器泄漏特性; 过滤掉与确定的程序的内存泄漏特性不匹配的项目,以将静态分析范围减少到源代码的某些可疑部分; 并静态分析程序的可疑部分,以定位程序中的内存泄漏。 该装置包括用于确定存储器泄漏特性的动态分析器装置; 以及静态分析器装置,用于过滤出与确定的存储器泄漏特性不匹配的项目,以将静态分析范围减少到源代码的某些可疑部分,并将程序中的存储器泄漏定位。

    MEMORY LEAK DIAGNOSIS
    3.
    发明申请
    MEMORY LEAK DIAGNOSIS 失效
    记忆缺陷诊断

    公开(公告)号:US20090328007A1

    公开(公告)日:2009-12-31

    申请号:US12491877

    申请日:2009-06-25

    IPC分类号: G06F11/36 G06F9/44

    CPC分类号: G06F11/366 G06F11/3636

    摘要: A method and an apparatus for diagnosing memory leak. The method includes: tracing the allocation of objects; recording allocation paths and allocation time of each object; giving to each object one unique identifier (ID) corresponding to an allocation path; determining the allocation path to which each object belongs; organizing the objects which are allocated but still not collected, and counting the age generations of the objects of the similar type according to the allocation time of each object; ranking the allocation paths according to the age generations of the surviving objects; and analyzing the ranking of the allocation paths, in which the allocation path with higher rank is more probable to introduce memory leaks. Thus, the suspicious allocation path possibly incurring memory leaks is selected and reported to the user for analysis.

    摘要翻译: 一种用于诊断内存泄漏的方法和装置。 该方法包括:跟踪对象的分配; 记录每个对象的分配路径和分配时间; 给每个对象一个对应于分配路径的唯一标识符(ID); 确定每个对象所属的分配路径; 组织分配但尚未收集的对象,并根据每个对象的分配时间对相似类型的对象的年代进行计数; 根据幸存对象的年龄代码排列分配路径; 并且分析具有较高等级的分配路径更可能引入内存泄漏的分配路径的排序。 因此,可选择引发内存泄漏的可疑分配路径被选择并报告给用户进行分析。

    METHOD AND DEVICE FOR ANALYZING CAUSE OF CONSTRAINT VIOLATION BASED ON CONSTRAINT PATTERN
    5.
    发明申请
    METHOD AND DEVICE FOR ANALYZING CAUSE OF CONSTRAINT VIOLATION BASED ON CONSTRAINT PATTERN 失效
    基于约束模式分析约束条件的原因的方法和装置

    公开(公告)号:US20090063572A1

    公开(公告)日:2009-03-05

    申请号:US12174884

    申请日:2008-07-17

    IPC分类号: G06F17/30

    CPC分类号: G06F11/3604

    摘要: A method and device for performing a constraint failure analysis on an instance model. The present invention provides a convenient tool to bridge between a model-constraint designer and a model user, reduce load for model/constraint usability, simplify the learning curve, and assist to make a model correction for the model user.

    摘要翻译: 一种用于对实例模型执行约束失败分析的方法和装置。 本发明提供了一种在模型约束设计器和模型用户之间桥接的便利工具,减少了模型/约束可用性的负担,简化了学习曲线,并且有助于为模型用户进行模型校正。

    DIAGNOSING A FAULT INCIDENT IN A DATA CENTER
    6.
    发明申请
    DIAGNOSING A FAULT INCIDENT IN A DATA CENTER 有权
    诊断数据中心的故障事故

    公开(公告)号:US20110191630A1

    公开(公告)日:2011-08-04

    申请号:US13013925

    申请日:2011-01-26

    IPC分类号: G06F11/07

    CPC分类号: G06F11/07

    摘要: A method, computer program product and apparatus for diagnosing a fault incident in a data center. A determination is made as to whether a fault incident happened in the data center. If a fault incident happened, then the business logic being executed in a node where the fault incident happened is determined. The log files associated with the execution process of the business logic is selected based on a management model corresponding to the data center, where the management model reflects the deployment and application dependency of the business logics. The fault incident is diagnosed based on the log files. The management model is utilized to select the log files associated with the execution process of the business logic, and to write information of the business logic and dependency relationships between the applications into the log file, so as to automatically, rapidly and accurately diagnose the fault incident.

    摘要翻译: 一种用于诊断数据中心中发生故障的方法,计算机程序产品和装置。 确定数据中心发生的故障事件是否发生。 如果发生故障事件,则确定在发生故障事件的节点中执行的业务逻辑。 与业务逻辑的执行过程相关联的日志文件基于与数据中心相对应的管理模型来选择,其中管理模型反映业务逻辑的部署和应用依赖性。 故障事件根据日志文件进行诊断。 管理模型用于选择与业务逻辑的执行过程相关联的日志文件,并将应用程序中的业务逻辑和依赖关系的信息写入日志文件中,以便自动,快速和准确地诊断故障 事件。

    Method and system for determining resource usage of each tenant in a multi-tenant architecture
    8.
    发明授权
    Method and system for determining resource usage of each tenant in a multi-tenant architecture 有权
    用于确定多租户架构中每个租户资源使用的方法和系统

    公开(公告)号:US08347306B2

    公开(公告)日:2013-01-01

    申请号:US12540429

    申请日:2009-08-13

    IPC分类号: G06F9/46 G06F15/173

    摘要: A computer implemented method and system for determining resource usage of a tenant in a multi-tenant architecture. The method includes the steps of: recording, within predetermined time intervals, total consumption of each resource in each predetermined time interval; obtaining total times of calling each operation by each tenant in each predetermined time interval; calculating consumption of each resource during each operation based on the total times and the total consumption obtained within the period of time; and calculating usage of each resource by each tenant within the period of time based on the calculated consumption of each resource during each operation and the total times of calling each operation of each tenant in each predetermined time interval. The system includes apparatus for performing the above method.

    摘要翻译: 一种用于确定多租户架构中的租户的资源使用的计算机实现的方法和系统。 该方法包括以下步骤:在预定时间间隔内,在每个预定时间间隔内记录每个资源的总消耗量; 在每个预定时间间隔内获得每个租户对每个操作的呼叫总时间; 根据总时间和一段时间内的总消费量,计算每次运营中每个资源的消耗量; 以及基于每个操作期间每个资源的计算消耗以及在每个预定时间间隔内呼叫每个租户的每个操作的总时间来计算每个租户在所述时间段内的每个租户的每个资源的使用。 该系统包括用于执行上述方法的装置。

    Diagnosing a fault incident in a data center
    9.
    发明授权
    Diagnosing a fault incident in a data center 有权
    诊断数据中心的故障事件

    公开(公告)号:US08661291B2

    公开(公告)日:2014-02-25

    申请号:US13013925

    申请日:2011-01-26

    IPC分类号: G06F11/00

    CPC分类号: G06F11/07

    摘要: A method, computer program product and apparatus for diagnosing a fault incident in a data center. A determination is made as to whether a fault incident happened in the data center. If a fault incident happened, then the business logic being executed in a node where the fault incident happened is determined. The log files associated with the execution process of the business logic is selected based on a management model corresponding to the data center, where the management model reflects the deployment and application dependency of the business logics. The fault incident is diagnosed based on the log files. The management model is utilized to select the log files associated with the execution process of the business logic, and to write information of the business logic and dependency relationships between the applications into the log file, so as to automatically, rapidly and accurately diagnose the fault incident.

    摘要翻译: 一种用于诊断数据中心中发生故障的方法,计算机程序产品和装置。 确定数据中心发生的故障事件是否发生。 如果发生故障事件,则确定在发生故障事件的节点中执行的业务逻辑。 与业务逻辑的执行过程相关联的日志文件基于与数据中心相对应的管理模型来选择,其中管理模型反映业务逻辑的部署和应用依赖性。 故障事件根据日志文件进行诊断。 管理模型用于选择与业务逻辑的执行过程相关联的日志文件,并将应用程序中的业务逻辑和依赖关系的信息写入日志文件中,以便自动,快速和准确地诊断故障 事件。

    Memory leak diagnosis
    10.
    发明授权
    Memory leak diagnosis 失效
    内存泄漏诊断

    公开(公告)号:US08429620B2

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

    申请号:US12491877

    申请日:2009-06-25

    IPC分类号: G06F9/44

    CPC分类号: G06F11/366 G06F11/3636

    摘要: A method and an apparatus for diagnosing memory leak. The method includes: tracing the allocation of objects; recording allocation paths and allocation time of each object; giving to each object one unique identifier (ID) corresponding to an allocation path; determining the allocation path to which each object belongs; organizing the objects which are allocated but still not collected, and counting the age generations of the objects of the similar type according to the allocation time of each object; ranking the allocation paths according to the age generations of the surviving objects; and analyzing the ranking of the allocation paths, in which the allocation path with higher rank is more probable to introduce memory leaks. Thus, the suspicious allocation path possibly incurring memory leaks is selected and reported to the user for analysis.

    摘要翻译: 一种用于诊断内存泄漏的方法和装置。 该方法包括:跟踪对象的分配; 记录每个对象的分配路径和分配时间; 给每个对象一个对应于分配路径的唯一标识符(ID); 确定每个对象所属的分配路径; 组织分配但尚未收集的对象,并根据每个对象的分配时间对相似类型的对象的年代进行计数; 根据幸存对象的年龄代码排列分配路径; 并且分析具有较高等级的分配路径更可能引入内存泄漏的分配路径的排序。 因此,可选择引发内存泄漏的可疑分配路径被选择并报告给用户进行分析。