Lazy Cache Invalidation for Self-Modifying Codes

Download Now
Provided by: Association for Computing Machinery
Topic: Hardware
Format: PDF
Just-in-time compilation with dynamic code optimization is often used to help improve the performance of applications that utilize high-level languages and virtual run-time environments, such as those found in Smartphone. Just-in-time compilation introduces additional overhead into the instruction fetch stage of a processor that is particularly problematic for user applications instruction cache invalidation due to the use of self-modifying code. This software-assisted cache coherence serializes cache line invalidations, or causes a costly invalidation of the entire instruction cache, and prevents useful instructions from being fetched for the period during which the stale instructions are being invalidated. This overhead is not acceptable for user applications, which are expected to respond quickly.
Download Now

Find By Topic