[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-hotspot-runtime-dev
Subject:    Re: RFR: 8331031: unify os::dont_yield and os::naked_yield across Posix platforms
From:       David Holmes <dholmes () openjdk ! org>
Date:       2024-04-30 4:56:08
Message-ID: 3SWpeSaVvNCiyWq6F3NLoYVKb3Ki9yo_MXTWLYcx01E=.36abae91-1c01-4640-ae3a-4f3ef7141a7b () github ! com
[Download RAW message or body]

On Wed, 24 Apr 2024 13:53:36 GMT, Matthias Baesken <mbaesken@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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic