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

Aymane Harmaz duke at openjdk.org
Thu Sep 18 18:11:46 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" />

Aymane Harmaz has updated the pull request incrementally with one additional commit since the last revision:

  Adding most common error and exceprion message

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

Changes:
  - all: https://git.openjdk.org/jmc/pull/674/files
  - new: https://git.openjdk.org/jmc/pull/674/files/c9ab4f3b..3d8d1252

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jmc&pr=674&range=01
 - incr: https://webrevs.openjdk.org/?repo=jmc&pr=674&range=00-01

  Stats: 74 lines in 5 files changed: 49 ins; 8 del; 17 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