• Home
  • Search
  • Code cache management schemes for dynamic optimizers
  • Cite Icon46
  • https://doi.org/10.1109/intera.2002.995847Copy DOI Icon

Code cache management schemes for dynamic optimizers

  • Feb 3, 2002
  • K Hazelwood +1 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

A dynamic optimizer is a software-based system that performs code modifications at runtime, and several such systems have been proposed over the past several years. These systems typically perform optimization on the level of an instruction trace, and most use caching mechanisms to store recently optimized portions of code. Since the dynamic optimizers produce variable-length code traces that are modified copies of portions of the original executable, a code cache management scheme must deal with the difficult problem of caching objects that vary in size and cannot be subdivided without adding extra jump instructions. Because of these constraints, many dynamic optimizers have chosen unsophisticated schemes, such as flushing the entire cache when it becomes full. Flushing minimizes the overhead of cache management but tends to discard many useful traces. This paper evaluates several alternative cache management schemes that identify and remove only enough traces to make room for a new trace. We find that by treating the code cache as a circular buffer, we can reduce the code cache miss rate by half of that achieved by flushing. Furthermore, this approach adds very little bookkeeping overhead and avoids the problems associated with code cache fragmentation. These characteristics are extremely important in a dynamic system since more complex strategies will do more harm than good if the overhead is too high.

Similar Papers
  • Conference Article
  • Citations32

Generational cache management of code traces in dynamic optimization systems

  • May 25, 2004
  • K Hazelwood +1
  • Book Chapter
  • Citations2

A Novel Chaining Approach to Indirect Control Transfer Instructions

  • Jan 01, 2011
  • Wei Chen +3
  • Research Article
  • Citations2

Improving dynamic binary optimization through early-exit guided code region formation

  • Mar 16, 2013
  • ACM SIGPLAN Notices
  • Chun-Chen Hsu +6
  • Conference Article
  • Citations12

Improving dynamic binary optimization through early-exit guided code region formation

  • Mar 16, 2013
  • Chun-Chen Hsu +6
  • Conference Article
  • Citations6

Popularity Based Cache Management Scheme for RAID Which Uses an SSD as a Cache

  • Jan 01, 2009
  • Dongkyu Lee +1
  • Conference Article
  • Citations17

Dynamic cache management in multi-core architectures through run-time adaptation

  • Mar 01, 2012
  • F Hameed +2
  • Conference Article

Reputation system for User Generated wireless podcasting

  • Dec 01, 2008
  • Liang Hu +2
  • Research Article
  • Citations7

Response Time Analysis in a Data Broadcast System with User Cache

  • Jan 01, 2003
  • Telecommunication Systems
  • Jong-Deok Kim +1
  • Conference Article
  • Citations2

A dynamic optimization method for a smart grid

  • Jul 01, 2010
  • Ganesh Kumar Venayagamoorthy
  • Research Article
  • Citations6

A pattern-based evaluation of download and cache management algorithms for annotated interactive non-linear videos

  • Apr 11, 2016
  • Multimedia Systems
  • Britta Meixner
  • Conference Article
  • Citations3

Optimized neighbour prefetch and cache for client-server based walkthrough

  • Dec 03, 2003
  • Zhi Zheng +1
  • Conference Article
  • Citations70

An event-driven multithreaded dynamic optimization framework

  • Jan 01, 2005
  • Weifeng Zhang +2
  • Conference Article
  • Citations2

Estimation of time varying parameters in nonlinear systems by using dynamic optimization

  • Jan 01, 2005
  • Xuemei Zhu +1
  • Research Article
  • Citations136

Dynamic Optimization of Nonlinear Processes with an Enhanced Scatter Search Method

  • Apr 03, 2009
  • Industrial & Engineering Chemistry Research
  • Jose A Egea +3
  • Conference Article
  • Citations3

A Cache Management Scheme for Hiding Garbage Collection Latency in Flash-Based Solid State Drives

  • Sep 01, 2015
  • Wei Xie +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.