RFR: 7879: Automated Analysis taking very long time to produce results for Class Leak Rule and showing wrong results.

Henrik Dafgård hdafgard at openjdk.org
Wed Sep 28 21:51:40 UTC 2022


On Sat, 20 Aug 2022 18:59:14 GMT, Suchita Chaturvedi <schaturvedi at openjdk.org> wrote:

> This PR takes care of optimizing and correcting the Class leak rule results on Automated Analysis Page.

core/org.openjdk.jmc.flightrecorder.rules.jdk/src/main/java/org/openjdk/jmc/flightrecorder/rules/jdk/util/DefaultIItemResultSet.java line 108:

> 106: 			Set<?> aggregate = input.getAggregate((IAggregator<Set<?>, ?>) aggregator);
> 107: 			if (aggregate != null) {
> 108: 				ExecutorService exec = Executors.newWorkStealingPool();

We might want to set a target level parallelism here? Or have an executor service initialized on class load instead of at each invocation of the method? We might also not want a work stealing pool here then.

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

PR: https://git.openjdk.org/jmc/pull/419


More information about the jmc-dev mailing list