On Fri, 7 Aug 2026 11:06:36 GMT, Roman Marchenko <[email protected]> wrote:

> This is the clean backport of "JDK-8389515: Memory leak in dshowwrapper - 
> decoded buffers delivered by CSink are never unmapped" to jfx21u.
> 
> I'm backporting this because jfx21u is affected with the memory leak problem 
> and for parity with Oracle.
> 
> The problem is reproduced before the fix and gone after the fix:
> 
> Java:   21.0.7 (OpenJDK 64-Bit Server VM)
> JavaFX: 21.0.12-internal (runtime 21.0.12-internal+0-2026-08-07-104216)
> 412.6 MiB
> 3142.7 MiB
> 5860.3 MiB
> 8569.5 MiB
> 11273.6 MiB
> 13967.5 MiB
> 16674.7 MiB
> 19371.8 MiB
> 22071.2 MiB
> 
> 
> Java:   21.0.7 (OpenJDK 64-Bit Server VM)
> JavaFX: 21.0.12-internal (runtime 21.0.12-internal+0-2026-08-07-105659)
> 413.2 MiB
> 450.0 MiB
> 442.8 MiB
> 445.3 MiB
> 443.3 MiB
> 446.5 MiB
> 444.9 MiB
> 448.0 MiB
> 449.4 MiB
> 453.9 MiB
> 460.7 MiB
> 
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: ecd5757a
Author:    Roman Marchenko <[email protected]>
Committer: Johan Vos <[email protected]>
URL:       
https://git.openjdk.org/jfx21u/commit/ecd5757a6970c88bcf179779d73d8fb6c7ed9d29
Stats:     71 lines in 3 files changed: 53 ins; 9 del; 9 mod

8389515: Memory leak in dshowwrapper - decoded buffers delivered by CSink are 
never unmapped

Backport-of: 7533c6156a76597bd39a8f935585796bbfa19ef6

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

PR: https://git.openjdk.org/jfx21u/pull/137

Reply via email to