Real-time Java
Real-Time Java: An Introduction
・Direct memory access
-You can create device drivers written in pure Java.
-Java RTS defines a new class that allows programmers byte-level access to physical memory.
・Asynchronous communications
-Asynchronous event handling : the developer can now schedule the response to events coming from outside the JVM.
-Asynchronous transfer of control : a carefully controlled way for one thread to interrupt another thread in a safe manner.
・High-resolution timing
- nanosecond accuracy is available for time scheduling and measurements.
・Memory management
-Immortal memory holds objects without destroying them, except when the program ends.
--bjects created in immortal memory must be carefully allocated and managed, as with C programs.
-Scoped memory is used only while a process works within a particular section, or scope, of the program (such as in a method).
--Objects are automatically destroyed when the process leaves the scope
・Real-time threads
-real-time threads / no-heap real-time thread
Real-Time Java Platform Programming, by Peter C. Dibble
Real-Time Specification for Java
Sun J2SE Real-Time Edition