RFR: 7122: Rules evaluation never complete

Alex Macdonald aptmac at openjdk.java.net
Thu Jul 29 16:25:32 UTC 2021


On Thu, 29 Jul 2021 16:12:22 GMT, Marcus Hirt <hirt at openjdk.org> wrote:

> Looks good to me. What’s the thread sleep doing there though?

I'm thinking it was there to reduce the frequency of looping to see if the result had resolved by then. FWIW the sleep has been there since JMC was open sourced: https://github.com/openjdk/jmc/blame/65187e9448cf9b8ed9b629295965fd8db63262f6/application/org.openjdk.jmc.flightrecorder.ui/src/main/java/org/openjdk/jmc/flightrecorder/ui/RuleManager.java#L121

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

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


More information about the jmc-dev mailing list