A sampling profiler helper for Java