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 165250 - custom global filter set ignored
Summary: custom global filter set ignored
Status: VERIFIED INVALID
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All Solaris
: P3 blocker (vote)
Assignee: issues@profiler
URL: http://wiki.netbeans.org/ProfilerTest...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-15 10:17 UTC by matusdekanek
Modified: 2009-05-18 09:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
snapshot (26.13 KB, text/plain)
2009-05-18 08:48 UTC, matusdekanek
Details
screenshot (173.60 KB, text/plain)
2009-05-18 08:49 UTC, matusdekanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matusdekanek 2009-05-15 10:17:27 UTC
Product Version: NetBeans IDE Dev (Build 200905121401)
Java: 1.6.0_11; Java HotSpot(TM) Client VM 11.0-b16
System: SunOS version 5.11 running on x86; UTF-8; en_US (nb)

-create the anagram game project (from java sample projects)
-make it the main project
-invoke profile main project
-in the cpu tab of the profiler dialog select 'entire application'
-create custom filter, that will exclude 'javax.swing.,java.awt' 
-use this filter and run the profile process
-in the 'Live results' window should not be listed any methods from javax.swing or java.awt, but actually methods from 
both packages are listed in the live results.

This issue seems similar to issues at
http://www.netbeans.org/issues/show_bug.cgi?id=165244
http://www.netbeans.org/issues/show_bug.cgi?id=165247
it seems as if the profiler instrumentation filters are ignored or not working correctly.
Comment 1 J Bachorik 2009-05-15 10:30:57 UTC
Could you provide the profiler snapshot proving the issue.

When I follow the steps you defined I am not able to see any filtered out methods in the live results as well as in the
snapshot.
Comment 2 matusdekanek 2009-05-18 08:48:48 UTC
Created attachment 82284 [details]
snapshot
Comment 3 matusdekanek 2009-05-18 08:49:08 UTC
Created attachment 82285 [details]
screenshot
Comment 4 J Bachorik 2009-05-18 09:04:43 UTC
As far as I can see the screenshot doesn't show any of the classes you are trying to filter-out. Please, notice, that
"sun.awt.*" and "sun.swing.*" are not the same as "java.awt.*" and "javax.swing.*".

The snapshot you have attached is the snapshot of a memory profiling session. The instrumentation filters from the CPU
profiling settings are not considered for memory profiling by design.

And the last comment - please, use the correct mime types when attaching files - it really helps when the binary file
doesn't open in the browser window.
Comment 5 matusdekanek 2009-05-18 09:53:42 UTC
you are right, I just did not see the difference...seems to be working correctly, marking as verified.
Sorry about the attachments, usually I tend to fill the mime-type out.