QCon Munich 2020 has been canceled. See our current virtual and in-person events.

You are viewing content from a past/completed QCon -

Presentation: Performance Beyond Throughput:An OpenJ9 Case Study

Track: Performance Mythbusting

Location: Bayview AB

Day of week: Monday

Slides: Download Slides

Level: Intermediate

Persona: Architect, Backend Developer, CTO/CIO/Leadership, Developer, Developer, JVM, DevOps Engineer, General Software, Technical Engineering Manager


Curious about Java application and JVM performance and how they are continuing to evolve? Come to this talk to learn more about exciting results and new advancements in the area of JVM performance using the latest open source JVM technology at Eclipse OpenJ9 running with OpenJDK! We'll talk about new performance boosts across a wide variety of applications and present results using different workloads and metrics to give you a fuller picture of what to expect from OpenJ9. We will also explore some common low-level Java performance problems and show how to look for these issues in an application. Low-level performance bottlenecks can be more challenging to diagnose since they can arise either from the OS kernel or from performance critical parts of the JVM such as the garbage collector (GC) or the just-in-time compiler (JIT). Rather than focusing on any single monitoring tool, we will explain the data you need to gather and provide you some examples of how to do so using system commands and profiling tools (like Linux Perf) as well as explaining different JVM tracing and logging capabilities. The view from “the bottom of the stack” can help in finding and fixing some stubborn performance problems often missed by high-level performance analysis tools.


What is the focus of your work today?


For the past 14 years I've been working on Java JIT compiler development at IBM. However, I am not your typical compiler guy because I don't focus that much on code generator or optimizer. Instead I deal with heuristics that determine what methods to compile, when to compile them and how much to optimize them. With Java, and any other languages that can benefit from a JIT compiler, the overhead of the compilation needs to be kept in check. You simply cannot afford to compile every single method at the highest optimization level; instead the JIT compiler needs to be quite selective. I've also worked on the design of various runtime aspects of the JVM like code cache management, metadata cache management or interpreter profiler to name a few. More recently I got interested in the behavior of the JVM in the cloud which is a challenging domain because the environment is more dynamic.


What’s the motivation for this talk?


The motivation for the talk is twofold:

First is to increase awareness about performance metrics that are usually ignored, for instance footprint to give just an example. Many times I have read in online forums the opinion that footprint is not important because nowadays servers have plenty of memory. This may not be true in the cloud where big machines are carved into smaller VMs.

Second is to draw attention to OpenJ9, a new open source JVM than IBM has donated to the Eclipse Foundation. OpenJ9 works in conjunction with OpenJDK and we think it offers a few performance advantages over HotSpot JVM which is traditionally used by developers.


How you you describe the persona and level of the target audience?


Due to the OpenJ9 connection, the talk should appeal primarily to developers and architects that use Java in their projects. However, the performance aspects I touch on should appeal to a broader audience because performance is a key ingredient of any software system.


With what does “that” persona walk away from your talk knowing that they might not have known 50 minutes before?


This is tightly connected to the motivation for this talk. We want the audience to leave with two key aspects: First is that there are many facets to performance and, as a developer, you have to consider them all because you don't know what your customer values most, you cannot fully guess how people are going to use your product. Even if you do guess it right today, that may change tomorrow. Secondly, we want to spread the word about OpenJ9 and why, in the cloud, it could be a good alternative to HotSpot. We want people to try it, use for their projects, come up with suggestions regarding improvements and, why not, even contribute code to the OpenJ9 project. I'll also show how to hunt for performance issues using OpenJ9 performance tools.


What technology problem keeps you up at night?


For me it's about performance and more specifically it's about the balance between contradictory performance metrics. How do you make the right trade-offs without user guidance, without having to specify a long command line or go through a long and painful tuning process. How can the JVM adapt to the running environment especially when the environment is constantly changing from one minute to the next like in the cloud. The JVM (and other software application too) needs to become a lot smarter. It needs to collect information all the time about the environment, gather clues and change its behavior to match the environment.

Speaker: Marius Pirvu

Advisory Software Developer @IBM

Marius Pirvu is an Advisory Software Developer in the IBM Runtime Technologies Group. After receiving his Ph.D. degree in Computer Science from Texas A&M University in 2000 he joined HP where he designed the chipset architecture of next generation servers. For the last 14 years he has been working at the IBM Canada Lab on the design and implementation of Testarossa Just-In-Time compiler used in IBM’s J9 JVM (now Eclipse OpenJ9). His main focus is optimizing the JVM to improve start-up, ramp-up and footprint.

Find Marius Pirvu at

Last Year's Tracks

  • Monday, 16 November

  • Java, The Platform

    Mobile, Micro, Modular: The platform continues to evolve and change. Discover how the platform continues to drive us forward.

  • Security for Engineers

    How to build secure, yet usable, systems from the engineer's perspective.

  • Modern Data Engineering

    The innovations necessary to build towards a fully automated decentralized data warehouse.

  • Machine Learning for the Software Engineer

    AI and machine learning are more approachable than ever. Discover how ML, deep learning, and other modern approaches are being used in practice by Software Engineers.

  • Inclusion & Diversity in Tech

    The road map to an inclusive and diverse tech organization. *Diversity & Inclusion defined as the inclusion of all individuals in an within tech, regardless of gender, religion, ethnicity, race, age, sexual orientation, and physical or mental fitness.

  • Architectures You've Always Wondered About

    How do they do it? In QCon's marquee Architectures track, we learn what it takes to operate at large scale from well-known names in our industry. You will take away hard-earned architectural lessons on scalability, reliability, throughput, and performance.

  • Tuesday, 17 November

  • Architecting for Confidence: Building Resilient Systems

    Your system will fail. Build systems with the confidence to know when they do and you won’t.

  • Remotely Productive: Remote Teams & Software

    More and more companies are moving to remote work. How do you build, work on, and lead teams remotely?

  • Operating Microservices

    Building and operating distributed systems is hard, and microservices are no different. Learn strategies for not just building a service but operating them at scale.

  • Distributed Systems for Developers

    Computer science in practice. An applied track that fuses together the human side of computer science with the technical choices that are made along the way

  • The Future of APIs

    Web-based API continue to evolve. The track provides the what, how, and why of future APIs, including GraphQL, Backend for Frontend, gRPC, & ReST

  • Resurgence of Functional Programming

    What was once a paradigm shift in how we thought of programming languages is now main stream in nearly all modern languages. Hear how software shops are infusing concepts like pure functions and immutablity into their architectures and design choices.

  • Wednesday, 18 November

  • Social Responsibility: Implications of Building Modern Software

    Software has an ever increasing impact on individuals and society. Understanding these implications helps build software that works for all users

  • Non-Technical Skills for Technical Folks

    To be an effective engineer, requires more than great coding skills. Learn the subtle arts of the tech lead, including empathy, communication, and organization.

  • Clientside: From WASM to Browser Applications

    Dive into some of the technologies that can be leveraged to ultimately deliver a more impactful interaction between the user and client.

  • Languages of Infra

    More than just Infrastructure as a Service, today we have libraries, languages, and platforms that help us define our infra. Languages of Infra explore languages and libraries being used today to build modern cloud native architectures.

  • Mechanical Sympathy: The Software/Hardware Divide

    Understanding the Hardware Makes You a Better Developer

  • Paths to Production: Deployment Pipelines as a Competitive Advantage

    Deployment pipelines allow us to push to production at ever increasing volume. Paths to production looks at how some of software's most well known shops continuous deliver code.