I am looking for a java profiler in which I can locate; at what methods the maximum allocation is taking place. I have tested Java Mission Control and YourKit but they only show the class whose instance the object is and not the method in which it is allocated. But I am new to profiling and might have missed some features of these profilers.
Any help with this is appreciated