Invention Grant
US08838939B2 Debugging multithreaded code by generating exception upon target address CAM search for variable and checking race condition
有权
通过在目标地址CAM搜索变量和检查竞争条件时产生异常来调试多线程代码
- Patent Title: Debugging multithreaded code by generating exception upon target address CAM search for variable and checking race condition
- Patent Title (中): 通过在目标地址CAM搜索变量和检查竞争条件时产生异常来调试多线程代码
-
Application No.: US13439229Application Date: 2012-04-04
-
Publication No.: US08838939B2Publication Date: 2014-09-16
- Inventor: Elmootazbellah N. Elnozahy , Ahmed Gheith
- Applicant: Elmootazbellah N. Elnozahy , Ahmed Gheith
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agent Francis Lammes; Stephen J. Walder, Jr.; John D. Flynn
- Main IPC: G06F9/312
- IPC: G06F9/312 ; G06F9/38

Abstract:
Mechanisms are provided for debugging application code using a content addressable memory. The mechanisms receive an instruction in a hardware unit of a processor of the data processing system, the instruction having a target memory address that the instruction is attempting to access. A content addressable memory (CAM) associated with the hardware unit is searched for an entry in the CAM corresponding to the target memory address. In response to an entry in the CAM corresponding to the target memory address being found, a determination is made as to whether information in the entry identifies the instruction as an instruction of interest. In response to the entry identifying the instruction as an instruction of interest, an exception is generated and sent to one of an exception handler or a debugger application. In this way, debugging of multithreaded applications may be performed in an efficient manner.
Public/Granted literature
- US20120203979A1 Architecture Support for Debugging Multithreaded Code Public/Granted day:2012-08-09
Information query