RFR: JDK-8317959: Check return values of malloc in native java.base coding [v2]

Matthias Baesken mbaesken at openjdk.org
Fri Oct 13 06:53:34 UTC 2023


On Thu, 12 Oct 2023 14:16:55 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>> There are a few remaining places in java.base where the return value NULL-check of malloc is missing. This should better be adjusted.
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
> 
>   doabort in check method in case no memory can be allocated

Hi Alan and Brian, thanks for the reviews !

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

PR Comment: https://git.openjdk.org/jdk/pull/16160#issuecomment-1760994212


More information about the nio-dev mailing list