Bug 61950 [Markers] Images being created twice potentially
org.eclipse.ui.views.internal is using a static called ImageFactory which has it's own ImageRegistry. It should use JFaceResources.getImageRegistry to be sure that images are not being created twice (Image creation can be very expensive). I am not sure that this is a problem currently with performance but it could add to start up time.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/ActionAddGlobalTask.java
/*******************************************************************************
 * Copyright (c) 2000, 2004 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.ui.views.markers.internal;
import org.eclipse.jface.action.Action;
import org.eclipse.ui.IWorkbenchPart;
public class ActionAddGlobalTask extends Action {
    private static final String ENABLED_IMAGE_PATH = "elcl16/addtsk_tsk.gif"; 
    private IWorkbenchPart part;
    public ActionAddGlobalTask(IWorkbenchPart part) {
        setText(Messages.getString("addGlobalTaskAction.title")); 
        setImageDescriptor(ImageFactory.getImageDescriptor(ENABLED_IMAGE_PATH));
        setToolTipText(Messages.getString("addGlobalTaskAction.tooltip")); 
        this.part = part;
    }
    public void run() {
        DialogTaskProperties dialog = new DialogTaskProperties(part.getSite()
                .getShell(), Messages.getString("addGlobalTaskDialog.title")); 
        dialog.open();
    }
}