This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 183997

Summary: Do not take thread CPU timestamp
Product: profiler Reporter: Tomas Hurka <thurka>
Component: EngineAssignee: Tomas Hurka <thurka>
Status: RESOLVED FIXED    
Severity: normal Keywords: VISUALVM
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Tomas Hurka 2010-04-13 11:56:03 UTC
Thread CPU time is taken in CPU profiling even if the thread CPU time is switched off. This can significantly slow down profiled application especially on Linux platform, where taking thread CPU timestamp takes a long time.
Comment 1 Tomas Hurka 2010-04-13 12:00:40 UTC
Fixed in profiler-main

changeset:   167091:4bbf15423fda
user:        Tomas Hurka <thurka@netbeans.org>
date:        Tue Apr 13 13:58:42 2010 +0200
summary:     bugfix #183997, take thread CPU timestamp only if ProfilerRuntimeCPU.threadCPUTimerOn is true
Comment 2 Tomas Hurka 2010-04-13 12:05:12 UTC
Fixed in profiler-main

changeset:   167091:4bbf15423fda
user:        Tomas Hurka <thurka@netbeans.org>
date:        Tue Apr 13 13:58:42 2010 +0200
summary:     bugfix #183997, take thread CPU timestamp only if ProfilerRuntimeCPU.threadCPUTimerOn is true
Comment 3 Tomas Hurka 2010-04-13 12:05:52 UTC
Fixed in profiler-main

changeset:   167091:4bbf15423fda
user:        Tomas Hurka <thurka@netbeans.org>
date:        Tue Apr 13 13:58:42 2010 +0200
summary:     bugfix #183997, take thread CPU timestamp only if ProfilerRuntimeCPU.threadCPUTimerOn is true
Comment 4 Tomas Hurka 2010-04-13 12:06:52 UTC
Fixed in profiler-main

changeset:   167091:4bbf15423fda
user:        Tomas Hurka <thurka@netbeans.org>
date:        Tue Apr 13 13:58:42 2010 +0200
summary:     bugfix #183997, take thread CPU timestamp only if ProfilerRuntimeCPU.threadCPUTimerOn is true
Comment 5 Tomas Hurka 2010-04-15 18:50:41 UTC
One more change to fix the calibration.

changeset:   167555:e0f3ada8ee38
user:        Tomas Hurka <thurka@netbeans.org>
date:        Thu Apr 15 18:30:06 2010 +0200
summary:     bugfix #183997, take thread CPU timestamp only if ProfilerRuntimeCPU.threadCPUTimerOn is true - ROOT_ENTRY and ROOT_EXIT does not generate two timestamps
Comment 6 Quality Engineering 2010-04-17 08:06:31 UTC
Integrated into 'main-golden', will be available in build *201004170515* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/4bbf15423fda
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #183997, take thread CPU timestamp only if ProfilerRuntimeCPU.threadCPUTimerOn is true