Patents
US 7,620,850 B2#11580027 Most CitedActiveUnited States (USPTO)Utility

Breakpoints in a transactional memory-based representation of code

9Forward Citations (#11580027 Global)
0.5/yrCitation Velocity (#14916957 Global)
2.14Citation PageRank (#13035138 Global)
6Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

Transactional programming promises to substantially simplify the development and maintenance of correct, scalable, and efficient concurrent programs. Designs for supporting transactional programming using transactional memory implemented in hardware, software, and a mixture of the two have emerged recently. However, certain features and capabilities that would be desirable for debugging programs executed using transactional memory are absent from conventional debuggers. Breakpointing is one example of a capability not well supported when conventional debugging technology is applied to transactional memory. We describe techniques by which a debugger may instrument code (or by which a TM library may provide functionality) to direct execution of an atomic block to a code path that facilitates breakpoint handling.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 9.

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A method of debugging a transactional memory based representation of a code in a multi-threaded, transactional memory system, the method comprising: setting a breakpoint on an operation in an atomic block of the transactional memory based code representation; wherein the atomic block comprises a plurality of memory operations to a shared memory; and wherein the system is configured to execute the atomic block atomically with respect to an other concurrent thread of execution having access to the shared memory; and directing execution to a first code path instead of a second code path for the a

  2. Claim 2Depends on #1

    The method of claim 1 , wherein the directing executing is coincident with one of determining that the breakpoint has been set in the atomic block and encountering the breakpoint during execution of the atomic block.

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (5)

  • "12 Great Reasons why Etnus TotalView is the World's Best C/C++ Debugger", ETNUS TotalView(R) The most advanced debugger on Linux and UNIX, (C) 2003 Etnus, 2 pages.
  • "Debugging Memory Problems using TotalView" Version 8.0, (C) 2006 Etnus LLC.
  • Afek, Y., et al., "Atomic Snapshots of Shared Memory", Journal of the Association for Computing Machinery, vol. 40, No. 4, Sep. 1993, ACM, New York, NY, pp. 873-890.
  • Harris, T., et al., "A Practical Multi-Word Compare-and-Swap Operation", in Proceedings of the 16th International Symposium on DIStributed Computing (2002), pp. 265-279.
  • Herlihy, M., et al., "Software Transactional Memory for Dynamic Data Structures", in Proceedings of the 22nd Annual ACM Symposium on Principles of Distributed Computing (2003).