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/