Patents
US 8,826,249 B2#18636787 Most CitedActiveUnited States (USPTO)Utility

Method and system for optimizing code for a multi-threaded application

6Forward Citations (#18636787 Global)
0.5/yrCitation Velocity (#15812823 Global)
1.35Citation PageRank (#26859747 Global)
8Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

In modern multi-threaded environments, threads often work cooperatively toward providing collective or aggregate throughput for an application as a whole. Optimizing in the small for “thread local” common path latency is often but not always the best approach for a concurrent system composed of multiple cooperating threads. Some embodiments provide a technique for augmenting traditional code emission with thread-aware policies and optimization strategies for a multi-threaded application. During operation, the system obtains information about resource contention between executing threads of the multi-threaded application. The system analyzes the resource contention information to identify regions of the code to be optimized. The system recompiles these identified regions to produce optimized code, which is then stored for subsequent execution.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for optimizing code for a multi-threaded application, comprising: obtaining information associated with resource contention between executing threads, wherein said obtaining comprises acquiring information obtained by statically analyzing the code, sampling CPU performance while executing the code for the multi-threaded application, acquiring program behavior statistics while executing the code for the multi-threaded application, and acquiring information about consumption of one or more system resources while executing the code for the multi-threaded application; analyzing the inform

Technical Overview & Description

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

Non-Patent Literature (3)

  • Bogda, Jeff, and Urs Hölzle. "Removing unnecessary synchronization in Java." ACM SIGPLAN Notices. vol. 34. No. 10. ACM, 1999, pp. 35-46.
  • Chen, Wen-Ke, et al. "Mojo: A dynamic optimization system." 3rd ACM Workshop on Feedback-Directed and Dynamic Optimization (FDDO-3). 2000, pp. 1-10.
  • Luk, Chi-Keung, et al. "Pin: building customized program analysis tools with dynamic instrumentation." Acm Sigplan Notices. vol. 40. No. 6. ACM, 2005, pp. 190-200.