Reputation: 17278
Are there any low-level differences between normal Java and the Real-time Java spec?
Im just critical because it still has the JVM and therefore you cannot directly access as much of the "bare metal" as one doing real-time would like ???
Upvotes: 1
Views: 158
Reputation: 346546
Real-time has absolutely nothing to do with "accessing the bare metal". It's about the ability to say "I want this task to be finished within the next 100ms", and have the system ensure that it will indeed happen, and that the executing thread will not be swapped out, it will not have to wait for a full GC, and it will get all locks it needs before any lower-priority tasks do.
The Real-time Java spec is all about this requirement, and that does indeed require a lot of low-level changes in thread scheduling, GC, and synchronization.
Upvotes: 5