RFR: 8374945: Avoid fstat in os::open

Jonas Norlinder jnorlinder at openjdk.org
Wed Jan 14 15:37:16 UTC 2026


On Sat, 10 Jan 2026 16:55:08 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.

Sorry for the force-push. I rebased with latest master that included removal of the FD_CLOEXEC block.

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

PR Comment: https://git.openjdk.org/jdk/pull/29152#issuecomment-3750101481


More information about the hotspot-runtime-dev mailing list