Fully featured low overhead profiler for Java EE and Java SE platforms.
Monitoring and profiling solution for Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

Probe unregistration

Registered probe can be unregistered in runtime. This means that all methods which have been instrumented with the probe's callbacks will be returned to their original state.

We strongly recommend to change the probe's activity mode to Off instead.

Probe unregistration is only possible using the profiler API: invoke static method unregisterProbes() of class com.yourkit.probes.Probes:

public static void unregisterProbes(final String... probeClassNames);
public static void unregisterProbes(final Class... probeClasses);

Examples

import com.yourkit.probes.*;
// ...
Probes.unregisterProbes(MyProbe.class);
Probes.unregisterProbes("com.foo.Probe1", "com.foo.Probe2");