Profiling the hotspot,

Dang Nhan Nguyen nhann at
Fri Nov 11 16:22:43 UTC 2011


I need to measure some performance (mostly running time) of GC (CMS) while running on multi-core platform on Linux. I want to break down the cost of each phase in CMS and some related method. And I am thinking of performance profiling tool to do that.

I have look at the build files and see that there used to be some "profiled" target for profiling hotspot. However, it was removed now (don't know why).

Now, I am looking for a way to do the profiling. As my experience with profiling the hotspot on Windows (using Visual Studio), the generated of profiling data is huge (2-6GB) and in many cases, my computer could not handle the analysis of profiling data. In addition, hotspot's code and its build are quite complex, I want to consult some opinions first before actually do it. 

I am grateful if you can suggest a way to build the hotspot on Linux for profiling purpose.

Thank you,
Nhan Nguyen

More information about the build-dev mailing list