RFR: 7248: JMC7/8 Automated Analysis taking very long time to produce results for Class Leak Rule.
Suchita Chaturvedi
schaturvedi at openjdk.java.net
Wed May 26 13:20:15 UTC 2021
On Mon, 17 May 2021 15:45:24 GMT, Brice Dutheil <github.com+803621+bric3 at openjdk.org> wrote:
>> This PR addresses the optimization of Class Leak Rule.
>>
>> Please refer the JBS for the sample JFR which was taking ~90 minutes to generate results for Class Leak Rule. After the optimization time is reduced to ~10-15 minutes.
>>
>> Please review the change and let me the know if there are any comments / suggestions.
>
> Hi,
>
> I believe the executor code has some issues that should be tackled.
Hi @bric3 thanks for your review. Looks like we need to redesign this rule because 15 min is too much time in itself to calculate rule results. I tried Stream::parallelStream approach as well but unfortunately that is taking around 25-30 min which is unacceptable. So I will look into it again.
-------------
PR: https://git.openjdk.java.net/jmc/pull/248
More information about the jmc-dev
mailing list