RFR: 5608: Include top stack trace frames in errors and exceptions rules

Aymane Harmaz duke at openjdk.org
Wed Sep 17 17:39:22 UTC 2025


This PR includes : 
- Adding the most common error stack trace to the **Thrown Errors** rule
- Adding the most common exception to the **Thrown Exceptions** rule and its most common stack trace if **jdk.JavaExceptionThrow** event is enabled in recording configuration (for now the max number of stack trace frames displayed is 10)

<img width="587" height="458" alt="Screenshot 2025-09-17 at 17 30 16" src="https://github.com/user-attachments/assets/70240eef-f0c9-4231-a4e1-398e1af9f07b" />

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

Commit messages:
 - 5608: Include top stack trace frames in errors and exceptions rules

Changes: https://git.openjdk.org/jmc/pull/674/files
  Webrev: https://webrevs.openjdk.org/?repo=jmc&pr=674&range=00
  Issue: https://bugs.openjdk.org/browse/JMC-5608
  Stats: 106 lines in 6 files changed: 78 ins; 2 del; 26 mod
  Patch: https://git.openjdk.org/jmc/pull/674.diff
  Fetch: git fetch https://git.openjdk.org/jmc.git pull/674/head:pull/674

PR: https://git.openjdk.org/jmc/pull/674


More information about the jmc-dev mailing list