Java Performance Tuning
Java(TM) - see bottom of page
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 February 2019
JProfiler
|
Get rid of your performance problems and memory leaks!
|
JProfiler
|
Get rid of your performance problems and memory leaks!
|
|
|
Back to newsletter 219 contents
Java 12 is released in less than a month (on 19th March). I'm again
listing all the new performance features, just as I now do every 6
months with each new Java version. The new features, the performance
benefits from each feature, and how to use the feature.
As usual, for completeness, I'll also list the new features that have
no performance effect so you have one place for reference. And of
course the tips from this month's articles and talks are extracted
into this month's tips page.
Before we go to the new features, I'll quickly mention my most recent
article on optimizing your server by limiting request overheads that
you might find interesting. And now those new Java 12 features ...
A note from this newsletter's sponsor
JProfiler
Get rid of your performance problems and memory leaks!
News
Java performance tuning related news - significant new performance features:
- Shenandoah low pause garbage collector added to the JVM. Use with -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC. They recommend also using -XX:+AlwaysPreTouch, -XX:+UseNUMA, -XX:+UseTransparentHugePages (and set /sys/kernel/mm/transparent_hugepage/enabled and /sys/kernel/mm/transparent_hugepage/defrag to "madvise" on Linux), -XX:-UseBiasedLocking and either -XX:+DisableExplicitGC or -XX:+ExplicitGCInvokesConcurrent
- a G1 improvement, no tuning options but a change in behaviour that means G1 can get more efficient over time based on runtime analysis - worth knowing about so that you let tests run long enough for heuristics to kick in, and so that if you are analysing you understand the behaviour
- G1 to return memory to the OS. Tuning options G1PeriodicGCInterval and G1PeriodicGCSystemLoadThreshold, 0 disables the features. If more than G1PeriodicGCInterval milliseconds have passed since any previous garbage collection pause and getloadavg() (one-minute) is below G1PeriodicGCSystemLoadThreshold then a full GC or concurrent GC (if G1PeriodicGCInvokesConcurrent is set) is triggered, and at the end of that GC the Java heap size is adjusted and any excess memory is returned to the operation system
Java performance tuning related news - new features with no performance impact:
Tools
Java performance tuning related tools.
Articles
Jack Shirazi
Back to newsletter 219 contents
Last Updated: 2024-12-27
Copyright © 2000-2024 Fasterj.com. All Rights Reserved.
All trademarks and registered trademarks appearing on JavaPerformanceTuning.com are the property of their respective owners.
Java is a trademark or registered trademark of Oracle Corporation in the United States and other countries. JavaPerformanceTuning.com is not connected to Oracle Corporation and is not sponsored by Oracle Corporation.
URL: http://www.JavaPerformanceTuning.com/news/news219.shtml
RSS Feed: http://www.JavaPerformanceTuning.com/newsletters.rss
Trouble with this page? Please contact us