Java Code Examples for com.sun.hotspot.igv.filter.FilterSetting#addFilter()

The following examples show how to use com.sun.hotspot.igv.filter.FilterSetting#addFilter() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: FilterTopComponent.java    From TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
@Override
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    super.readExternal(in);

    int filterSettingsCount = in.readInt();
    for (int i = 0; i < filterSettingsCount; i++) {
        String name = in.readUTF();
        FilterSetting s = new FilterSetting(name);
        int filterCount = in.readInt();
        for (int j = 0; j < filterCount; j++) {
            String filterName = in.readUTF();
            CustomFilter filter = findFilter(filterName);
            if (filter != null) {
                s.addFilter(filter);
            }
        }

        filterSettings.add(s);
    }
    updateComboBox();
}
 
Example 2
Source File: FilterTopComponent.java    From jdk8u60 with GNU General Public License v2.0 6 votes vote down vote up
@Override
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    super.readExternal(in);

    int filterSettingsCount = in.readInt();
    for (int i = 0; i < filterSettingsCount; i++) {
        String name = in.readUTF();
        FilterSetting s = new FilterSetting(name);
        int filterCount = in.readInt();
        for (int j = 0; j < filterCount; j++) {
            String filterName = in.readUTF();
            CustomFilter filter = findFilter(filterName);
            if (filter != null) {
                s.addFilter(filter);
            }
        }

        filterSettings.add(s);
    }
    updateComboBox();
}
 
Example 3
Source File: FilterTopComponent.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
@Override
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    super.readExternal(in);

    int filterSettingsCount = in.readInt();
    for (int i = 0; i < filterSettingsCount; i++) {
        String name = in.readUTF();
        FilterSetting s = new FilterSetting(name);
        int filterCount = in.readInt();
        for (int j = 0; j < filterCount; j++) {
            String filterName = in.readUTF();
            CustomFilter filter = findFilter(filterName);
            if (filter != null) {
                s.addFilter(filter);
            }
        }

        filterSettings.add(s);
    }
    updateComboBox();
}
 
Example 4
Source File: FilterTopComponent.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 6 votes vote down vote up
@Override
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    super.readExternal(in);

    int filterSettingsCount = in.readInt();
    for (int i = 0; i < filterSettingsCount; i++) {
        String name = in.readUTF();
        FilterSetting s = new FilterSetting(name);
        int filterCount = in.readInt();
        for (int j = 0; j < filterCount; j++) {
            String filterName = in.readUTF();
            CustomFilter filter = findFilter(filterName);
            if (filter != null) {
                s.addFilter(filter);
            }
        }

        filterSettings.add(s);
    }
    updateComboBox();
}
 
Example 5
Source File: FilterTopComponent.java    From openjdk-jdk9 with GNU General Public License v2.0 6 votes vote down vote up
@Override
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    super.readExternal(in);

    int filterSettingsCount = in.readInt();
    for (int i = 0; i < filterSettingsCount; i++) {
        String name = in.readUTF();
        FilterSetting s = new FilterSetting(name);
        int filterCount = in.readInt();
        for (int j = 0; j < filterCount; j++) {
            String filterName = in.readUTF();
            CustomFilter filter = findFilter(filterName);
            if (filter != null) {
                s.addFilter(filter);
            }
        }

        filterSettings.add(s);
    }
    updateComboBox();
}
 
Example 6
Source File: FilterTopComponent.java    From hottub with GNU General Public License v2.0 6 votes vote down vote up
@Override
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    super.readExternal(in);

    int filterSettingsCount = in.readInt();
    for (int i = 0; i < filterSettingsCount; i++) {
        String name = in.readUTF();
        FilterSetting s = new FilterSetting(name);
        int filterCount = in.readInt();
        for (int j = 0; j < filterCount; j++) {
            String filterName = in.readUTF();
            CustomFilter filter = findFilter(filterName);
            if (filter != null) {
                s.addFilter(filter);
            }
        }

        filterSettings.add(s);
    }
    updateComboBox();
}
 
