Java Performance Tuning

Java(TM) - see bottom of page

|home |services |training |newsletter |tuning tips |tool reports |articles |resources |about us |site map |contact us |
Tools: | GC log analysers| Multi-tenancy tools| Books| SizeOf| Thread analysers| Heap dump analysers|

Our valued sponsors who help make this site possible
JProfiler: Get rid of your performance problems and memory leaks! 

Training online: Concurrency, Threading, GC, Advanced Java and more ... 

News April 2022

Get rid of your performance problems and memory leaks!

Modern Garbage Collection Tuning
Shows tuning flow chart for GC tuning

Java Performance Training Courses
COURSES AVAILABLE NOW. We can provide training courses to handle all your Java performance needs

Java Performance Tuning, 2nd ed
The classic and most comprehensive book on tuning Java

Java Performance Tuning Newsletter
Your source of Java performance news. Subscribe now!
Enter email:

Training online
Threading Essentials course

Get rid of your performance problems and memory leaks!

Back to newsletter 257 contents

A reader asked me if the Xprof profiler was still of any use. The answer is no, it's old tech that was removed from the JVM a few years ago (JDK 10). For those of you unaware of it (I first wrote about it nearly 20 years ago), the HotSpot JVM had the Xprof profiler embedded in it, and it was used by the JVM to identify which methods to compile to native code. Subsequently other techniques are used and because Xprof caused a root scanning overhead, it was removed.

What is still of interest to us are the techniques used to make it the lowest possible overhead profiler: infrequent sampling, no stack walking, no thread matching or analysis, minimal processing of data (just a counter per method signature). These are techniques that you can apply to your applications to find things that can be analyzed later for improvements; they are also how modern object creation profiling is done in JFR to keep overhead low, where samples are only taken rarely (when the TLAB gets full), the sampled stack size is configurable and the events processed elsewhere.

Now on to all the usual newsletter list of links, tips, tools, news and articles, and as usual I've extracted all the tips into this month's tips page

A note from this newsletter's sponsor

Get rid of your performance problems and memory leaks!


Java performance tuning related news


Java performance tuning related tools


Jack Shirazi

Back to newsletter 257 contents

Last Updated: 2023-01-29
Copyright © 2000-2023 All Rights Reserved.
All trademarks and registered trademarks appearing on are the property of their respective owners.
Java is a trademark or registered trademark of Oracle Corporation in the United States and other countries. is not connected to Oracle Corporation and is not sponsored by Oracle Corporation.
RSS Feed:
Trouble with this page? Please contact us