Real time Java

From Seo Wiki - Search Engine Optimization and Programming Languages

Jump to: navigation, search

Real time Java is a catch-all term for a combination of technologies that allows programmers to write programs that meet the demands of Real time systems in the Java programming language.

Java's sophisticated memory management, native support for threading and concurrency, type safety, and relative simplicity have created a demand for its use in many domains. Unfortunately, several properties prevent it from being directly suitable for use in Real time systems:

  • Java does not support a strict priority based threading model. Early suggestions that it would support such a model were abandoned because they could not be implemented without native bindings on the target platforms, which were unavailable on Windows and Solaris.
  • More critically, the garbage collection behavior may introduce unbounded delays in computation, immediately destroying any chance of making real-time guarantees for programs written in Java, although modern incremental garbage collectors available in many real-time Java implementations now reduce this level of non-determinism.

To overcome these difficulties, the Java Community introduced a specification for real-time Java, JSR001. As of 2007, a number of implementations of the resulting Real-Time Specification for Java (RTSJ) have emerged, including a reference implementation from Timesys, IBM's WebSphere Real Time, Sun Microsystems's Java SE Real-Time Systems[1], Aonix PERC or JamaicaVM from aicas.

The RTSJ addresses the critical issues by mandating a minimum specification for the threading model (and allowing other models to be plugged into the VM) and by providing for areas of memory that are not subject to garbage collection, along with threads that are not preemptable by the garbage collector.

Contents

Real-Time Specification for Java

The Real-Time Specification for Java (RTSJ) is a set of interfaces and behavioral specifications that allow for real-time programming in the Java programming language. RTSJ 1.0 was developed as JSR 1 under the Java Community Process, which approved the new standard in November, 2001. As of 2006, RTSJ 1.1 is being developed under JSR 282.

See also

External links

ja:Real-Time Specification for Java ru:RTSJ th:Real-Time Specification for Java

References

Personal tools

Served in 0.123 secs.