RFR: 8350813: Rendering of bulky sound bank from MIDI sequence can cause OutOfMemoryError [v2]

Alexander Zuev kizune at openjdk.org
Mon Mar 3 18:04:51 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 one additional commit since the last revision:

  Update test/jdk/javax/sound/midi/BulkSoundBank/BulkSoundBank.java
  
  Use try with resources clause in the test.
  
  Co-authored-by: Harshitha Onkar <harshitha.onkar at oracle.com>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23814/files
  - new: https://git.openjdk.org/jdk/pull/23814/files/8a2fa6c1..e48e16a1

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23814&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23814&range=00-01

  Stats: 6 lines in 1 file changed: 2 ins; 3 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


More information about the client-libs-dev mailing list