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.
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.
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.* ?
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.
Created attachment 38600 [details] Snapshot before modify
Created attachment 38601 [details] Snapshot after modify
Works correctly means there was methods from com.toy.anagrams.* and where was one thread - AWT- EventQueue-0.
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
Verified as invalid, enhancement issue 95808 is filed based on this bug report