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

Summary: Incorrect 'Total thread time'
Product: profiler Reporter: Tomas Hurka <thurka>
Component: BaseAssignee: Tomas Hurka <thurka>
Status: RESOLVED FIXED    
Severity: normal Keywords: VISUALVM
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: application snapshot

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