Example 7
Source File: FilterTopComponent.java    From openjdk-8-source with GNU General Public License v2.0 6 votes vote down vote up
@Override
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    super.readExternal(in);

    int filterSettingsCount = in.readInt();
    for (int i = 0; i < filterSettingsCount; i++) {
        String name = in.readUTF();
        FilterSetting s = new FilterSetting(name);
        int filterCount = in.readInt();
        for (int j = 0; j < filterCount; j++) {
            String filterName = in.readUTF();
            CustomFilter filter = findFilter(filterName);
            if (filter != null) {
                s.addFilter(filter);
            }
        }

        filterSettings.add(s);
    }
    updateComboBox();
}
 
Example 8
Source File: FilterTopComponent.java    From openjdk-8 with GNU General Public License v2.0 6 votes vote down vote up
@Override
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    super.readExternal(in);

    int filterSettingsCount = in.readInt();
    for (int i = 0; i < filterSettingsCount; i++) {
        String name = in.readUTF();
        FilterSetting s = new FilterSetting(name);
        int filterCount = in.readInt();
        for (int j = 0; j < filterCount; j++) {
            String filterName = in.readUTF();
            CustomFilter filter = findFilter(filterName);
            if (filter != null) {
                s.addFilter(filter);
            }
        }

        filterSettings.add(s);
    }
    updateComboBox();
}
 
Example 9
Source File: FilterTopComponent.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
private FilterSetting createFilterSetting(String name) {
    FilterSetting s = new FilterSetting(name);
    FilterChain chain = this.getFilterChain();
    for (Filter f : chain.getFilters()) {
        s.addFilter(f);
    }
    return s;
}
 
Example 10
Source File: FilterTopComponent.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
private FilterSetting createFilterSetting(String name) {
    FilterSetting s = new FilterSetting(name);
    FilterChain chain = this.getFilterChain();
    for (Filter f : chain.getFilters()) {
        s.addFilter(f);
    }
    return s;
}
 
Example 11
Source File: FilterTopComponent.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
private FilterSetting createFilterSetting(String name) {
    FilterSetting s = new FilterSetting(name);
    FilterChain chain = this.getFilterChain();
    for (Filter f : chain.getFilters()) {
        s.addFilter(f);
    }
    return s;
}
 
Example 12
Source File: FilterTopComponent.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
private FilterSetting createFilterSetting(String name) {
    FilterSetting s = new FilterSetting(name);
    FilterChain chain = this.getFilterChain();
    for (Filter f : chain.getFilters()) {
        s.addFilter(f);
    }
    return s;
}
 
Example 13
Source File: FilterTopComponent.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
private FilterSetting createFilterSetting(String name) {
    FilterSetting s = new FilterSetting(name);
    FilterChain chain = this.getFilterChain();
    for (Filter f : chain.getFilters()) {
        s.addFilter(f);
    }
    return s;
}
 
Example 14
Source File: FilterTopComponent.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
private FilterSetting createFilterSetting(String name) {
    FilterSetting s = new FilterSetting(name);
    FilterChain chain = this.getFilterChain();
    for (Filter f : chain.getFilters()) {
        s.addFilter(f);
    }
    return s;
}
 
Example 15
Source File: FilterTopComponent.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
private FilterSetting createFilterSetting(String name) {
    FilterSetting s = new FilterSetting(name);
    FilterChain chain = this.getFilterChain();
    for (Filter f : chain.getFilters()) {
        s.addFilter(f);
    }
    return s;
}
 
Example 16
Source File: FilterTopComponent.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
private FilterSetting createFilterSetting(String name) {
    FilterSetting s = new FilterSetting(name);
    FilterChain chain = this.getFilterChain();
    for (Filter f : chain.getFilters()) {
        s.addFilter(f);
    }
    return s;
}