- Check that the calculated audio data size does not exceed available heap memory before committing to the rendering - Add a test case
------------- Commit messages: - 8350813: Rendering of bulky sound bank from MIDI sequence can cause OutOfMemoryError Changes: https://git.openjdk.org/jdk/pull/23814/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23814&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8350813 Stats: 62 lines in 2 files changed: 61 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/23814.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/23814/head:pull/23814 PR: https://git.openjdk.org/jdk/pull/23814