RFR: 8350813: Rendering of bulky sound bank from MIDI sequence can cause OutOfMemoryError [v4]
Alexander Zuev
kizune at openjdk.org
Wed Mar 5 21:34:09 UTC 2025
> - 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.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/23814/files
- new: https://git.openjdk.org/jdk/pull/23814/files/e02c5863..ae6ac1c7
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=23814&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=23814&range=02-03
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 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
More information about the client-libs-dev
mailing list