RFR: 8293218: serviceability/tmtools/jstat/GcNewTest.java fails with "Error in the percent calculation"
Serguei Spitsyn
sspitsyn at openjdk.org
Thu Sep 8 18:04:43 UTC 2022
On Thu, 8 Sep 2022 14:51:06 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:
> What is the purpose of the outer loop of this test? Is it to test while the heap is shrinking? If so, it seems there is no reason for the inner loop to be added, and also possibly just re-ordering the read of the heap size is the correct fix.
Agreed. At least, the outer loop is confusing and needs a comment explaining why it is needed.
-------------
PR: https://git.openjdk.org/jdk/pull/10218
More information about the serviceability-dev
mailing list