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 - CPU time decreases during profiling
Summary: CPU time decreases during profiling
Status: NEW
Alias: None
Product: profiler
Classification: Unclassified
Component: Engine (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-30 14:16 UTC by Jiri Sedlacek
Modified: 2015-10-12 12:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).