On Thu, 30 Apr 2026 23:16:26 GMT, Benjamin Peterson <[email protected]> wrote:

> StubRoutines blobs bundle many individually-named stubs into a single 
> BufferBlob, so perf profiles previously attributed all samples inside those 
> blobs to the enclosing blob name (e.g. "StubRoutines (compiler stubs)"). Walk 
> the StubCodeDesc list and emit a line per descriptor, so perf can name the 
> actual stub.
> 
> 
> 
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Thanks for your explanation. I understood the problem - for example, initial 
stubs could have "forward exception entry" and "call stub entry".

I think we can use `StubCodeDesc::desc_for()` to check/find `StubCodeDesc` for 
arbitrary address. It could be more simple your change.

For the naming, I'm ok to use the space in the label. I just want to comment 
you have to care if you want to use `::` in the label.

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

PR Review: https://git.openjdk.org/jdk/pull/31007#pullrequestreview-4353665607

Reply via email to