JDK-8100248 : Improve performance and memory usage of scaling algorithm used in ImageLoader
  • Type: Sub-task
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: fx1.2
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2008-11-22
  • Updated: 2015-06-16
  • Resolved: 2009-10-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
fx1.3Fixed
Description
The multi-step downscaling algorithm used in ImageLoader produces high-quality results but it creates lots of intermediate BufferedImages along the way, which places a burden on the GC.  We should try a different algorithm that does the scaling in-place (meaning one that reuses the source raster) to eliminate the need for intermediate images and improve performance.


Comments
Fixed by the "Downscaler" in the javafx-iio sub-project of soma/scrum/graphics/runtime.
16-10-2009

Assigning to Brian just so we can take it into account in the work for RT-5322. Most likely we'll just enable this in the new image loader but not port it to the IIO-based image loader, at which point we can consider closing this issue.
12-08-2009