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 October 2017

JProfiler
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


JProfiler
Get rid of your performance problems and memory leaks!


Back to newsletter 203 contents

Alibaba (see our news items this month, below) look to have invested a lot of time and effort in going down the lightweight-thread path of asynchronous programming. Although their approach is proprietary, we have had coroutines (eg Matthias Mann's) in Java for a long time used by quite a few projects, and ParallelUniverse's Quasar project is a nice generally available implementation of lightweight threads.

Alibaba seems to have taken the next step, of integrating these into the JVM so that stack traces actually show the lightweight thread trace instead of the framework trace - that's essential for visibility and allowing proper debugging of of issues; Alibaba describes this as "simplicity of synchronous, performance of asynchronous". The problem with most asynchronous programming frameworks (Actors, Fork-join, etc) is that when you go to debug an issue, you get thrown into the framework rather than your use of the framework, and this makes debugging much more difficult than debugging synchronous execution.

It would be ideal to have lightweight threads properly integrated into the JVM. I appreciate this is a lot of effort - primarily because all JVM-kernel blocking calls as well as the GC need to be altered to work with them for optimal integration, but the benefits are huge, and Alibaba is already showing the need and the capability! Ron Pressler, the force behind Quasar, has now made a proposal for project Loom (see our news items below) to do this, so maybe we'll see some progress in Java 10 (thanks to my colleague Luis Pedrosa for alerting me to the proposal).

Now on to our usual links to articles, tools, news, talks, blogs. And if you need the tips from this month's articles and talks, as ever they are extracted into this month's tips page.

A note from this newsletter's sponsor

JProfiler
Get rid of your performance problems and memory leaks!

News

Java performance tuning related news.

Tools

Java performance tuning related tools.

Articles

Jack Shirazi


Back to newsletter 203 contents


Last Updated: 2024-11-29
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/news203.shtml
RSS Feed: http://www.JavaPerformanceTuning.com/newsletters.rss
Trouble with this page? Please contact us