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).

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

Commit messages:
 - 8383709: Linux perf map should record individual stubs

Changes: https://git.openjdk.org/jdk/pull/31007/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31007&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8383709
  Stats: 28 lines in 2 files changed: 27 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/31007.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/31007/head:pull/31007

PR: https://git.openjdk.org/jdk/pull/31007

Reply via email to