On Mon, 6 Jan 2025 19:19:23 GMT, Robert Toyonaga <d...@openjdk.org> wrote:
> However, it looks like `WatcherThread::stop()` is called early in > `before_exit` -- after which point NMT can still be used. Yeah good catch. I just find it frustrating that we already have so many initialization-progress markers but we are looking at adding yet-another-one. Also I'm not sure this is really relevant to mutex itself per-se it is rather about whether mutexes are needed - to that end I don't find `Threads::is_single_threaded() ` a terrible suggestion. ------------- PR Comment: https://git.openjdk.org/jdk/pull/22745#issuecomment-2574379871