On Fri, 31 Jul 2026 18:42:20 GMT, Roman Marchenko <[email protected]> 
wrote:

> This is the fix for "JDK-8389515: Memory leak in dshowwrapper - decoded 
> buffers delivered by CSink are never unmapped"
> 
> The fix adds a second field `m_pMappedGstBuffer` that tracks mapping 
> ownership independently of the `m_pGstBuffer` delivery ownership that `CSink` 
> steals, so the unmap always targets the buffer that was actually mapped, and 
> it is done exactly once. The fix conforms to the buffer life cycle -- 
> `CAllocator::GetBuffer()` - `CAllocator::ReleaseBuffer()`.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Reviewers: @sashamatveev @kevinrushforth

The Windows GHA failure is an unrelated intermittent failure, so can be ignored 
(we don't compile native media code anyway).

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

PR Comment: https://git.openjdk.org/jfx/pull/2234#issuecomment-5147283511
PR Comment: https://git.openjdk.org/jfx/pull/2234#issuecomment-5147291902

Reply via email to