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.
When profiling an application with option 'Analyze Performance' , 'Part of Application' with filter 'Profile all classes' we could see that the duration of inner methods of the profiled method got lost after a while. There were no profiler error messages during the calculation of the profiled application. I will attach two snapshots. The first one shows the correct durations, second one misses durations The interesting method is TimeSeriesSingleCobGenerationService.doFillTimeSeriesHistory(). In first snapshot duration of this method is the sum of all child method durations. In the second snapshot the sum of child durations is only about 10 percent. We reproduced this behaviour several times and increased the heap of the ide during this. Is that an error or do we see something wrong ? The code is rather large. So I can send only the snapshots
Created attachment 33964 [details] profiler snapshot 1
Created attachment 33965 [details] Profiler snapshot 2
Could you, please, describe the exact steps to reproduce the behaviour?
Sorry. I cannot describe the actions we did in a more detailed way than: 'Profile Main Project', 'Analyze Performance' , 'Part of Application' with method 'doFillTimeSeriesHistory', filter set 'Profile all classes' . The whole action runs in a single thread. The application we profiled is rather large and uses several database tables and views. So it is not possible to extract a small test program to be able to reproduce. I was hopeful that anyone else had a similar problem.
And you do nothing regarding profiler between taking those two snapshots - just take 2 successive snapshots? Correct?
Correct. I took 6 snapshots within 1 hour. We made this several times with the same effect. I will attach the ide - logfile. Please have a look upon the last lines. I think there is a profiler exception written.
Created attachment 33997 [details] Netbeans 5.0 log
I still have no luck in reproducing the problem. I did some manual calculations and taking into account the ms/invocation ratio it looks rather as multiplying the duration of the doFillTimeSeriesHistory() method cca. 10 times than disappearing inner methods. We will need to investigate the primary reason for this misbehaviour. As no data is lost I would lower the priority to P3 Meanwhile, could you try upgrading your jdk to jdk1,5_08 - this release contains numerous bugfixes durectly realated to profiler and let me know if the issue persists?
Hi, I tried the same profiling session with jdk1.5.0_08. Unfortunately with the same results as before.
is it possible, by any chance, to get hands on your testing application?
Closing due to no response on INCOMPLETE status. Please reopen if necessary.