java - Java 实时规范 RTSJ 到底是什么?

标签 java real-time rtsj

Java 实时规范到底是什么?也就是说,它与“常规”Java SE 或 Java EE 规范有何不同?

最佳答案

At its core, real-time computing is about predictability -- the knowledge that the system will always perform within the required time frame.

基本上,这是您无法通过常规 VM(及其 stop-the-world GC 等)实现的事情,因此需要另一个规范:

The Real-Time Specification for Java (RTSJ), or JSR 1, specifies how Java systems should behave in a real-time context and was developed over several years by experts from both the Java and real-time domains.

The RTSJ is designed to seamlessly extend any Java family -- whether the Java Platform, Standard Edition (Java SE); Java Platform, Micro Edition (Java ME); or Java Platform, Enterprise Edition (Java EE) -- and has the requirement that any implementation pass both the JSR 1 technology compatibility kit (TCK) and the TCK of the platform -- Java SE, Java ME, or Java EE -- on which it is based.

The RTSJ introduces several new features to support real-time operations. These features include new thread types, new memory-management models, and other newly introduced frameworks. (...)

我热烈推荐阅读:

关于java - Java 实时规范 RTSJ 到底是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2582101/

相关文章:

java - Java 中奇怪的平等行为

java - 新安装时出现 nullpointerException 错误

java - Apache Ant如何部署.war文件到Tomcat

hadoop - 使用 Hadoop 在内存 DataGrid 中横向扩展软件

Java实时性能

python - 哪些基于 python 的 ajax 推送服务器适合使用

java - 谁使用实时 Java?

java - 需要解释 : Generic friendliness to avoid casting, 这在 Java 8 中不再需要