Is there a free callgrind equivalent for java? basically, i just need anything that gives me cycle counts or time spent for each method and function of my java code.
i suppose i should mention i'm using mac, which means the eclipse thing below doesn't work for me, i believe.