RFR: 8293503: gc/metaspace/TestMetaspacePerfCounters.java#Epsilon-64 failed assertGreaterThanOrEqual: expected MMM >= NNN [v2]
Leo Korinth
lkorinth at openjdk.org
Wed Sep 14 15:12:02 UTC 2022
On Wed, 14 Sep 2022 15:09:05 GMT, Leo Korinth <lkorinth at openjdk.org> wrote:
>> `MaxAttempts` is used in the code. I prefer to have a named constant than a raw embedded value almost every time, also this time, but I can be convinced to inline it as well. Declaring it in the for-loop only clutters the loop body.
>
> Yes, sorry, I do not know what I was thinking... Looks good to me.
And thank you for refactoring the loop!
-------------
PR: https://git.openjdk.org/jdk/pull/10239
More information about the hotspot-gc-dev
mailing list