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

Aymane Harmaz duke at openjdk.org
Mon Sep 22 11:22:16 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:

  Implemented review comments

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

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

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

  Stats: 102 lines in 6 files changed: 61 ins; 7 del; 34 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