The new semantic on volatile is going to be very useful for NoHeapRealtimeThread (ref. Real-Time Java Specification JSR-001). Indeed, this thread is not supposed to synchronize with heap-using threads (otherwise it could be blocked by GC).
The new semantic on volatile saves the day!
It is now possible to share data between all threads including real-time threads using volatile "guards" variable. For details and examples, I would recommend reading JADE Real-Time FAQ Item 8 at http://jade.dautelle.com/api/com/dautelle/realtime/package-summary.html#FAQ |