Integrated: 8366272: The os::xxx APIs do not manage errno correctly

Anton Artemov aartemov at openjdk.org
Tue Dec 9 10:18:11 UTC 2025


On Fri, 31 Oct 2025 13:44:09 GMT, Anton Artemov <aartemov at openjdk.org> wrote:

> Hi, please consider the following changes:
> 
> In this PR the handling of `errno` is improved by inspection of the codebase and fixing potential overwrites of `errno` by other methods. Potential overwrites are addressed using `ErrnoPreserver` functionality where necessary. 
> 
> Tested in tiers 1 - 5.

This pull request has now been integrated.

Changeset: 830c4d3b
Author:    Anton Artemov <aartemov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/830c4d3b198597b6af7a21b708bd3a852af200d4
Stats:     20 lines in 6 files changed: 10 ins; 9 del; 1 mod

8366272: The os::xxx APIs do not manage errno correctly

Reviewed-by: dholmes

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

PR: https://git.openjdk.org/jdk/pull/28086


More information about the hotspot-runtime-dev mailing list