Skip to content
Demo application for showing off the performance comparison between OpenJ9 and Hotspot
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

OpenJ9 Batch Processor


This project demonstrates the performance benefits of running Java applications on Eclipse OpenJ9.

Eclipse OpenJ9 is a fully compatible opensource JVM that is free for both download and use from AdoptOpenJDK.


This demo is used in the presentation OpenJ9 a Lean, Mean, Java Virtual Machine

Slides to the presentation are available here:

About the Demo

A Spring Batch application is used as a test article for comparing the JVMs to one another. At a high level the batch application performs the following actions:

  1. Read from CSV (number of records read is)
  2. Perform data transform
  3. Write to in-memory database (H2) using JPA
  4. Performe SHA hashes on records
  5. Performe checks on records
  6. Simple logic and regexes
  7. Print to console
  8. Transform and print object as JSON string to console

The source code for the application is avaliable here.

Feedback is welcome on the design of a demo to properly compare JVMs to one another. The goal of this demo was to be able to easily compare throughput and minimize dependencies on external (to the JVM) dependencies.

Running the Demo


This project and presentation have ongoing improvements made to them. They might change a bit over time, but always with the intent of improving upon the content to make it more informative, helpful, easier to use, and give a more accurate representation of OpenJ9's performance relative to other available JVM implementations.

You can’t perform that action at this time.