Reflexes: abstractions for highly responsive systems
Abstract
Commercial Java virtual machines are designed to maximize the performance of applications at the expense of predictability. High throughput garbage collection algorithms, for example, can introduce pauses of 100 milliseconds or more. We are interested in supporting applications with response times in the tens of microseconds and their integration with larger timing-oblivious applications in the same Java virtual machine. We propose Reflexes, a new abstraction for writing highly responsive systems in Java and investigate the virtual machine support needed to add Reflexes to a Java environment. Our implementation of Reflexes was evaluated on several programs including an audio-processing application. We were able to run a Reflex at 22.05KHz with less than 0.2% missed deadlines over 10 million observations, a result that compares favorably to an implementation written in C.
BibTeX
@inproceedings{spring2007reflexes,
author = {Jesper Honig Spring and Filip Pizlo and Rachid Guerraoui and Jan Vitek},
title = {{Reflexes: abstractions for highly responsive systems}},
booktitle = {VEE},
year = {2007},
doi = {10.1145/1254810.1254837},
}Ask Althea to put this paper to the test.
| A framework for adaptive real-time applications: the declarative real-time OSGi component model | Arm · 2008 |
| PretVM: Predictable, Efficient Virtual Machine for Real-Time Concurrency | arXiv · 2024 |
| Towards Deterministic Sub-0.5 us Response on Linux through Interrupt Isolation | arXiv · 2025 |
| Espresso: Brewing Java For More Non-Volatility with Non-volatile Memory | arXiv · 2017 |
| A Java Compiler for Many Memory Models | Java Virtual Machine Research and Technology Symposium · 2001 |
| Democratizing Transactional Programming | Middleware · 2011 |