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 223812 - Exclusive filters don't work
Summary: Exclusive filters don't work
Status: RESOLVED INVALID
Alias: None
Product: profiler
Classification: Unclassified
Component: Ide (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-13 22:48 UTC by _ gtzabari
Modified: 2013-06-10 11:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2012-12-13 22:48:12 UTC
Product Version: NetBeans IDE Dev (Build 201212070001)
Java: 1.7.0_09; Java HotSpot(TM) 64-Bit Server VM 23.5-b02
Runtime: Java(TM) SE Runtime Environment 1.7.0_09-b05
System: Windows 7 version 6.1 running on amd64; Cp1252; en_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev

1. Create a project with one class:

public class App {

    public static void main(String[] args) throws InterruptedException {
        System.out.println("Hello World!");
        for (int i = 0; i < 100; ++i) {
            Thread.sleep(100);
        }
    }
}

2. Profile the project using "Quick (sampled)" mode with a Quick Filter configured to exclude "java.lang."
3. Notice profiler results contain java.lang.Thread.sleep

Expected result: jang.lang.* classes should not be profiled or show up in results
Comment 1 Jiri Kovalsky 2012-12-14 10:53:03 UTC
This seems more like a profiler issue.
Comment 2 David Strupl 2012-12-21 14:20:28 UTC
Why should this be a P2? Please read
http://wiki.netbeans.org/BugPriorityGuidelines
I leave it to the profiler people to explain but as far as I am concerned this might be even just misunderstanding on the user's side ...
Comment 3 Jiri Sedlacek 2013-06-10 11:08:11 UTC
Works as designed - Live results don't contain the filtered out classes, sampled CPU snapshot displays filtered out classes as the final (leaf) nodes for the user to see where the time of non filtered classes is being spent.