Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Nataliya Muriy
Marketing Content Creator - you name it, she'll write it!

Java is a fun language to develop in but at scale it can give you headaches. One can run into a number of problems that can affect the way a Java app runs. In this article we’ll touch on some common areas for performance issues and share some good resources to guide in your Java performance optimization.

Some Common Issues


As outlined in this e-book, performance issues may occur in the following areas: database, memory, concurrency. Database-related headaches frequently include long response times, caching issues (either no caching, improper configuration and distribution), and an insufficient number of database connections. When it comes to memory, Stop-To-Wait (STW) garbage collections and memory leaks can make for an unpleasant experience. Meanwhile, concurrency can also get us in trouble with three thread-related issues: thread deadlocks, thread gridlocks, and thread pool configuration gridlocks.

All the problems outlined above inevitably affect the most important aspect of our apps – their performance. To help you sort through the wide range of advice for troubleshooting Java performance issues, we have chosen a few additional articles to get you started.

Ready to go an extra mile on your Java developer’s journey? Ready to go beyond what Eclipse has to offer? Try our fullstack MyEclipse IDE, which will rock your world.

How to Avoid Them


One list of tips comes from Thorben Janssen in his Dzone article – 11, to be precise, in which he warns us about unnecessary optimization and recommends to come up with a performance test, as well as tackle the most serious issues first, and much more.

Ten more coding specific tips on getting the most out of Java can be found on the blog: the use of StringBuilder, primitives and the stack, avoiding recursion, among others.

More advice can also be found in the e-book by Pierre-Hugues Charbonneau (referenced on Dzone), in which he discusses JVM internals, class loading, troubleshooting & monitoring, garbage collection, Java concurrency, application budgeting, as well as tools.

The Happy Ending

Running Java applications at scale requires the ability to identify and resolve performance issues which includes tuning your applications use of resources. Based on your apps architecture and resource usage there are number of tools and techniques at your disposal for creating happy end-user’s experiences. Happy end-users == happy coders (and their bosses)! We hope these few articles can be of use to you.

Related Posts

Working with Java 9 in Eclipse Note: This blog was updated on October 11th, 2017 to reflect the release of Oxygen 1a which includes Java 9 support.The Java 9 GA release is just a few weeks old, and you can start developing with Java 9 in Eclipse, right now! All you need to do is download a suitable Oxygen 1a (4.7.1a) based distribution for both Java 9 and JUnit 5 support. Please...
JavaOne 2017: Highlights In his keynote at the JavaOne Conference, James Governor said, “Things have changed in the Java ecosystem, probably more in the past three weeks, than they have in the previous thirteen years.” Now JavaOne has only just ended, and we’re still trying to sift through the vast volumes of information pouring out from this conference, but with the recen...
Enhanced Code Navigation Made Possible with Webcli... Update: Webclipse has now been transformed into CodeMix.There are more reasons to love our Webclipse -- navigating through your Eclipse code is like sailing on a calm, blue sea. Minimap, Breadcrumb Navigation and Project Explorer+ are your unwavering beacons that show you the way to your files and source code, while DevSearch is the compass that wi...
Faster Coding is a Reality — Emmet is at You... Update: Webclipse has now been transformed into CodeMix.Being able to see what your app will look like without having to redeploy first is a great thing, thanks to our CodeLive. Want another reason for using Webclipse, our Eclipse plug-in? There are plenty more, actually, but let’s talk about Emmet here.Ready for much higher speed when coding and e...

Posted on Nov 10th 2017