RFR: 8369622: GlobalChunkPoolMutex needs to be recursive [v2]

David Holmes dholmes at openjdk.org
Thu Oct 16 07:20:09 UTC 2025


On Wed, 15 Oct 2025 20:06:01 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> Johan Sjölen has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Recur again!
>
> src/hotspot/share/memory/arena.cpp line 54:
> 
>> 52: 
>> 53:   void lock() {
>> 54:     intx current = os::current_thread_id();
> 
> So this is okay but not Thread::current() ?

Yes this becomes e.g. `pthread_self()`

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27759#discussion_r2434833569


More information about the hotspot-runtime-dev mailing list