[jdk21u-dev] Integrated: 8337681: PNGImageWriter uses much more memory than necessary

Satyen Subramaniam ssubramaniam at openjdk.org
Thu Apr 3 23:10:56 UTC 2025


On Thu, 20 Mar 2025 22:18:00 GMT, Satyen Subramaniam <ssubramaniam at openjdk.org> wrote:

> Backporting JDK-8337681: PNGImageWriter uses much more memory than necessary. Fixes issue with the PNGImageWriter making unnecessary copies of raster and data buffers when PNG images are written. Adds test to confirm behavior doesn't cause regressions.

This pull request has now been integrated.

Changeset: d7fa4bbb
Author:    Satyen Subramaniam <ssubramaniam at openjdk.org>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/d7fa4bbb9460e0c7de9aa23552454d4278e8d669
Stats:     200 lines in 2 files changed: 195 ins; 1 del; 4 mod

8337681: PNGImageWriter uses much more memory than necessary

Backport-of: 89a15f1414f89d2dd32eac791e9155fcb4207e56

-------------

PR: https://git.openjdk.org/jdk21u-dev/pull/1535


More information about the jdk-updates-dev mailing list