RFR: 7248: JMC7/8 Automated Analysis taking very long time to produce results for Class Leak Rule.

Brice Dutheil github.com+803621+bric3 at openjdk.java.net
Fri May 28 08:13:06 UTC 2021


On Wed, 26 May 2021 13:17:20 GMT, Suchita Chaturvedi <schaturvedi at openjdk.org> wrote:

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

@Suchitainf, Yes indeed this looks long, maybe be redesigning the [task](https://github.com/openjdk/jmc/pull/248/files#diff-57837560471be78246f836664b328e28ee5ed8305a4bae809aae15d571bd0634R114-R125) itself it might be possible to better leverage an FJP.

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

PR: https://git.openjdk.java.net/jmc/pull/248


More information about the jmc-dev mailing list