RFR: 7231: JMC createReport for JMC8 Automated Analysis fails to evaluate several rules
Marcus Hirt
hirt at openjdk.java.net
Thu Sep 9 14:02:08 UTC 2021
On Tue, 31 Aug 2021 00:02:47 GMT, Henrik Dafgård <hdafgard 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.
@Gunde - is there an issue open for this?
-------------
PR: https://git.openjdk.java.net/jmc/pull/302
More information about the jmc-dev
mailing list