Bug 65711 [Problems] Problems View takes too long to show
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerList.java
return new MarkerList(result);		
	}
		
	public static ConcreteMarker[] createMarkers(IMarker[] source) throws CoreException {
		ConcreteMarker[] result = new ConcreteMarker[source.length];
		
		for (int idx = 0; idx < source.length; idx++) {
			result[idx] = createMarker(source[idx]);
		}
		
		return result;
	}
	
	/**
	 * Computes the set of markers that match the given filter
	 * 
	 * @param filter
	 * @param mon
	 */
	public static MarkerList compute(MarkerFilter filter, IProgressMonitor mon, 
									 boolean ignoreExceptions) throws CoreException {
		return new MarkerList(filter.findMarkers(mon, ignoreExceptions));
	}
	
	/**
	 * Returns a new MarkerList containing all markers in the workspace of the specified types
	 * 
	 * @param types
	 * @param mon
	 * @return IMarker[] array of markers