commit | dd760156c66832fac12586d4c7a38c80c1657afc | [log] [tgz] |
---|---|---|
author | Joerg Kubitz <jkubitz-eclipse@gmx.de> | Sun Oct 03 08:20:20 2021 +0200 |
committer | Jörg Kubitz <jkubitz-eclipse@gmx.de> | Mon Nov 01 10:01:55 2021 -0400 |
tree | 8ce24a23d8a25013d1d721125cef91a47819ab5a | |
parent | 7cddf9b5fe0cbb3b29588276d552da6a75b4de3b [diff] |
Bug 576740 - Add a LRU resource cache for images Can be disable with system property: "org.eclipse.jface.resource.cacheSize=0" Default cacheSize=300. Removes all hotspots from org.eclipse.jface.resource.ResourceManager Does not only affect ResourceManager but allows also repeated calls of setImage() to check for same Image instance and avoid that NO-OP. Especially from loading images for toolbar: The problem was that the former reference counting did destroy the images just before reloading them again. Caches all Images loaded from filesystem/url during startup of org.eclipse.sdk.ide. Only the light weight RGBColorDescriptor is destroyed during startup of org.eclipse.sdk.ide. Change-Id: I5bfd38dce66ebcc062e140098316fda826e7bf5e Signed-off-by: Joerg Kubitz <jkubitz-eclipse@gmx.de> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/186086 Tested-by: Platform Bot <platform-bot@eclipse.org> Reviewed-by: Sebastian Zarnekow <sebastian.zarnekow@gmail.com>
Thanks for your interest in this project.
Platform UI provides the basic building blocks for user interfaces built with Eclipse.
Some of these form the Eclipse Rich Client Platform (RCP) and can be used for arbitrary rich client applications, while others are specific to the Eclipse IDE. The Platform UI codebase is built on top of the Eclipse Standard Widget Toolkit (SWT), which is developed as an independent project.
Website: http://www.eclipse.org/platform/ui/
For more information, refer to the Platform UI wiki page.
Contributions to Platform UI are most welcome. There are many ways to contribute, from entering high quality bug reports, to contributing code or documentation changes. For a complete guide, see the Platform UI - How to contribute wiki page page on the team wiki.
Several test plug-ins have a dependency to the Mockito and Hamcrest libraries. Please install them from the Orbit Download page]3:
Currently the following plug-ins are required:
You need Maven 3.3.1 installed. After this you can run the build via the following command:
mvn clean verify -Pbuild-individual-bundles
Information regarding source code management, builds, coding standards, and more.
Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).
This project uses Bugzilla to track ongoing development and issues.
Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!
Contact the project developers via the project's “dev” list.