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

Aymane Harmaz duke at openjdk.org
Thu Sep 18 18:20:15 UTC 2025


On Thu, 18 Sep 2025 18:11:46 GMT, Aymane Harmaz <duke at openjdk.org> wrote:

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

Actual Rules overview

<img width="516" height="521" alt="Screenshot 2025-09-18 at 16 51 49" src="https://github.com/user-attachments/assets/a78ec8f2-888b-40df-a5d4-58f197e257bc" />

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

PR Comment: https://git.openjdk.org/jmc/pull/674#issuecomment-3308948359


More information about the jmc-dev mailing list