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 242349

Summary: CPU Profiler: Hot Spots for 'All threads' node shown '0.00%' in Snapshort saved file.
Product: profiler Reporter: XUNLGUO
Component: BaseAssignee: issues@profiler <issues>
Status: RESOLVED FIXED    
Severity: normal Keywords: VISUALVM
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description XUNLGUO 2014-02-26 02:22:30 UTC
CPU Profiler on a Jave MEEP Application,
Save the snapshot in XML format
Open the XML File: 
<?xml version="1.0" encoding="UTF-8"?>
<ExportedView Name="Call Tree" type="tree">
<tree>
  <node>
   <Name>All threads</Name>
   <Parent>none</Parent>
   <Time_Relative>0.00%</Time_Relative>
   <Time>0</Time>
   <Invocations>0</Invocations>
    <node>
     <Name></Name>
     <Parent>All threads</Parent>
     <Time_Relative>100.00%</Time_Relative>
     <Time>20280000</Time>
     <Invocations>1</Invocations>
      <node>

Here Hot Spots for 'All threads' Node should not shown as '0.00%'
I think the expect result should be :

<?xml version="1.0" encoding="UTF-8"?>
<ExportedView Name="Call Tree" type="tree">
<tree>
  <node>
   <Name>All threads</Name>
   <Parent>none</Parent>   
     <Time_Relative>100.00%</Time_Relative>
     <Time>20280000</Time>
     <Invocations>1</Invocations>
      <node>
Comment 1 Petr Cyhelsky 2014-03-04 16:33:17 UTC
fixed in: http://hg.netbeans.org/profiler-main/rev/afdcd1aa3105
Comment 2 Quality Engineering 2014-03-06 03:21:35 UTC
Integrated into 'main-silver', will be available in build *201403060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/afdcd1aa3105
User: Petr Cyhelsky <cyhelsky@netbeans.org>
Log: #242349 - All threads node in profiler xml export should make more sense