Loading…
Attending this event?
Registration is now OPEN! Please register HERE as soon as possible!

DevConf.US 2022 is the 5th annual, free, Red Hat sponsored technology conference for community project and professional contributors to Free and Open Source technologies coming to Boston this August!!
Back To Schedule
Wednesday, August 17 • 13:00 - 15:00
Workshop: Java code instrumentation for beginners

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Curious about how profilers can estimate the time spent in each method or follow memory allocations?

One of the most common ways is to use instrumentation. Instrumentation is the addition of code to methods for the purpose of gathering data. Profilers inject code into the software under test and extract information for performance analysis. Agents and event loggers also use this strategy.

In this workshop we will go over the basics of JVM, Java bytecode, Java agents, and code instrumentation. By using the Java Instrumentation API, we will build a simple “profiler” that counts the number of times a particular method was invoked. You will learn how to inject code into a Java application and follow the path of the instrumentation to see in detail the way it works.

Basic knowledge of Java is required.


Wednesday August 17, 2022 13:00 - 15:00 EDT
MCS B29