We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Diagnosing Issues in Java Apps using Thermostat and Byteman.

Formal Metadata

Title
Diagnosing Issues in Java Apps using Thermostat and Byteman.
Title of Series
Number of Parts
611
Author
License
CC Attribution 2.0 Belgium:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor.
Identifiers
Publisher
Release Date
Language
Production Year2017

Content Metadata

Subject Area
Genre
Abstract
Thermostat is a monitoring and management tool for Java deployments, allowingusers to measure and monitor a host of different performance aspects of theirJava applications. Available metrics range from raw CPU and memory usage tooperation of the Garbage Collector and JIT compiler through to thread activityand method call/heap profiles. Thermostat provides a GUI view of activity oflocal and distributed JVMs in a live-view or, alternatively, offline forafter-the-fact analysis. What Thermostat cannot do on its own is track events and record statisticsthat are specific to a given Java application, at least not unless theapplication co-operates with it, for example by publishing JMX statistics thatThermostat can read, persist and display in its GUI. However, that's about tochange thanks to work Thermostat developers have been doing to integrateByteman into Thermostat. Byteman is a tool which can be used to modify the behaviour of Java programsby injecting extra Java code almost anywhere in the program. You don't need torecompile your program or even prepare it in advance in order for this towork. You can specify changes to the program on the command line but, what ismore amazing, you can actually use Byteman to change the way a program runsafter startup while it is still running. In this talk we will show how Thermostat can collect and visualize metricswith Byteman's help in order to better understand a specific performance issuein a Java application.