RFR: 8366272: The os::xxx APIs do not manage errno correctly [v4]

Anton Artemov aartemov at openjdk.org
Mon Dec 8 11:17:44 UTC 2025


> 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.

Anton Artemov has updated the pull request incrementally with one additional commit since the last revision:

  8366272: Addressed reviewer's comments.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/28086/files
  - new: https://git.openjdk.org/jdk/pull/28086/files/5f7ad209..d721128f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=28086&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=28086&range=02-03

  Stats: 10 lines in 5 files changed: 0 ins; 7 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/28086.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28086/head:pull/28086

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


More information about the hotspot-runtime-dev mailing list