RTSJ(Java 实时规范)到底是什么?
Java 实时规范到底是什么?也就是说,它与“常规”Java SE 或 Java EE 规范有何不同?
What exactly is the Java Real Time Specification? That is, how does it differ from the "regular" Java SE or Java EE specifications?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
基本上,这是您无法使用常规 VM(及其停止世界 GC 等)实现的目标,因此需要另一个规范:
我强烈推荐阅读:
第 2 部分,垃圾收集和 Sun Java 实时系统 (Java RTS)
Basically, this is something you won't be able to achieve with the regular VM (and its stop-the-world GC amongst other things), hence the need for another specification:
I warmly recommend the reading of:
Part 2, Garbage Collection and the Sun Java Real-Time System (Java RTS)
我假设您正在谈论 RTSJ,Java 实时规范。这是一组支持 Java 实时开发的接口和相关行为规范。
RTSJ 以允许进行实时开发的方式扩展了 Java 语言和库规范。例如,可以指定不受垃圾回收影响的内存区域,这对于普通 Java 来说或多或少是不可能的。
您可以在此处<阅读完整规范的 PDF 版本/强>。
I assume you're talking about RTSJ, the Real-Time Specification for Java. This is a set of interfaces and related behavioral specifications that enable real-time development in Java.
RTSJ extends the Java language and library specifications in a way that permits real-time development to happen. For example, it's possible to specify regions of memory that aren't subject to garbage collection, which is more or less impossible with vanilla Java.
You can read a PDF version of the full spec here.
http://java.sun.com/developer/technicalArticles/Interviews/Bollella_qa2。 html
http://java.sun.com/developer/technicalArticles/Interviews/Bollella_qa2.html