Bug 65711 [Problems] Problems View takes too long to show
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerFilter.java
Iterator iter = selectedTypes.iterator();
		
		while (iter.hasNext()) {
			MarkerType type = (MarkerType)iter.next();
			
			Collection subtypes = Arrays.asList(type.getAllSubTypes());
			
			if (selectedTypes.containsAll(subtypes)) {
				typesToSearch.removeAll(subtypes);
				
				includeAllSubtypes.add(type);
			}
		}
		
		mon.beginTask(Messages.getString("MarkerFilter.searching"), typesToSearch.size() * resources.length); 
		
		
		
		HashSet resourcesToSearch = new HashSet();
		
		
		for (int idx = 0; idx < resources.length; idx++) {
			IResource next = resources[idx];
			
			if (!next.exists()) {
				continue;
			}
			
			if (resourcesToSearch.contains(next)) {
				mon.worked(typesToSearch.size());