Back to results

University of Toronto

Disaggregated Just-in-Time Compilation for the Java Virtual Machine

Abstract

dc:description.abstract

Managed language runtimes such as the Java virtual machine (JVM) rely on just-in-time (JIT) compilers to improve application performance by converting bytecodes into optimized machine code. Unfortunately, JIT compilation introduces significant CPU and memory runtime overheads. These overheads are especially significant for modern cloud workloads where JVM instances are often short-lived and/or memory-constrained. JIT compiler disaggregation is a technique that decouples the JIT from the JVM and ships compilation to a separate remote process in order to improve application warm-up performance and reduce memory footprint. JITServer is an implementation of this approach in the Eclipse OpenJ9 JVM. Several optimizations proposed in this thesis improve JITServer performance in the multi-client setting and in environments with higher network latency. The performance evaluation presented in this thesis is the first study of remote JIT compilation in the context of cloud computing, demonstrating significant improvements in application warm-up speed and memory footprint. Caching compiled native code at the JITServer and its transparent reuse in multiple client JVMs running on different machines further improves warm-up performance and system-wide resource utilization, effectively increasing application density in the cloud. JITServer with caching compiled methods reduces overall CPU cost by up to 77%, overall memory usage by up to 62%, application start time by up to 58%, and warm-up time by up to 87% compared to local JIT compilation for a set of realistic web applications. Caching profiling data at the JITServer enables eager JIT compilation and prefetching server-cached compiled code, further improving application warm-up performance. Evaluation on a wide variety of application benchmarks shows reductions in runtime of short-running workloads of up to 24% and warm-up time of long-running ones of up to 80%.

Degree

thesis:*
Department dc:contributor.department
Computer Science
Year dc:date.issued
2024

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Khrabrov, Alexey
Advisor dc:contributor.advisor
  • de Lara, Eyal

Subjects

dc:subject × 6

Identifiers

dc:identifier.*
Handle dc:identifier.uri
http://hdl.handle.net/1807/140205

Chain of custody

source
Harvested from
University of Toronto
Base URL
utoronto.scholaris.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Khrabrov, Alexey. Disaggregated Just-in-Time Compilation for the Java Virtual Machine. 2024. http://hdl.handle.net/1807/140205