On Mon, 26 May 2025 08:30:00 GMT, Johannes Bechberger <jbechber...@openjdk.org> 
wrote:

>> A thread in native is still stackwalked at a safe location, a safepoint code 
>> position.
>> 
>> It's guaranteed by the last java frame (ljf).
>
> Yes, but it might be an indeterminate time between entering and exiting the 
> native thread state. So I need to walk them in between. Your sampler 
> implementation also walks threads in native state.

That's fine. Its the term "out of safepoint" which is a concept that does not 
refer to anything concrete.

"Sampling" is the process of saving and enqueing a JfrSampleRequest.

"Stackwalking" or "processing of enqueued requests" is another thing. Are you 
referring to the second here?

"out of safepoint" does not make any sense.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25302#discussion_r2106887879

Reply via email to