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 255633

Summary: CPU time decreases during profiling
Product: profiler Reporter: Jiri Sedlacek <jis>
Component: EngineAssignee: Tomas Hurka <thurka>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 8.1   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description Jiri Sedlacek 2015-09-30 14:16:28 UTC
Steps:

 0/ Windows 7, JDK 7/8 64bit
 1/ Profile Java2Demo, Selected methods, EventQueue.getNextEvent(), 5 outgoing calls, include Java core classes
 2/ The Total Time (CPU) value decreases over time, eventually reaching 0
Comment 1 Jiri Sedlacek 2015-09-30 14:30:40 UTC
Partial fix: http://hg.netbeans.org/profiler-main/rev/38ee1275da6a - make sure all negative execution times are treated as zero times.
Comment 2 Quality Engineering 2015-10-08 01:23:57 UTC
Integrated into 'main-silver', will be available in build *201510080002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/38ee1275da6a
User: Jiri Sedlacek <jis@netbeans.org>
Log: Partial fix for #255633 - make sure all negative execution times are treated as zero times
Comment 3 Jiri Sedlacek 2015-10-12 12:09:30 UTC
Not for 8.1, not easily reproducible - only happens on some Windows systems for some root methods (short running, frequently called).