• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Which are the Qualities of Real-Time Systems in context of Real-Time Java ?

 
Ninad Kulkarni
Ranch Hand
Posts: 802
Hibernate Linux Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which are the Qualities of Real-Time Systems in context of Real-Time Java ?
 
Eric Bruno
author
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The qualities are similar to those of any real-time system, basically: it must be predictable and deterministic, provide priority-based scheduling of threads with run-to-block semantics, have support of periodic tasks. It's all well summarized in the beginning of the specification (rtsj.org).

I wanted to add to this to be more thorough. The RTSJ, to which Java RTS compliant, outlines several key qualities for real-time Java implementations. It must be backward compatible with Java; it must not extend the language or make any syntactical changes to Java in any way; it must allow for predictable execution in terms of time; it must support Java's WORA mantra in the context of RTSJ-compliant implementations; must support priority-based scheduling; allow for memory management outside the scope of any GC or GC algorithm; must support priority inversion avoidance; support prioritized processing of asynchronous events, transfer of control, and thread termination for efficient and deterministic behavior in response to real-world events; and provide physical memory access.

Take a look here for more: http://www.rtsj.org/specjavadoc/book_index.html
 
Ninad Kulkarni
Ranch Hand
Posts: 802
Hibernate Linux Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Eric for such a wonderfull explaination. Given link is very nice.
 
Eric Bruno
author
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're welcome. I hope the explanation wasn't too overwhelming, but there's a lot to real-time programming in general, as well as the RTSJ.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic