Webinar presented by Mike Croft, C2B2 Managed Services Consultant, on the 22nd of November 2012.
In this deep dive webinar C2B2's experienced support engineer will demonstrate how to use JRockit Mission Control to identify problems in production WebLogic applications. We will show you how to detect memory leaks, how to diagnose poor performance through excessive latency and how to identify rogue code consuming too much CPU.
To watch high quality version of this webinar please visit https://www4.gotomeeting.com/register/354160927
Hi, welcome to this webinar on Mission Control and Weblogic.My aim today is to introduce a little about JRockit’s Mission Control tool and give an overview of how it can be used to troubleshoot common problems with applications on Weblogic.*click*
I’ll talk first about other tools that come with JRockit and how they also relate to troubleshooting, then give an outline of the Mission Control tool itself.Once we’re familiar with some of the features available, I’ve listed four related, but distinct, scenarios that Mission Control can help with.I’ll be focussing today on general performance problems and memory issues.To kick us off, though *click*, let’s look at the extra tools that come with JRockit.
What utilities are included in JRockit’s JDK?Mission Control!JRCMDCommand-line utility to execute commands against the JRockit JVMJstatLive GC data via the consoleOthers (jps, jhat)Is this any different to the HotSpot JDK?Yes!No JVisualVM – most functionality available in in Mission Control anywayBeware of licensing costs to use Mission Control!
Mission Control provides several core functions; the console, flight recorder and “Memleak” which, as the name suggests, helps get to the bottom of memory leaks!Live JVM statisticsGraphs and metrics about local or remote systemsBasic JMX interaction with MbeansThis is rudimentary in comparison to dedicated monitoring tools, but can be useful when you’re just trying to diagnose a problem and might want to capture an intermittent problem.Runtime data The available runtime data is mostly a more in-depth look at live metrics, like memory, CPU and stack trace on specific threadsProfile methods or exceptions and execute commands
Shows overall trendThe growth rate of each type (class) is shown, rather than just the percentage of the heap they take up.Stops common classes from showing at the top (like char[] arrays)Visual representation of hot objects in the heap By typeCan see how each class is referenced by other classesBy instanceCan also see how each instance of each class is referenced, meaning you can include only those instances from your application, rather than those instances used by the systemShows where objects are allocatedIn other words, you can see the stack trace for each method holding an instance of the type and what percentage of instances are held by each method.
Flight RecorderFormerly JRA recorderThe tool was originally“JRockit Runtime Analyzer”, but since more features have been added, Oracle have rebranded to reflect the upgradesProvides similar data to the Console viewBut with a crucial exception….*click*Historical dataPost-incident investigationReview any periods of poor performance