On Sat, 25 Jun 2022 04:43:12 GMT, Serguei Spitsyn <sspit...@openjdk.org> wrote:
> Chris suggested to convert this if-statement to assert. > The concern is we want to be sure the debug agent does not skip any > CLASS_UNLOAD events. > Though, I feel that a probability to get the assert triggered is very low. Yes, I think it should be an assert, but was not suggesting that change as part of this PR since it is pre-existing. We can file a separate CR for it. ------------- PR: https://git.openjdk.org/jdk/pull/9168