On Thu, 8 Sep 2022 14:51:06 GMT, Chris Plummer <cjplum...@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

Reply via email to