Barr Group FacebookBarr Group TwitterBarr Group LinkedInBarr Group Vimeo

Course Overview

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.


The following is a summary of the major course topics and are not 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


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


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

Related Courses

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 audiotaped, videotaped or photographed without consent from Barr Group's executive team.  Barr Group reserves the right to record portions or all of a training course for instructional purposes.  As a result, attendees present may also appear on the recording.