RFR: 7231: JMC createReport for JMC8 Automated Analysis fails to evaluate several rules
Henrik Dafgård
hdafgard at openjdk.java.net
Tue Aug 31 00:05:31 UTC 2021
On Mon, 9 Aug 2021 23:15:26 GMT, Suchita Chaturvedi <schaturvedi at openjdk.org> wrote:
> This PR addresses the NullPointerException issue in core module for the following rules:
>
> 1. GCs Caused by System.gc()
> 2. GCs Caused by Heap Inspection
> 3. GC Stall
> 4. String Deduplication
> 5. GCs Caused by GC Locker
The ResultProvider should always be available for a IRule imlementation. If it isn't then that's a bug that we need to fix instead. I'd rather fix that at the source than adding null checks all over the code.
-------------
PR: https://git.openjdk.java.net/jmc/pull/302
More information about the jmc-dev
mailing list