In this Java Flight Recorder Example, I work through a slightly modified version of Marcus Hirt's Hot Java Methods example to demonstrate how to use Java Mission Control and Java Flight Recorder, with the end goal being the contrast in performance between a LinkedList vs HashSet. This example happens in Eclipse, so to follow along, it helps to have the Java Mission Control plugin for Eclipse installed. But it's still possible to just run the application in Eclipse or Netbeans and start the Java Flight Recorder with the Java Diagnostic Command, jcmd. Either way, this JDK Mission Control and Java Flight Recorder tutorial will show you hot to troubleshoot problems. identify bugs in code and help fix your Java performance problems.