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 95772 - Results are not full after modification of remote profiling
Summary: Results are not full after modification of remote profiling
Status: VERIFIED INVALID
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: PC Solaris
: P2 blocker (vote)
Assignee: issues@profiler
URL:
Keywords: RELNOTE
Depends on:
Blocks:
 
Reported: 2007-02-16 09:37 UTC by Alexander Kouznetsov
Modified: 2007-09-12 16:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Snapshot before modify (383.88 KB, application/octet-stream)
2007-02-16 11:04 UTC, Alexander Kouznetsov
Details
Snapshot after modify (208.09 KB, application/octet-stream)
2007-02-16 11:05 UTC, Alexander Kouznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2007-02-16 09:37:46 UTC
Profiler 070216
NetBeans IDE Dev (Build 200702151900)
1.6.0; Java HotSpot(TM) Server VM 1.6.0-b105
SunOS version 5.10 running on x86
en (nb); ISO646-US

1.5.0_10; Java HotSpot(TM) Client VM 1.5.0_10-b03
Windows XP version 5.1 running on x86
ru_RU (nb); Cp1251

Steps to reproduce:
- Start remote profiling of Anagram Game: Analyze Performance, Entire
Application, Profiler All Classes
- Play with an application
- Open Live Results and take a snapshot: there are several threads and main is
among them with com.toy.anagrams.* methods
- Click Modify Profiling
- Provide the same settings as before: Analyze Performance, Entire Application,
Profiler All Classes. Click OK
- Play with an application
- Open Live Results and take a snapshot
- RESULT: There is no methods from com.toy.anagrams.* subpackages, there is only
one thread - AWT-EventQueue-0. This differs from the results obtained during
Local Profiling. Reproduced during profiling in both ways between two
configurations shown above.
Comment 1 Tomas Hurka 2007-02-16 10:41:53 UTC
This works for me correctly. Why do you think that there should be other threads than AWT-
EventQueue-0? Are you sure that there are no methods from com.toy.anagrams.* ?
Comment 2 Alexander Kouznetsov 2007-02-16 11:04:15 UTC
1) What do you mean by "works for me correctly"? Could you please describe the
observed results?
2) Live Result after Modify Profiling of local attach were showing at least some
of com.toy.anagrams.* methods.
3) Probably, the number of threads shown is okay. At least, I've got the same
result of number of threads during local attach.
4) There were no com.toy.anagrams.* methods during both experiments of remote
attach.
Comment 3 Alexander Kouznetsov 2007-02-16 11:04:57 UTC
Created attachment 38600 [details]
Snapshot before modify
Comment 4 Alexander Kouznetsov 2007-02-16 11:05:18 UTC
Created attachment 38601 [details]
Snapshot after modify
Comment 5 Tomas Hurka 2007-02-16 13:44:01 UTC
Works correctly means there was methods from com.toy.anagrams.* and where was one thread - AWT-
EventQueue-0.
Comment 6 Tomas Hurka 2007-02-16 14:32:58 UTC
Thanks for the snapshots. It is now clear why you do not see anything from com.toy.anagrams.* package. 
You use Global attach/Entire application, which means that root methods are only Runnable.run() and 
main(String[] args) method of first loaded class. So the snapshot after modify profiling is correct. See also 
issue #95808
Comment 7 Alexander Kouznetsov 2007-02-16 16:48:41 UTC
Verified as invalid, enhancement issue 95808 is filed based on this bug report