RFR: 8346123: [REDO] NMT should not use ThreadCritical [v12]
David Holmes
dholmes at openjdk.org
Tue Jan 7 04:43:37 UTC 2025
On Mon, 6 Jan 2025 19:19:23 GMT, Robert Toyonaga <duke at 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
More information about the serviceability-dev
mailing list