Deadlock detection for parallel programs
    1.
    发明授权
    Deadlock detection for parallel programs 失效
    并行程序的死锁检测

    公开(公告)号:US08661450B2

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

    申请号:US13437339

    申请日:2012-04-02

    IPC分类号: G06F9/46

    摘要: A deadlock detection method and computer system for parallel programs. A determination is made that a lock of the parallel programs is no longer used in a running procedure of the parallel programs. A node corresponding to the lock that is no longer used, and edges relating to the lock that is no longer used, are deleted from a lock graph corresponding to the running procedure of the parallel programs in order to acquire an updated lock graph. The lock graph is constructed according to a lock operation of the parallel programs. Deadlock detection is then performed on the updated lock graph.

    摘要翻译: 一种用于并行程序的死锁检测方法和计算机系统。 确定在并行程序的运行过程中不再使用并行程序的锁。 对应于不再使用的锁的节点以及与不再使用的锁相关的边缘从与并行程序的运行过程相对应的锁图中被删除,以便获取更新的锁图。 锁图是根据并行程序的锁定操作构建的。 然后在更新的锁图上执行死锁检测。

    METHOD AND SYSTEM FOR INVOKING JUST-IN-TIME DEBUGGER
    2.
    发明申请
    METHOD AND SYSTEM FOR INVOKING JUST-IN-TIME DEBUGGER 有权
    用于调用即时调试器的方法和系统

    公开(公告)号:US20090178028A1

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

    申请号:US12350820

    申请日:2009-01-08

    IPC分类号: G06F11/36

    摘要: A method and system for invoking Just-In-Time debugger is described, which can provide more efficient JIT debugging for complex code mixed applications. A method for invoking a Just-In-Time (JIT) debugger according to one embodiment includes checking a code type of a code address where a JIT debugging request is triggered from a process of a code-mixed application in response to the JIT debugging request from the process; acquiring corresponding JIT debugging information for different code types of the code-mixed application; and invoking a JIT debugger corresponding to the code type in response to the checked code type of the code address in the process and the acquired corresponding JIT debugging information.

    摘要翻译: 描述了一种用于调用即时调试器的方法和系统,可以为复杂的代码混合应用程序提供更有效的JIT调试。 根据一个实施例的用于调用即时(JIT)调试器的方法包括:响应于JIT调试请求,从代码混合应用程序的过程检查JIT调试请求被触发的代码地址的代码类型 从过程中 为代码混合应用程序的不同代码类型获取相应的JIT调试信息; 以及响应于所述处理中的代码地址的所检查的代码类型和所获取的相应的JIT调试信息来调用与所述代码类型相对应的JIT调试器。

    METHOD AND SYSTEM FOR DEBUGGING A PROGRAM IN A MULTI-THREAD ENVIRONMENT
    3.
    发明申请
    METHOD AND SYSTEM FOR DEBUGGING A PROGRAM IN A MULTI-THREAD ENVIRONMENT 失效
    用于在多线程环境中调试程序的方法和系统

    公开(公告)号:US20080270988A1

    公开(公告)日:2008-10-30

    申请号:US12110430

    申请日:2008-04-28

    IPC分类号: G06F11/36

    CPC分类号: G06F11/362

    摘要: A method and system for debugging a program in multithread environment which interrupts the running of a debuggee program begins by replacing the instruction at the position at which a breakpoint for debugging is desired to be set with a breakpoint instruction. When the breakpoint instruction is replaced back with the instruction at the position at which the breakpoint for debugging is set, an instruction is set in front of the breakpoint for debugging as a fence breakpoint; and when the instruction at the position at which the breakpoint for debugging is set, is replaced again with the breakpoint instruction. On completion, the fence breakpoint is replaced with the original instruction of the debuggee program at that position.

    摘要翻译: 用于调试多线程环境中的程序的方法和系统,其中断调试程序的运行,首先将需要使用断点指令设置的调试断点位置处的指令替换。 当断点指令被替换为用于调试断点的位置处的指令时,在断点前设置指令作为围栏断点; 并且当设置用于调试断点的位置处的指令被替换为断点指令。 完成后,该栅栏断点被替换为该位置的调试程序的原始指令。

    INDICATING THE EFFECT OF PROGRAM MODIFICATIONS ON PROGRAM PERFORMANCE IN AN INTEGRATED DEVELOPMENT ENVIRONMENT
    4.
    发明申请
    INDICATING THE EFFECT OF PROGRAM MODIFICATIONS ON PROGRAM PERFORMANCE IN AN INTEGRATED DEVELOPMENT ENVIRONMENT 审中-公开
    表明程序修改对集成开发环境中程序性能的影响

    公开(公告)号:US20110214106A1

    公开(公告)日:2011-09-01

    申请号:US13024493

    申请日:2011-02-10

    IPC分类号: G06F9/44

    摘要: A method, computer program product and apparatus for indicating program modifications affecting program performance in an Integrated Development Environment (IDE). The modifications that a developer makes to a program is detected and the code location where these modifications occur is determined. The previous profiling data of the program is acquired. The effect of the modifications on the program performance according to the previous profiling data and the code location where the modifications occur is evaluated. The evaluation results may then be provided to the developer. As a result of the above process, the developer can be aware of the performance problem while he/she is editing the source code so as to make corrections without waiting after the profiling phase, thus greatly shortening the development period.

    摘要翻译: 一种在集成开发环境(IDE)中指示影响程序性能的程序修改的方法,计算机程序产品和装置。 检测到开发者对程序的修改,并确定发生这些修改的代码位置。 获取程序的以前的分析数据。 评估根据先前的分析数据和修改发生的代码位置对修改对程序性能的影响。 然后可以向开发者提供评估结果。 作为上述过程的结果,开发人员在编辑源代码时可以了解性能问题,以便在分析阶段之后进行更正,而无需等待,从而大大缩短开发周期。

    DEADLOCK DETECTION METHOD AND SYSTEM FOR PARALLEL PROGRAMS
    5.
    发明申请
    DEADLOCK DETECTION METHOD AND SYSTEM FOR PARALLEL PROGRAMS 审中-公开
    DEADLOCK检测方法和并行程序系统

    公开(公告)号:US20100333110A1

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

    申请号:US12826759

    申请日:2010-06-30

    IPC分类号: G06F9/46

    摘要: A deadlock detection method and computer system for parallel programs. A determination is made that a lock of the parallel programs is no longer used in a running procedure of the parallel programs. A node corresponding to the lock that is no longer used, and edges relating to the lock that is no longer used, are deleted from a lock graph corresponding to the running procedure of the parallel programs in order to acquire an updated lock graph. The lock graph is constructed according to a lock operation of the parallel programs. Deadlock detection is then performed on the updated lock graph.

    摘要翻译: 一种用于并行程序的死锁检测方法和计算机系统。 确定在并行程序的运行过程中不再使用并行程序的锁。 对应于不再使用的锁的节点以及与不再使用的锁相关的边缘从与并行程序的运行过程相对应的锁图中被删除,以便获取更新的锁图。 锁图是根据并行程序的锁定操作构建的。 然后在更新的锁图上执行死锁检测。

    Method and system for invoking just-in-time debugger
    6.
    发明授权
    Method and system for invoking just-in-time debugger 有权
    用于调用即时调试器的方法和系统

    公开(公告)号:US09104804B2

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

    申请号:US12350820

    申请日:2009-01-08

    IPC分类号: G06F11/36 G06F9/455 G06F9/54

    摘要: A method and system for invoking Just-In-Time debugger is described, which can provide more efficient JIT debugging for complex code mixed applications. A method for invoking a Just-In-Time (JIT) debugger according to one embodiment includes checking a code type of a code address where a JIT debugging request is triggered from a process of a code-mixed application in response to the JIT debugging request from the process; acquiring corresponding JIT debugging information for different code types of the code-mixed application; and invoking a JIT debugger corresponding to the code type in response to the checked code type of the code address in the process and the acquired corresponding JIT debugging information.

    摘要翻译: 描述了一种用于调用即时调试器的方法和系统,可以为复杂的代码混合应用程序提供更有效的JIT调试。 根据一个实施例的用于调用即时(JIT)调试器的方法包括:响应于JIT调试请求,从代码混合应用程序的过程检查JIT调试请求被触发的代码地址的代码类型 从过程中 为代码混合应用程序的不同代码类型获取相应的JIT调试信息; 以及响应于所述处理中的代码地址的所检查的代码类型和所获取的相应的JIT调试信息来调用与所述代码类型相对应的JIT调试器。

    Deadlock Detection Method and System for Parallel Programs
    7.
    发明申请
    Deadlock Detection Method and System for Parallel Programs 失效
    并行程序的死锁检测方法和系统

    公开(公告)号:US20120198460A1

    公开(公告)日:2012-08-02

    申请号:US13437339

    申请日:2012-04-02

    IPC分类号: G06F9/46

    摘要: A deadlock detection method and computer system for parallel programs. A determination is made that a lock of the parallel programs is no longer used in a running procedure of the parallel programs. A node corresponding to the lock that is no longer used, and edges relating to the lock that is no longer used, are deleted from a lock graph corresponding to the running procedure of the parallel programs in order to acquire an updated lock graph. The lock graph is constructed according to a lock operation of the parallel programs. Deadlock detection is then performed on the updated lock graph.

    摘要翻译: 一种用于并行程序的死锁检测方法和计算机系统。 确定在并行程序的运行过程中不再使用并行程序的锁。 对应于不再使用的锁的节点以及与不再使用的锁相关的边缘从与并行程序的运行过程相对应的锁图中被删除,以便获取更新的锁图。 锁图是根据并行程序的锁定操作构建的。 然后在更新的锁图上执行死锁检测。

    Method and system to space-efficiently track memory access of object-oriented language in presence of garbage collection
    8.
    发明授权
    Method and system to space-efficiently track memory access of object-oriented language in presence of garbage collection 有权
    在存在垃圾收集的情况下,空间有效地跟踪面向对象语言的内存访问的方法和系统

    公开(公告)号:US08326894B2

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

    申请号:US12610111

    申请日:2009-10-30

    申请人: Yao Qi

    发明人: Yao Qi

    IPC分类号: G06F12/00 G06F17/30

    CPC分类号: G06F12/0253 G06F11/3485

    摘要: The present invention provides a method and system for processing memory access events. The method comprises: executing an extended program including instrumented memory tracking code for tracking memory access events of a plurality of objects; allocating a unique identifier for each of the plurality of tracked objects; creating a weak reference for each of the plurality of tracked objects, wherein a mapping relationship is established between the identifier of the weak reference and that of the corresponding tracked object; recording and storing the memory access events of the plurality of tracked objects; in response to receiving a notification of memory garbage collection which includes an identifier of a weak reference of a collected object, determining the identifier of the collected object based on the mapping relationship between the identifier of the weak reference and that of the corresponding tracked object, and searching the stored memory access events for the memory access events of the collected object; and deleting the memory access events of the collected object. The storage overhead may be reduced according to the above method of the present invention.

    摘要翻译: 本发明提供了一种用于处理存储器访问事件的方法和系统。 该方法包括:执行包括用于跟踪多个对象的存储器访问事件的仪表化存储器跟踪代码的扩展程序; 为所述多个被跟踪对象中的每一个分配唯一标识符; 为所述多个跟踪对象中的每一个创建弱参考,其中在所述弱参考的标识符与所述对应的跟踪对象的标识符之间建立映射关系; 记录和存储多个跟踪对象的存储器访问事件; 响应于接收到包含收集对象的弱引用的标识符的内存垃圾收集的通知,基于弱引用的标识符与相应的被跟踪对象的标识之间的映射关系来确定所收集的对象的标识符, 以及搜索所存储的存储器访问事件以获取所收集的对象的存储器访问事件; 并删除所收集对象的内存访问事件。 根据本发明的上述方法可以减少存储开销。

    Collecting Program Runtime Information
    9.
    发明申请
    Collecting Program Runtime Information 审中-公开
    收集程序运行时信息

    公开(公告)号:US20120167054A1

    公开(公告)日:2012-06-28

    申请号:US13413181

    申请日:2012-03-06

    IPC分类号: G06F9/44 G06F11/30

    CPC分类号: G06F11/3664 G06F11/3624

    摘要: System(s), method(s), and computer program product(s) for collecting program runtime information are provided. In one aspect, this comprises: an instrumentation module for inserting, by program instrumentation, monitoring code into the constructor of an exception class in a program to run; and a monitoring module implemented by said monitoring code, the monitoring module for collecting program runtime information during the running process of the program. In another aspect, this comprises: obtaining verification point variables from assertions for a program to be tested; inserting monitoring code into positions in the program that access the obtained verification point variables; and as the program runs, collecting runtime information of the program by the inserted monitoring code.

    摘要翻译: 提供了用于收集程序运行时信息的系统,方法和计算机程序产品。 一方面,它包括:一个仪表模块,用于通过程序仪器将监控代码插入程序运行的异常类的构造函数; 以及由所述监视代码实现的监视模块,所述监视模块用于在所述程序的运行过程期间收集程序运行时信息。 在另一方面,这包括:从要测试的程序的断言获得验证点变量; 将监控代码插入程序中访问所获得的验证点变量的位置; 并且随着程序的运行,通过插入的监视代码来收集程序的运行时信息。

    Dynamic help information
    10.
    发明授权
    Dynamic help information 有权
    动态帮助信息

    公开(公告)号:US09026910B2

    公开(公告)日:2015-05-05

    申请号:US12954997

    申请日:2010-11-29

    摘要: Dynamic help information is provided by receiving unit, configured to receive at least one operation of a user and to obtain the user's operation history, where the operation history includes at least one operation; a determining unit, configured to determine the corresponding help information according to the user's operation history; and an information obtaining unit, configured to obtain said corresponding help information. Assistance in providing help information is also provided, comprising: an operation capturing unit, configured to capture and send at least one operation of a user; and an information displaying unit, configured to receive and display the help information corresponding to the user's operation history, where the operation history includes at least one operation. With the apparatuses and method of this invention, the pertinent help information can be dynamically provided for users according to user's operation history.

    摘要翻译: 动态帮助信息由接收单元提供,被配置为接收用户的至少一个操作并获得用户的操作历史,其中操作历史包括至少一个操作; 确定单元,被配置为根据用户的操作历史确定相应的帮助信息; 以及信息获取单元,用于获得所述对应的帮助信息。 还提供帮助提供帮助信息,包括:操作捕获单元,被配置为捕获和发送用户的至少一个操作; 以及信息显示单元,被配置为接收和显示与用户的操作历史相对应的帮助信息,其中操作历史包括至少一个操作。 利用本发明的装置和方法,可以根据用户的操作历史为用户动态地提供相关的帮助信息。