Barr Group FacebookBarr Group TwitterBarr Group LinkedInBarr Group Vimeo

Course Length: 
2 Days

It is said that the creator of the Java programming language envisioned embedded systems as the target application. Certainly, Java’s built-in thread awareness, prevention of memory leaks, and security model are attractive features for the designers of real-time systems. Unfortunately, the standard Java virtual machines are extremely large and non-deterministic. This course demonstrates that, with the correct JVM, real-time Java programming is possible and powerful. Among other things, students will learn how to tune a garbage collector and develop multithreaded programs in Java.


  • Embedded programmers contemplating or using Java
  • Engineering managers responsible for language choice


The following outline is provided as a summary of the major course topics and should not be taken as literally the section-by-subsection lecture breakdown.

  • Introduction
    • Real-Time Systems
    • Real-Time Java
  • Java Threads
    • Thread Creation
    • Thread States
    • Priorities
    • Timers and TimerTasks
  • Preemptive Scheduling
    • Preemption
    • Rate Monotonic Algorithm
    • Schedulable Bound
    • Aperiodic Tasks
    • Priority Inversion
  • Garbage Collection
    • Heap Terminology
    • Reference Counting
    • Mark and Sweep
  • Real-Time Garbage Collection
    • Real-Time Issues
    • Defragmentation
    • Efficiency
    • Preemptibility
    • Collector Pacing
  • Concurrent Programming
    • The Big Picture
    • Mutual Exclusion
    • Memory Visibility
    • Thread-Safe Classes
    • Waiting and Signaling
    • Safety and Liveness
  • Design Patterns
    • Active Objects
    • Message Queueing
    • Guarded Call
    • Thread Barrier
    • Rendezvous
    • Observer


Attendees should have a basic familiarity with the syntax of the Java programming language.

Find out More

To find out more about our upcoming public trainings, go to our Training Calendar.

Contact Us to find out more about this course or to enquire about an on-site training at your company.

Recording Policy

All Barr Group Training Public and On-site courses may not be videotaped or photographed without consent from Barr Group's executive team.