Current RTSJ (the real-time specification for Java) threading model is dualized: programmers have to decide between the high predictability offered by its region-based model and the flexibility offered by its garbage-collected model. Up to now, there is not a unique type of thread that offers, in a single entity, the highest predictability, and flexibility together. This lack has serious consequences on the programmer who has to deal with new and sometimes non-trivial mechanisms, such as queues of objects or the no-heap real-time threads, to avoid the priority inversion caused by the garbage collector, hi order to tackle these issues and provide an improved and more generalized programming model, the authors propose an extension to the current threading model that unifies the RTSJ threading model: the RealtimeThread++ extension.
['Pablo Basanta-Val', 'Marisol García-Valls', 'Iria Estévez-Ayres']
Simplifying the Dualized Threading Model of RTSJ