Lightweight service based dynamic binary rewriter framework
Abstract
A sampling based DBR framework which leverages a separate core for program analysis. The framework includes a hardware performance monitor, a DBR service that executes as a separate process and a lightweight DBR agent that executes within a client process. The DBR service aggregates samples from the hardware performance monitor, performs region selection by deducing the program structure around hot samples, performs transformations on the selected regions (e.g. optimization), and generates replacement code. The DBR agent then patches the client process to use the replacement code.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 5.
Claims (2 — 2 Independent, 0 Dependent)
- Claim 1Independent Claim
A dynamic binary rewriter (DBR) framework comprising: a hardware performance monitor contained within a processor, the hardware performance monitor sampling one or more client processes; a DBR service, the DBR service executing as a separate process, the DBR service configured to: aggregate samples from the hardware performance monitor; perform region selection to identify a frequently executed code section in the one or more client processes; optimize the selected region; and generate replacement code for the selected region, wherein the replacement code is functionally equivalent to original
- Claim 2Independent Claim
The DBR framework of claim
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (11)
Non-Patent Literature (5)
- Arnold, M. et al., Adaptive Optimization in the Jalapeño JVM, ACM Sigplan Notices, Association for Computing Machinery, New York, NY, vol. 35, No. 10, Oct. 1, 2000.
- Bala, V. et al., Transparent Dynamic Optimization: The Design and Implementation of Dynamo, HP Laboratories Technical Report, Jun. 1, 1999.
- Bruening, D. et al., An Infrastructure for Adaptive Dynamic Optimization, First International Symposium on Code Generation and Optimization: Feedback-Directed and Runtime Optimization, S.F. California, Mar. 23-26, 2003.
- International Preliminary Report on Patentability for PCT Application No. PCT/US10/047280, mailed Mar. 15, 2012.
- International Search Report and Written Opinion for PCT Application No. PCT/US10/047280, mailed Nov. 24, 2010.