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 250344 - Incorrect 'Total thread time'
Summary: Incorrect 'Total thread time'
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords: VISUALVM
Depends on:
Blocks:
 
Reported: 2015-02-10 14:20 UTC by Tomas Hurka
Modified: 2015-02-12 04:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
application snapshot (119.28 KB, application/octet-stream)
2015-02-10 14:21 UTC, Tomas Hurka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Hurka 2015-02-10 14:20:02 UTC
Steps to reproduce:
1) open attached application snapshot in VisualVM
2) switch to 'Threads' tab
3) Total thread time for most of the threads is a big negative number.
Comment 1 Tomas Hurka 2015-02-10 14:21:53 UTC
Created attachment 151925 [details]
application snapshot
Comment 2 Tomas Hurka 2015-02-10 14:37:25 UTC
Fixed in profiler-main

changeset:   283334:9323e9427d34
user:        Tomas Hurka <thurka@netbeans.org>
date:        Tue Feb 10 15:34:57 2015 +0100
summary:     bugfix #250344, lastTimestamp should be initialized in constructor because there is no dataChange() event for static DataManger obtained from VisualVM application snapshot
Comment 3 Quality Engineering 2015-02-12 04:26:36 UTC
Integrated into 'main-silver', will be available in build *201502120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/9323e9427d34
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #250344, lastTimestamp should be initialized in constructor because there is no dataChange() event for static DataManger obtained from VisualVM application snapshot