RFR: 8350667: Remove startThread_lock() and _startThread_lock on AIX
David Holmes
dholmes at openjdk.org
Wed Feb 26 04:37:56 UTC 2025
On Tue, 25 Feb 2025 15:58:36 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> The startThread_lock() and _startThread_lock coding is not used on AIX so it can be removed.
src/hotspot/os/aix/os_aix.cpp line 800:
> 798:
> 799: // child thread synchronization is not done here on AIX, a thread is started in suspended state
> 800:
It is interesting that on Windows, where we also start threads suspended, we also do:
// Thread state now is INITIALIZED, not SUSPENDED
osthread->set_state(INITIALIZED);
then we have:
// The thread is returned suspended (in state INITIALIZED), and is started higher up in the call chain
return true;
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23779#discussion_r1970891998
More information about the hotspot-runtime-dev
mailing list