Mark Stoodley's JavaOne session from 2017 on the latest open source JVM in the Java ecosystem: Eclipse OpenJ9, which comes from the IBM J9 JVM. Learn why IBM created the project, how this JVM works with OpenJDK, how your Java application can start 35% faster and use 2X less footprint, how OpenJ9 is licensed, and how you can get involved!
45. 45
Smaller
is better
0 200 400 600 800 1000 1200 1400 1600 1800
JVM process Resident Set Size
Time (sec)
DayTrader3 Footprint Ramp-up
(all runs with -Xmx1g)
OpenJDK9 with HotSpot
OpenJDK9 with OpenJ9
OpenJDK9 with OpenJ9 (-Xshareclasses -Xsc60m -Xscaotmax=8m)
1.8X smaller
46. 46
Higher is
better
0 200 400 600 800 1000 1200 1400 1600 1800
Throughput
Time (sec)
DayTrader3 Throughput Ramp-up
(all runs with -Xmx1g)
OpenJDK9 with Hotspot
OpenJDK9 with OpenJ9
OpenJDK9 with OpenJ9 (-Xshareclasses -Xsc60m -Xscaotmax=8m)
Reaches peak 7 minutes earlier
47. Daytrader3 Performance Summary
• OpenJDK9 with OpenJ9 using –Xshareclasses (default OpenLiberty options):
• Starts 35% quicker
• Consumes 2.6X less memory after start-up before applying load
• Consumes 1.8X less memory after 30 minutes of load
• Achieved comparable throughput performance 7 minutes earlier
• Conclusion from this benchmark:
• Half the cost running OpenJDK9 with OpenJ9, or twice the work for the same cost
• Deploy and recover JVMs 35% faster using OpenJDK9 with OpenJ9
• For more details or to try it yourself, see:
• https://github.com/eclipse/openj9-website/blob/master/benchmark/daytrader3.md47
51. Wrap-up: Want to get involved?
• Download OpenJDK with OpenJ9 and try it out!
• https://adoptopenjdk.net/nightly.html?variant=openjdk9-openj9
• Run on your favourite Java application and let us know how it went!
• Interact with our community via Github issues
• https://github.com/eclipse/openj9
• Ask questions, report problems, report Amazing Results
• Download the code, build it yourself, play around!
• Submit pull requests, see them tested on multiple platforms in the open
• Whatever you think will make Eclipse OpenJ9 better, we’d love to hear it51
52. Learn more at Java One!
• Deeper dive into how OpenJ9 works with Dan Heidinga
OpenJ9: Under the Hood of the Next Open Source JVM [CON3573]
Tuesday, Oct 03, 3:00 p.m. - 3:45 p.m. | Moscone West - Room 2004
• Have even more questions? Dan Heidinga, Mark Stoodley, John Duimovich
Ask the OpenJ9 Architects [CON2672]
Wednesday, Oct 04, 8:30 a.m. - 9:15 a.m. | Moscone West - Room 2011
• Learn about microservices for open testing with Shelley Lambert
Cloud-Based Test Microservices [CON2789]
Thursday, Oct 05, 11:45 a.m. - 12:30 p.m. | Marriott Marquis (Yerba Buena Level) - Salon 12
• Debugging runtimes with Dan Heidinga for Bjørn Vårdal
Secrets of Building a Debuggable Runtime [CON4081]
Thursday, Oct 05, 12:45 p.m. - 1:30 p.m. | Marriott Marquis (Yerba Buena Level) - Salon 15
• Visit the Eclipse Foundation booth (6140)
Dan Heidinga and Mark Stoodley today from 4:00 - 5:45
Mark Stoodley on Wednesday from 2:30 - 4:30 52