RFR: 8300727: java/awt/List/ListGarbageCollectionTest/AwtListGarbageCollectionTest.java failed with "List wasn't garbage collected"
Sergey Bylokhov
serb at openjdk.org
Fri Feb 17 03:10:08 UTC 2023
On Thu, 16 Feb 2023 21:50:04 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
>For this reason, GC logs are enabled. If, for whatever reason, the call to System.gc() is ignored, we'll see it in the test log. Then a specific GC could be selected, for example, or another fix implemented.
As of now this test can be executed with different GC, and some of them can skip System.gc().
>OOME does not guarantee a full GC cycle either.
But it guarantee that at list some GC will be always run, unlike System.gc().
-------------
PR: https://git.openjdk.org/jdk/pull/12594
More information about the client-libs-dev
mailing list