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 - CPU Profiler: Hot Spots for 'All threads' node shown '0.00%' in Snapshort saved file.
Summary: CPU Profiler: Hot Spots for 'All threads' node shown '0.00%' in Snapshort sav...
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 8.0
Hardware: PC All
: P3 normal (vote)
Assignee: issues@profiler
URL:
Keywords: VISUALVM
Depends on:
Blocks:
 
Reported: 2014-02-26 02:22 UTC by XUNLGUO
Modified: 2016-09-07 14:08 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 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