Wait-Free Queue Algorithms for the Real-time Java Specification
Philippas Tsigas, Yi Zhang, Daniel Cederman et al. · Proceedings - Real-Time Technology and Applications Symposium · 2006
Efficient algorithmic implementations of wait-free queue classes in the Real-time Specification for Java are presented in this paper. The algorithms are designed to exploit the unidirectional nature of these queues and the priority-based scheduling in the specification. The proposed implementations support multiple real-time threads to access the queue in a wait-free manner and at the same time keep the "Write Once, Run Anywhere" principle of Java. Experiments show our implementations outperform the reference implementations, especially with high priority tasks. In the implementations, we introduce a new solution to the "enabled late-write" problem discussed in [9]. The problem is caused by using only memory read/write operations. The new solution is more efficient, with respect to space complexity, compared to previous wait-free implementations, without losing in time complexity.
Cited by 5 works. doi:10.1109/rtas.2006.45
Authors
References
- Linearizability: a correctness condition for concurrent objects
- The real-time specification for Java
- A simple, fast and scalable non-blocking concurrent FIFO queue for shared memory multiprocessor systems
- Real-time object sharing with minimal system support
- Wait-free object-sharing schemes for real-time uniprocessors and multiprocessors
- Implementing wait-free objects on priority-based systems
- Scoped Types for Real-Time Java
- Asynchronous event handling and real-time threads in the real-time specification for Java
- The real-time specification for Java: current status and future work
- Illegal references in a real-time Java concurrent environment