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 230381

Summary: Compare CPU snapshot mangles the result and source compared snapshots
Product: profiler Reporter: Petr Cyhelsky <cyhelsky>
Component: BaseAssignee: Jiri Sedlacek <jis>
Status: RESOLVED FIXED    
Severity: normal Keywords: VISUALVM
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: snapshots

Description Petr Cyhelsky 2013-05-28 12:39:31 UTC
Created attachment 135002 [details]
snapshots

Compare CPU snapshot mangles the result and source compared snapshots when there are any threads with same name. 
Steps - open the attached snapshots -> compare them -> see that the times for threads like "mine" and others are wrong
Comment 1 Jiri Sedlacek 2013-05-30 16:12:06 UTC
Fixed by http://hg.netbeans.org/profiler-main/rev/8fa1e77eba1a.
Comment 2 Quality Engineering 2013-06-04 01:47:41 UTC
Integrated into 'main-golden', will be available in build *201306032301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/8fa1e77eba1a
User: Jiri Sedlacek <jis@netbeans.org>
Log: Bugfix #230381 - to be safe from modifications, create copies of both snapshots (share as much in-memory data as possible)