RFR: 8374945: Avoid fstat in os::open [v2]

Claes Redestad redestad at openjdk.org
Wed Jan 14 15:37:15 UTC 2026


On Wed, 14 Jan 2026 15:32:36 GMT, Jonas Norlinder <jnorlinder at openjdk.org> wrote:

>> Eliminate unnecessary calls to fstat in os::open akin to JDK-8373647. This optimization reduces system overhead.
>
> Jonas Norlinder has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains three commits:
> 
>  - Fixes
>  - Remove trailing whitespace
>  - [Linux] Avoid fstat in os::open

Looks good to me

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

Marked as reviewed by redestad (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/29152#pullrequestreview-3661342015


More information about the hotspot-runtime-dev mailing list