Back to search

McGill University

Cache line reservation: exploring a scheme for cache-friendly object allocation

Abstract

dc:description.abstract

This thesis presents a novel idea for object allocation, cache line reservation (CLR), whose goal is to reduce data cache misses. Certain objects are allocated from "reserved" cache lines, so that they do not evict other objects that will be needed later. We discuss what kinds of allocations can benefit from CLR, as well as sources of overhead. Prototypes using CLR were implemented in the IBM® J9 Java™ virtual machine (JVM) and its Testarossa just-in-time (JIT) compiler. A performance study of our prototypes was conducted using various benchmarks. CLR can offer a benefit in specialized microbenchmarks when allocating long-lived objects that are accessed in infrequent bursts. In other benchmarks such as SPECjbb2005 and SPECjvm2008, we show that CLR can reduce cache misses when allocating a large number of short-lived objects, but not provide a performance improvement due to the introduced overhead. We measure and quantify this overhead in the current implementation and suggest areas for future development. CLR is not limited to Java applications, so other static and dynamic compilers could benefit from it in the future.

Degree

thesis:*
Name thesis:degree_name
Master of Engineering
Grantor dc:publisher
McGill University
Year dc:date.issued
2009

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Bilicki, Ivan
Advisor dc:contributor.advisor
  • Zilic, Zeljko (Internal/Supervisor)

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • All items in eScholarship@McGill are protected by copyright with all rights reserved unless otherwise indicated.
Language dc:language.iso
en

Identifiers

dc:identifier.*
OCLC
658210213
Dc Identifier Other
hyrax:qr46r197k

Chain of custody

source
Harvested from
McGill University
Base URL
mcgill.scholaris.ca/server/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
related terms
citation

Bilicki, Ivan. Cache line reservation: exploring a scheme for cache-friendly object allocation. McGill University, 2009. https://doi.org/10.82308/30438