This paper discusses the role and implementation of asynchronous event handlers in the Real-time Specification for Java (RTSJ). For non-blocking handlers, an implementation model whereby all heap-using handlers are serviced by a single thread and all no-heap handlers are serviced by another server thread is proposed and schedulability analysis is derived. The model is shown to have bounded priority inversion. General multiple-server models are needed for non-blocking handlers but the support in the RTSJ is criticised as lacking in configurability. A solution is proposed which allow the number of servers to be specified, and the allocation of handlers to servers to be controlled.

BibTex Entry

@inproceedings{Wellings2002,
 author = {A. J. Wellings and A. Burns},
 booktitle = {Proceedings of the 8th IEEE Real-Time and Embedded Technology and Applications Symposium},
 category = {scheduling,languages},
 pages = {81-89},
 title = {Asynchronous Event Handling and Real-time Threads in the Real-Time Specification for Java},
 year = {2002}
}