RFR: 8366671: Refactor Thread::SpinAcquire and Thread::SpinRelease [v4]

Anton Artemov aartemov at openjdk.org
Fri Nov 14 15:44:56 UTC 2025


On Fri, 14 Nov 2025 15:00:58 GMT, Anton Artemov <aartemov at openjdk.org> wrote:

>> test/hotspot/gtest/jfr/test_adaptiveSampler.cpp line 43:
>> 
>>> 41: #include "runtime/atomicAccess.hpp"
>>> 42: #include "utilities/globalDefinitions.hpp"
>>> 43: #include "utilities/spinCriticalSection.hpp"
>> 
>> Why this include?
>
> I used to have a different layout, where it was necessary, not it is not. Removed.

UPD: Apparently this include is needed. Without it, some weird build errors show up.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28264#discussion_r2527939125


More information about the hotspot-dev mailing list