Title :
Wait-Free Queue Algorithms for the Real-time Java Specification
Author :
Tsigas, Philippas ; Zhang, Yi ; Cederman, Daniel ; Dellsén, Tord
Author_Institution :
Chalmers University of Technology, Sweden
Abstract :
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.
Keywords :
Algorithm design and analysis; Computer languages; Computer science; Data structures; Java; Job shop scheduling; Read-write memory; Scheduling algorithm; Space technology; Yarn;
Conference_Titel :
Real-Time and Embedded Technology and Applications Symposium, 2006. Proceedings of the 12th IEEE
Print_ISBN :
0-7695-2516-4
DOI :
10.1109/RTAS.2006.45