arXiv Open Access 2024

Exploring Time-Space trade-offs for synchronized in Lilliput

Dave Dice Alex Kogan
Lihat Sumber

Abstrak

In the context of Project Lilliput, which attempts to reduce the size of object header in the HotSpot Java Virtual Machine (JVM), we explore a curated set of synchronization algorithms. Each of the algorithms could serve as a potential replacement implementation for the "synchronized" construct in HotSpot. Collectively, the algorithms illuminate trade-offs in space-time properties. The key design decisions are where to locate synchronization metadata (monitor fields), how to map from an object to those fields, and the lifecycle of the monitor information. The reader is assumed to be familiar with current HotSpot implementation of "synchronized" as well as the Compact Java Monitors (CJM) design and Project Lilliput.

Topik & Kata Kunci

Penulis (2)

D

Dave Dice

A

Alex Kogan

Format Sitasi

Dice, D., Kogan, A. (2024). Exploring Time-Space trade-offs for synchronized in Lilliput. https://arxiv.org/abs/2409.18342

Akses Cepat

Lihat di Sumber
Informasi Jurnal
Tahun Terbit
2024
Bahasa
en
Sumber Database
arXiv
Akses
Open Access ✓