Abstract

There are several formats for garbage collection logs. Depending on the Java vendor (Oracle, IBM, HP,...), Java version (5, 6, 7, 8, 9), GC algorithm (serial, parallel, CMS, G1), and JVM options (-X..) garbage collection log format varies. Analyzing all these formats is not trivial. In this session, you will not only learn how to analyze different GC log formats but also how to troubleshoot complex memory problems with help of GC logs. We will walk-through some of the serious troubled real-world GC logs and troubleshoot them.

 

 
2 favorite thumb_down thumb_up 2 comments visibility_off  Remove from Watchlist visibility  Add to Watchlist
 

Outline/structure of the Session

 

I am a good entertaining & engaging speaker. Attendees smile, laugh & clap hands frequently in my sessions. I regularly speak at JavaOne and other conferences. Here are some of my talks:

 https://blog.fastthread.io/2016/09/22/2016-java- one-talk- few-memorable- moments/

 https://blog.tier1app.com/2013/10/07/7-secrets- of-wells- fargo-soa- platforms-high-availability/

 https://oracle.rainfocus.com/scripts/catalog/oow16.jsp?event=javaone&search=%22Ram%20Lakshmanan%22

Learning Outcome

Summary

Can you guess how many different formats of GC logs exists today? There is at 40 – 50 different formats of GC logs. Yes really 40 – 50 different formats. Even though there are so many formats, unfortunately there is only limited documentation & literature on the GC Logs. It makes hard for the engineers to diagnose and troubleshoot problems.

In this session I am going to teach engineers most commonly used GC log formats, tricks, patterns and tools to analyze them effectively. Besides that I am going to walk through some seriously troubled real world GC logs with them.

Target Audience

Developers, DeVops Professionals

schedule Submitted 5 months ago

Comments Subscribe to Comments

comment Comment on this Proposal
  • Pradeep Balachandran
    By Pradeep Balachandran  ~  2 months ago
    reply Reply

    Dear Ramalakshmanan, please merge this topic into your other talk titled "Become a Garbage Collection hero".

    • Ram Lakshmanan
      By Ram Lakshmanan  ~  2 weeks ago
      reply Reply

      Hello Pradeep!

      It makes sense to merge to topic in to "Become a Garbage Collection hero" session.


  • Ramlakshmanan
    Ramlakshmanan
    schedule 5 months ago
    Sold Out!
    45 mins
    Tutorial
    Advanced

    Abstract

    Are you building high throughput, low latency application? Are you trying to figure out perfect JVM heap size? Are you struggling to choose right garbage collection algorithm and settings? Are you striving to achieve pause less GC? Do you know the right tools & best practices to tame the GC? Do you know to troubleshoot memory problems using GC logs? You will get complete answers to several such questions in this session.

    Summary

    Tuning Garbage collection for an application is both an art & science. There are 5 different GC algorithms (serial, Parallel, CMS, G1, shenandoah) and 690+ JVM settings, which makes GC tuning to be a daunting task. There are very limited high quality literature and documentations are available for GC tuning.

    I written several blogs related to GC tuning, which has been published in all major developer sites such as: DZone, Infoq, theserverside.com, Developer.com…. Here are some of my articles related to this subject:

    1. Reduce long GC pause (https://blog.gceasy.io/2016/11/22/reduce-long- gc-pauses/)

    2. Real time greater than user + sys time (https://blog.gceasy.io/2016/12/08/real-time- greater-than-user- and-sys- time/)

    3. Sys time greater than user time (https://blog.gceasy.io/2016/12/11/sys-time- greater-than- user-time/)

    4. Consecutive Full GC Patterns (https://blog.gceasy.io/2016/11/22/eliminate-consecutive- full-gcs/)

    5. System GC (https://blog.gceasy.io/2016/11/22/system-gc/)

    6. Diagnose memory leak (https://blog.gceasy.io/2016/11/22/resolve-memory- leak/)

    7. Best Practices for rotating GC Log (https://blog.gceasy.io/2016/11/15/rotating-gc- log-files/)

    8. How to increase throughput? (https://blog.gceasy.io/2016/11/22/increase-throughput/)

    I am a good entertaining & engaging speaker. Attendees smile, laugh & clap hands frequently in my sessions. I regularly speak at Java One and other conferences. Here are some of my talks:

    • https://blog.fastthread.io/2016/09/22/2016-java- one-talk- few-memorable- moments/
    • https://blog.tier1app.com/2013/10/07/7-secrets- of-wells- fargo-soa- platforms-high-availability/
    • https://oracle.rainfocus.com/scripts/catalog/oow16.jspevent=javaone&search=%22Ram%20Lakshmana22
    • https://blog.gceasy.io/2016/01/02/spoke-vmoksha- technologies/
    • My Blogs: https://blog.gceasy.io/, https://blog.fastthread.io/
    • My DZone Profile: https://dzone.com/users/2756952/vmoksha.html
  • Naresha K
    Naresha K
    schedule 3 months ago
    Sold Out!
    45 mins
    Demonstration
    Intermediate
    The Eclipse Foundation project Vert.x is a toolkit for developing polyglot reactive applications on the JVM. One can develop applications on Vert.x using not only JVM languages like Groovy, Ceylon but also languages like JavaScript and Ruby. Vert.x leverages event-driven and non-blocking techniques with the intention to help developers write high performant applications that are resource efficient.
     
    In this presentation, I will demonstrate the Vert.x way of architecting and developing applications. I will develop a few Verticles talking to each other through the event bus and expose the functionality through HTTP. I will use Groovy for most of my code examples along with JavaScript and Java to demonstrate the polyglot options.
  • Liked Ramlakshmanan
    keyboard_arrow_down

    Don’t Dump the Thread Dump

    Ramlakshmanan
    Ramlakshmanan
    schedule 5 months ago
    Sold Out!
    20 mins
    Tutorial
    Beginner

    Thread dumps are vital diagnostic information for identifying root causes of critical problems. In this session, you will learn different formats of thread dumps + tips & tricks to analyze them effectively. You will be introduced to real-world problems that are experienced by several major enterprises and how these tricks helped them to identify the root cause of the problem.

  • Liked Gurpreet Sachdeva
    keyboard_arrow_down

    Refactor Code To Java8

    Gurpreet Sachdeva
    Gurpreet Sachdeva
    schedule 3 months ago
    Sold Out!
    45 mins
    Talk
    Advanced

    Java 8 was released quite a while ago and we are now close to release of Java 9. There are discussions of Java 10 features also. There are many who are still stuck with older versions for various reasons. Many people claim that their code supports Java 8 but they aren't really using the powerful features of Java 8 like lambda expressions, Streams API and the new Date / Time API. This session does a quick recap of the powerful and unique features of Java 8. Tips and techniques to identify areas of code fit for refactoring to Java 8, will be shown. Eclipse can be leveraged to refactor code to use features like lambdas and streams. Pros and Cons of these features would be covered so that an informed decision can be taken whether to refactor or not.