
Java Performance and Profiling (#23)
About this episode
How do you get the maximum performance out of your Java application? And how to use profiling to find the bottlenecks? Let's learn it in this podcast!
Java profiling is a crucial technique for measuring and improving the performance of applications. It helps identify bottlenecks, memory leaks, and other application performance issues. There are various challenges with using Java profiling, and the need for profiling depends on the complexity of the application and the performance requirements. Let us learn more about the challenges, different profiling approaches, and when to use Java profiling to reach the best performance with our Java code.
Guests
Chris Newland
Marcus Hirt
Heinz Kabutz
Podcast
Host: Marcus Lagergren
Production: Frank Delporte
Content
00:00 Introduction of the host and guests
10:42 History of Java and how performance was a challenge in the beginning
14:21 What is profiling? What should be profiled? What is good profiling?
28:44 What you should learn about profiling and performance
31:43 Impact of the different garbage collectors on performance
32:59 Performance and profile should focus on the right requirement for your system
34:39 Ergonomics in the JVM and tunes itself for the system it is running on
39:49 What are current important evolutions and upcoming coming or required changes in profiling?
43:19 Break-throughs in Stop-The-World approaches
46:43 Minimize the number of JVM flags you use
56:47 About Errors and Exceptions
58:30 The current runtimes and operating systems are very forgiving
- https://openjdk.org/jeps/312 (Thread-Local Handshakes)
- https://openjdk.org/jeps/444 (Virtual Threads)
1:04:26 Is profiling becoming less relevant?
1:10:20 Conclusion
More from Foojay.io | Friends of OpenJDK and Java Programming
Are we still writing code, or are we mostly reviewing it? For many developers the answer changed within a year: the editor is no longer the center of the universe, the chat or the agent session is. At…
How safe is your Java application, and how safe are the dependencies it ships with? If you build software that handles sensitive data and you have no security process, OWASP's Jim Manico has a blunt w…
A record 53 CVEs in one Java update, followed by two emergency releases within days. Yes, a lot of issues are being found, but Java is still strong: a whole community and the commercial distributors a…
Runtime reflection is a quiet tax on the JVM. It is flexible, it is everywhere, and it is easy to stop noticing it until you go looking for where your CPU is actually going. Two teams did exactly that…
Foojay.io quietly moved off WordPress and onto Hugo. No more CMS login, no database, no admin panel — just Markdown and AsciiDoc files, built and deployed straight from GitHub. So is a traditional CMS…