Instrumenting JVM Thread Creation with Java Agents
Setting Up the Instrumentation Agent To capture thread creation events at the JVM level, implement a premain method that registers a class transformer during the agent initializatoin phase. import java.lang.instrument.Instrumentation; public class ThreadAuditAgent { public static void premain(String...