Tuesday Apr 15, 2008
Tuesday Apr 15, 2008
But first did you see the announcement that we just made available Sun Java RTS 2.1 Beta for Solaris and real-time Linux? If not then you just have! The 2.1 release primarily adds support for real-time Linux but it also has a few additions in terms of tool support — in particular the Thread Scheduling Visualizer is a really great way to get insight into what is happening at run-time with regards to thread scheduling. The TSV uses trace information generated by DTrace probes, so its presently restricted to running on Solaris.
Back to JavaOne and if you really want to get your hands dirty learning real-time Java then come along to the hands-on lab. Lab 7420: The Real-time Java Programming Challenge is running for the second year. You'll learn the basics of writing periodic threads (the foundation for many real-time control systems), see how external events (like POSIX signals) can trigger execution of real-time Java AsyncEventHandler objects, and how you can use use no-heap based memory management to avoid Garbage Collector delays (though with Sun Java RTS Real-time GC that's less of an issue than it used to be!). New this year is an exercise on using the Thread Scheduling Analyzer for determining why a deadline is being missed.
By the way, even if you can't make JavaOne this year, the labs will be available for download after the event through Sun Developer Network - look for Lab 7420.
As I said real-time is big-time at JavaOne this year and we almost have our own mini-track of real-time presentations, from inside and outside Sun:
So I hope to see you at the lab, or later at the BOF!