计算机科学 > 操作系统
[提交于 2024年9月26日]
标题:Exploring Time-Space trade-offs for synchronized in Lilliput
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:David Dice[v1] 2024年9月26日 星期四 23:35:23 UTC