RFR: 8331031: unify os::dont_yield and os::naked_yield across Posix platforms

David Holmes dholmes at openjdk.org
Tue Apr 30 04:56:08 UTC 2024


On Wed, 24 Apr 2024 13:53:36 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> The os::dont_yield and os::naked_yield can be unified across Posix platforms.

src/hotspot/os/posix/os_posix.cpp line 859:

> 857: bool os::dont_yield() {
> 858:   return DontYieldALot;
> 859: }

This could have been placed in os.hpp/cpp and removed from all os specific files, but we will be deleting it in JDK 24 anyway.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18933#discussion_r1584131287


More information about the hotspot-runtime-dev mailing list