GENERATING CODE THAT CALLS FUNCTIONS BASED ON TYPES OF MEMORY
    1.
    发明申请
    GENERATING CODE THAT CALLS FUNCTIONS BASED ON TYPES OF MEMORY 有权
    根据存储器类型生成函数的生成代码

    公开(公告)号:US20130061007A1

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

    申请号:US13225040

    申请日:2011-09-02

    IPC分类号: G06F12/08

    摘要: In an embodiment, in response to reading a declaration of a function that specifies a name of the function and a type of memory on which the function operates, the name of the function, a pointer to the function, and the type are saved to a template. In response to reading a call statement that specifies the name of the function and an identifier of an object, first code is generated. The first code, when executed, reads the pointer to the function from a virtual function table pointed to by the object, finds an entry in the virtual function table that represents the function, and reads the pointer from the entry in the virtual function table. The call statement, when executed, requests a call of the function. Second code is generated that, when executed, calls the function using the pointer read from the virtual function table.

    摘要翻译: 在一个实施例中,响应于读取指定功能的名称的功能的声明以及功能在其上操作的存储器的类型,功能的名称,指向功能的指针和类型被保存到 模板。 响应于读取指定函数的名称和对象的标识符的调用语句,生成第一个代码。 第一个代码执行时,从对象指向的虚拟函数表中读取指向该函数的指针,在虚函数表中找到一个表示该函数的条目,并从虚函数表中的条目读取指针。 调用语句在执行时请求调用该函数。 生成第二个代码,当执行时,使用从虚拟函数表读取的指针调用该函数。

    Generating code that calls functions based on types of memory
    2.
    发明授权
    Generating code that calls functions based on types of memory 有权
    根据内存类型生成调用函数的代码

    公开(公告)号:US08910136B2

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

    申请号:US13225040

    申请日:2011-09-02

    摘要: In an embodiment, in response to reading a declaration of a function that specifies a name of the function and a type of memory on which the function operates, the name of the function, a pointer to the function, and the type are saved to a template. In response to reading a call statement that specifies the name of the function and an identifier of an object, first code is generated. The first code, when executed, reads the pointer to the function from a virtual function table pointed to by the object, finds an entry in the virtual function table that represents the function, and reads the pointer from the entry in the virtual function table. The call statement, when executed, requests a call of the function. Second code is generated that, when executed, calls the function using the pointer read from the virtual function table.

    摘要翻译: 在一个实施例中,响应于读取指定功能的名称的功能的声明以及功能在其上操作的存储器的类型,功能的名称,指向功能的指针和类型被保存到 模板。 响应于读取指定函数的名称和对象的标识符的调用语句,生成第一个代码。 第一个代码执行时,从对象指向的虚拟函数表中读取指向该函数的指针,在虚函数表中找到一个表示该函数的条目,并从虚函数表中的条目读取指针。 调用语句在执行时请求调用该函数。 生成第二个代码,当执行时,使用从虚拟函数表读取的指针调用该函数。

    Recovering from a thread hang
    3.
    发明授权
    Recovering from a thread hang 失效
    从线程中恢复挂起

    公开(公告)号:US08762776B2

    公开(公告)日:2014-06-24

    申请号:US13344124

    申请日:2012-01-05

    IPC分类号: G06F11/00

    摘要: A method, computer-readable storage medium, and computer system are provided. In an embodiment, a detection is made that at least one thread, in a plurality of threads executing in a computer, has hung. A lock order of a plurality of locks used by the plurality of threads is determined. A determination is made that a first thread in the plurality of threads violates the lock order. After the determination that the first thread violates the lock order, the computer is restarted and the first thread that violates the lock order is scheduled on a reduced-speed processor.

    摘要翻译: 提供了一种方法,计算机可读存储介质和计算机系统。 在一个实施例中,检测到在计算机中执行的多个线程中的至少一个线程已经挂起。 确定由多个线程使用的多个锁的锁定顺序。 确定多个线程中的第一线程违反锁定顺序。 在确定第一个线程违反锁定顺序之后,计算机重新启动,违反锁定顺序的第一个线程被调度在降速处理器上。

    RECOVERING FROM A THREAD HANG
    4.
    发明申请
    RECOVERING FROM A THREAD HANG 失效
    从螺旋线恢复

    公开(公告)号:US20130179731A1

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

    申请号:US13344124

    申请日:2012-01-05

    IPC分类号: G06F11/14

    摘要: A method, computer-readable storage medium, and computer system are provided. In an embodiment, a detection is made that at least one thread, in a plurality of threads executing in a computer, has hung. A lock order of a plurality of locks used by the plurality of threads is determined. A determination is made that a first thread in the plurality of threads violates the lock order. After the determination that the first thread violates the lock order, the computer is restarted and the first thread that violates the lock order is scheduled on a reduced-speed processor.

    摘要翻译: 提供了一种方法,计算机可读存储介质和计算机系统。 在一个实施例中,检测到在计算机中执行的多个线程中的至少一个线程已经挂起。 确定由多个线程使用的多个锁的锁定顺序。 确定多个线程中的第一线程违反锁定顺序。 在确定第一个线程违反锁定顺序之后,计算机重新启动,违反锁定顺序的第一个线程被调度在降速处理器上。

    GRANTING AUTHORITY IN RESPONSE TO DEFECT DETECTION
    5.
    发明申请
    GRANTING AUTHORITY IN RESPONSE TO DEFECT DETECTION 审中-公开
    授权管理机构应对缺陷检测

    公开(公告)号:US20130110443A1

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

    申请号:US13281599

    申请日:2011-10-26

    IPC分类号: G06F19/00

    摘要: A method, computer-readable storage medium, and computer system are provided. In an embodiment, a defect is detected in a product. In response to detecting the defect in the product, a part is created that describes the state of execution of the product at a time that the defect was detected. In response to creating the part that describes state of the execution of the product at the time that the defect was detected, authority is granted to access the part to a first user who is responsible for fixing the defect.

    摘要翻译: 提供了一种方法,计算机可读存储介质和计算机系统。 在一个实施例中,在产品中检测到缺陷。 响应于检测到产品中的缺陷,创建描述在检测到缺陷时产品执行状态的部分。 响应于在检测到缺陷时创建描述产品执行状态的部分,授权将权限访问负责修复缺陷的第一用户。

    REPLACING CONTIGUOUS BREAKPOINTS WITH CONTROL WORDS
    6.
    发明申请
    REPLACING CONTIGUOUS BREAKPOINTS WITH CONTROL WORDS 有权
    用控制词替换连贯的断点

    公开(公告)号:US20140075418A1

    公开(公告)日:2014-03-13

    申请号:US13612089

    申请日:2012-09-12

    IPC分类号: G06F9/44

    摘要: In an embodiment, a first execution path in a program is determined that has been executed a largest number of times, as compared to at least one other path in the program. Swapped instructions are replaced in the program with breakpoints, wherein the swapped instructions are not on the first execution path. The breakpoints that are not on the first execution path and that are contiguous to each other are replaced in the program with a control word.

    摘要翻译: 在一个实施例中,与程序中的至少一个其他路径相比,确定程序中的第一执行路径已被执行最多次数。 交换的指令在具有断点的程序中被替换,其中交换的指令不在第一执行路径上。 不在第一执行路径上并且彼此相邻的断点在程序中被替换为控制字。

    Compiling Source Code For Debugging With Expanded Snapshots
    7.
    发明申请
    Compiling Source Code For Debugging With Expanded Snapshots 有权
    编译使用扩展快照进行调试的源代码

    公开(公告)号:US20130275948A1

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

    申请号:US13448634

    申请日:2012-04-17

    IPC分类号: G06F9/44 G06F9/45

    CPC分类号: G06F11/3624

    摘要: Debugging source code includes: tracking, by a debugger during a debug session, duration of user examination of source code locations; providing, by the debugger to an optimizing compiler, a source code examination profile specifying source code locations examined by the user during the debug session; and receiving, by the debugger from the optimizing compiler: compiled source code for debugging, the compiled source code comprising, at each of one or more source code locations specified in the source code examination profile: a snapshot before the source code of the source code location, followed by an expanded snapshot, the expanded snapshot including computer program instructions to enable, during a debug session, examination of variable values changing during execution of the source code at the source code location; and a recording of snapshot locations and expanded snapshot locations.

    摘要翻译: 调试源代码包括:在调试会话期间由调试器跟踪用户检查源代码位置的持续时间; 由调试器向优化编译器提供指定用户在调试会话期间检查的源代码位置的源代码检查简档; 并且通过调试器从优化编译器接收用于调试的编译源代码,编译的源代码在源代码检查配置文件中指定的一个或多个源代码位置的每一个处包括:在源代码的源代码之前的快照 位置,随后是扩展的快照,扩展的快照包括计算机程序指令,以在调试会话期间检查在源代码位置处的源代码执行期间变化的变量值; 以及快照位置和扩展快照位置的记录。

    Compiling Source Code For Debugging With Variable Value Restoration Based On Debugging User Activity
    8.
    发明申请
    Compiling Source Code For Debugging With Variable Value Restoration Based On Debugging User Activity 有权
    编译基于调试用户活动的变量值恢复的源代码

    公开(公告)号:US20130283243A1

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

    申请号:US13449489

    申请日:2012-04-18

    IPC分类号: G06F9/45 G06F9/44

    CPC分类号: G06F11/3624 G06F8/443

    摘要: Compiling source code includes receiving, by an optimizing compiler from a debugger, a variable value modification profile that specifies locations in the source code at which variable values modified during a debug session; compiling the source code, including: inserting snapshots at one or more of the locations in the source code at which variable values were modified, each snapshot including a breakpoint; and only for each snapshot at a location in the source code at which variable values were modified: inserting, between the breakpoint and remaining source code at the location of the snapshot, a module of computer program instructions that when executed retrieves a current value of a variable and stores the current value in a register; and recording the location of each inserted snapshot; and providing, to the debugger by the optimizing compiler, the recorded locations of each inserted snapshot along with the compiled source code.

    摘要翻译: 编译源代码包括通过调试器的优化编译器接收变量值修改配置文件,该变量值修改配置文件指定在调试会话期间修改变量值的源代码中的位置; 编译源代码,包括:在源代码中修改变量值的一个或多个位置插入快照,每个快照包含一个断点; 并且仅针对源代码中修改变量值的位置处的每个快照:在快照位置的断点和剩余源代码之间插入计算机程序指令的模块,当执行时,该模块检索当前值 变量并将当前值存储在寄存器中; 并记录每个插入的快照的位置; 并且通过优化编译器向调试器提供每个插入的快照的记录位置以及编译的源代码。

    Compiling source code for debugging with variable value restoration based on debugging user activity
    10.
    发明授权
    Compiling source code for debugging with variable value restoration based on debugging user activity 有权
    基于调试用户活动,编译使用变量值恢复进行调试的源代码

    公开(公告)号:US08910126B2

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

    申请号:US13449489

    申请日:2012-04-18

    IPC分类号: G06F9/44

    CPC分类号: G06F11/3624 G06F8/443

    摘要: Compiling source code includes receiving, by an optimizing compiler from a debugger, a variable value modification profile that specifies locations in the source code at which variable values modified during a debug session; compiling the source code, including: inserting snapshots at one or more of the locations in the source code at which variable values were modified, each snapshot including a breakpoint; and only for each snapshot at a location in the source code at which variable values were modified: inserting, between the breakpoint and remaining source code at the location of the snapshot, a module of computer program instructions that when executed retrieves a current value of a variable and stores the current value in a register; and recording the location of each inserted snapshot; and providing, to the debugger by the optimizing compiler, the recorded locations of each inserted snapshot along with the compiled source code.

    摘要翻译: 编译源代码包括通过调试器的优化编译器接收变量值修改配置文件,该变量值修改配置文件指定在调试会话期间修改变量值的源代码中的位置; 编译源代码,包括:在源代码中修改变量值的一个或多个位置插入快照,每个快照包含一个断点; 并且仅针对源代码中修改变量值的位置处的每个快照:在快照位置的断点和剩余源代码之间插入计算机程序指令的模块,当执行时,该模块检索当前值 变量并将当前值存储在寄存器中; 并记录每个插入的快照的位置; 并且通过优化编译器向调试器提供每个插入的快照的记录位置以及编译的源代码。