Profiling the hotspot,
jon.masamitsu at oracle.com
Fri Nov 11 23:44:00 PST 2011
Take a look at Charlie's blog about the collector analyzer tools
And the quick start guide
The profiling build target in hotspot was deleted because they
were not being used and I believe were not building correctly.
On 11/11/2011 7:23 PM, David Holmes wrote:
> As this mainly concerns GC profiling I've cc'ed the GC list.
> On 12/11/2011 2:22 AM, Dang Nhan Nguyen wrote:
>> 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