Optimize Java Applications for Higher Throughput with Oracle GraalVM

0
0
Send lab feedback

Description

This lab shows how to run a JMH benchmark compiled into a native executable built with Oracle GraalVM Native Image and how to apply Profile-Guided Optimization (PGO) to improve its performance.

Expected Time to Complete

30-45 minutes

Intended Audience

Application Developer, DevOps Engineer

Level

Beginner

Products/Services

Oracle GraalVM, Oracle Cloud Infrastructure, Oracle Linux

Technology

Native Image, Java

Changelog

  • January 11, 2023 - Initial version
  • July 11, 2023 - Update to Oracle GraalVM for JDK 17
  • May 1, 2025 - Update to Oracle GraalVM for JDK 24

Acknowledgements

  • Owners - Olga Gupalo, Kris Foster
  • Contributors - Shaun Smith, Sachin Pikle
Difficulty
Beginner
Time Limit
1 hour


Views
4020

Students
92


Authors
GraalVM
GraalVM @ Oracle Labs



Topics
Native ImageJavaOCIPGOOracle GraalVM
SSR