RFR: 8346123: [REDO] NMT should not use ThreadCritical [v15]

David Holmes dholmes at openjdk.org
Mon Jan 13 21:24:44 UTC 2025


On Mon, 13 Jan 2025 20:53:32 GMT, Robert Toyonaga <duke at openjdk.org> wrote:

> I think it would still be problem that NonJavaThreads (such as WatcherThread and AsyncLogWriter) may use NMT before main_thread is "attached" 

Sorry yes of course that is how we started on this current round - the WatcherThread is created before the main thread is "attached". <sigh>

I need to rewind a few steps and see exactly what it is we need to be initialized before this lock can be used ...

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

PR Comment: https://git.openjdk.org/jdk/pull/22745#issuecomment-2588242206


More information about the hotspot-dev mailing list