On Mon, 2 Jun 2025 15:13:54 GMT, Markus Grönlund <mgron...@openjdk.org> wrote:
>> So I don't read the ` tl->has_cpu_time_jfr_requests()` twice on the hot-path > > Ok, for now. We should try to come up with a better split. If there are sample requests then we are already in the slow path so loading again `has_cpu_time_jfr_requests()` later won't change anything. My suggestion would be to avoid passing this boolean around. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/25302#discussion_r2126692802