RFR: 8350813: Rendering of bulky sound bank from MIDI sequence can cause OutOfMemoryError [v4]
Harshitha Onkar
honkar at openjdk.org
Tue Mar 11 22:02:53 UTC 2025
On Wed, 5 Mar 2025 21:34:09 GMT, Alexander Zuev <kizune at openjdk.org> wrote:
>> - Check that the calculated audio data size does not exceed available heap memory before committing to the rendering
>> - Add a test case
>
> Alexander Zuev has updated the pull request incrementally with two additional commits since the last revision:
>
> - Merge branch 'JDK-8350813' of https://github.com/azuev-java/jdk into JDK-8350813
> - Add a treshold of 90% to avoid OOME because of the additional buffers needed to process sound bank.
Test update looks good to me.
-------------
Marked as reviewed by honkar (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/23814#pullrequestreview-2676208100
More information about the client-libs-dev
mailing list