// InvocationStatistics holds refs to Methods from
// application classes, so to avoid a classloader
// leak, lets not just resetStats() but also replace
// the object
invokeStats.resetStats(); // in case someone else has a ref
invokeStats = new InvocationStatistics();
marshalledInvocationMapping.clear();
}