Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

The Democratic Truth About Garbage Collection

DZone's Guide to

The Democratic Truth About Garbage Collection

Having given a webinar on the future of GC in Java recently, I ran a poll to see how much of an impact GC has on the applications they develop and deploy.

· Performance Zone
Free Resource

Download our Introduction to API Performance Testing and learn why testing your API is just as important as testing your website, and how to start today.

Last week, I delivered a webinar entitled The Future of Garbage Collection in Java. The premise of this session was to look at how things will change from a GC perspective in JDK 9 and then look a little further into the future at what research is being conducted in this area (specifically project Shenandoah).

Having talked about some of the basics of GC and the way GC works today in the OpenJDK (parallel, CMS and G1 collectors), I ran a poll to see how much of an impact GC has on the applications they develop and deploy. The results were interesting, but not terribly surprising.

Below are two charts showing the results from the webinar for Europe and then the same one delivered later in the day for North America.

Image title

Looking at the results, very few people see GC as no problem at all — 12% in Europe, 17% in America. For both regions, the largest group was those who saw some impact from GC but were able to change the JVM parameters to make the pauses acceptable. Figuring out which settings to change and what to set their values to is something that takes time (and therefore has a cost associated with it, something people often overlook).

For Europe, a majority of people fell into a category where they either had to expend significant time and effort to tune the JVM or couldn’t even manage to meet their SLAs. In America, this group was a bit smaller but still represented nearly a third of those who responded. Again, this equates to a lot of skilled people working on a problem with a clear cost associated with it. Their time would be much better spent on solving the problems of their business rather than how the infrastructure works.

Although this is a small sample size, I would not be surprised to find that this was a pretty accurate reflection of Java users as a whole.

Find scaling and performance issues before your customers do with our Introduction to High-Capacity Load Testing guide.

Topics:
performance ,application performance ,java application ,garbage collection

Published at DZone with permission of Simon Ritter, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}