Patents
US 7,765,527 B2#13291264 Most CitedExpiredUnited States (USPTO)Utility

Per thread buffering for storing profiling data

8Forward Citations (#13291264 Global)
0.5/yrCitation Velocity (#15395441 Global)
1.90Citation PageRank (#15804979 Global)
6Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method, system and computer program product for collecting profiling information during runtime of a multithreaded program. According to the method, a plurality of instructions of the program for execution in an application thread are first received; a plurality of variable size profiling records are then stored in a buffer assigned exclusively to the application thread during execution of the plurality of instructions; and the plurality of profiling records in the buffer are then processed. The program may be written in Java bytecode for execution in a Java virtual machine with the processing of profiling buffers performed by a component of a JIT compiler for insertion into a repository in internal JIT format, e.g. a hash table, for later optimization processing.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for collecting profiling information during runtime of a multithreaded program, the method comprising the steps of: receiving a plurality of instructions of the program for execution in an application thread; identifying by an interpreter within a virtual machine whether profiling is enabled for the plurality of instructions within a bytecode table, wherein for each of the plurality of instructions, the bytecode table points to one of a first implementation that collects profiling records and a second implementation that does not collect profiling records; responsive to the bytecode t

Technical Overview & Description

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

Non-Patent Literature (2)

  • Conte et al. "Accurate and Practical Profile-Driven Compilation Using the Profile Buffer", IEEE, 1996, pp. 36-45.
  • Han Bok Lee and Benjamin G. Zorn "BIT: A Tool for Instrumenting Java Bytecodes" Dec. 1997, USENIX, p. 1-11.