On Tue, 3 Jun 2025 12:29:39 GMT, Markus Grönlund <mgron...@openjdk.org> wrote:
>> Johannes Bechberger has updated the pull request incrementally with two >> additional commits since the last revision: >> >> - Fix include order >> - Tiny refactoring > > src/hotspot/share/jfr/periodic/sampling/jfrCPUTimeThreadSampler.cpp line 235: > >> 233: >> 234: void JfrCPUTimeThreadSampler::on_javathread_create(JavaThread* thread) { >> 235: if (thread->is_Compiler_thread()) { > > is_hidden_from_external_view() + is_JfrRecorderThread() instead? tl->is_excluded() is volatile and can change during runtime, so it's better to add a timer unconditionally there. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/25302#discussion_r2123669984