Skip to main content

Posts

Showing posts from September, 2017

Profiler Survey - JMC, Solaris Studio, FlameGraph and VTune

Introduction: In this post, I will compare the commonly used java profilers(Java Flight Recorder, Solaris Studio, FlameGraph and VTune) in terms of usage, overhead and data presented. The observation is based on default collections. If more data are collected, the observations may change. I run SPECjbb2015 at a prefixed IR for 5 minutes. During this 5 minutes, I collect system level statistics, SPECjbb2015 console output, and collect profiles for 60 seconds (except for VTune). Software and Hardware  JDK8u144 Ubuntu 16.04.1 LTS Intel(R) Xeon(R) CPU E5-2665 0 @ 2.40GHz, 2 Socket, 8 cores per Socket Java Flight Recorder(JFR): JFR gives Java level profile, and some JVM internal statistics.  There are 2 ways to start JFR. From Java command line, or from jcmd. Command Line:  From command line -XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:StartFlightRecording=parameter1=value1[,parameter2=value2]   Parameters for -XX:StartFlightRecording (ref