> Limit native memory allocation and move write loop from the native layer into > Java. This change should make the OOME reported in the issue much less likely.
Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision: 6478546: do-while -> while-do in writeBytes; remove NULL and bounds checks in native ------------- Changes: - all: https://git.openjdk.org/jdk/pull/14981/files - new: https://git.openjdk.org/jdk/pull/14981/files/92649751..cdb8455c Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=14981&range=03 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14981&range=02-03 Stats: 39 lines in 3 files changed: 1 ins; 33 del; 5 mod Patch: https://git.openjdk.org/jdk/pull/14981.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/14981/head:pull/14981 PR: https://git.openjdk.org/jdk/pull/14981