cornercorner
FeaturesPluginsDocs & SupportCommunityPartners

Bug 153646 - Some data is missing in CPU snapshot
: Some data is missing in CPU snapshot
Status: VERIFIED FIXED
: profiler
Base
: 6.5
: All All
: P1 (vote)
: 6.7
Assigned To:
:
:
: 65fixes1-verified
: 65_PATCH1, REGRESSION
:
:
  Show dependency treegraph
 
Reported: 2008-11-21 14:32 by
Modified: 2009-02-19 22:55 (History)
Issue Type: DEFECT
:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-11-21 14:32:47
Sometimes profiler does not have all data in CPU snapshot.
Steps to reproduce:
1) take CumputePrimeNumberWebApp from tutorial 
http://www.javapassion.com/handsonlabs/nbprofilerperformance/index.html#Exercise_4
2) select Perfotmance.processRequest() as root method 
3) start application
4) wait till application is started and web page is displayed
5) open Live results window
6) there should be only one method: Perfotmance.processRequest(), invoked one
time
7) take snapshot
8) snapshot contains Perfotmance.processRequest()
9) press 'Submit' in web form
10) go to live results window and wait for new data from computation
11) live results window will contain
  1x PrimeNumbers.calculate()
  2x Performance.processRequest()
  1x Performance.doCountPrimeNumbers()
  1x PrimeNumbers.<init>
12) take snapshot
13) snapshot will contain only
  2x Performance.processRequest()
------- Comment #1 From 2008-11-21 15:49:52 -------
It works fine in NB 6.1
------- Comment #2 From 2008-11-21 16:10:09 -------
Fixed in profiler-main
changeset:   108182:fb41b93fd043
user:        Tomas Hurka <thurka@netbeans.org>
date:        Fri Nov 21 16:59:00 2008 +0100
summary:     bugfix #153646, if existingChild is not null, compParent must be
existingChild, otherwise childs of node are not added to the snapshot
------- Comment #3 From 2008-11-22 04:45:00 -------
Integrated into 'main-golden', will be available in build *200811220201* on
http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/fb41b93fd043
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #153646, if existingChild is not null, compParent must be
existingChild, otherwise childs of node are not added to the snapshot
------- Comment #4 From 2008-11-24 09:31:18 -------
The issue didn't pass the nomination process by nomination cut-off date. It has
been marked as 65fixes2-candidate.
------- Comment #5 From 2008-11-24 16:03:23 -------
Verified in Build 200811240201
------- Comment #6 From 2008-11-25 13:27:12 -------
The fix was ported into release65_fixes repository.
(Marked as 65fixes1-candidate and it is P1.)

http://hg.netbeans.org/release65_fixes/rev/7727041b5c2b
------- Comment #7 From 2008-11-25 13:28:36 -------
Based on the offline discussion, the issue will be part of 65patch1.

The fix has been ported into the release65_fixes repository.

http://hg.netbeans.org/release65_fixes/rev/7ce3eeb839e2