RFR: 8261505: Test test/hotspot/jtreg/gc/parallel/TestDynShrinkHeap.java killed by Linux OOM Killer

Christoph Göttschkes cgo at openjdk.java.net
Fri Feb 12 07:41:38 UTC 2021


On Thu, 11 Feb 2021 19:39:23 GMT, Stefan Johansson <sjohanss at openjdk.org> wrote:

>> On memory constrained devices, the test might get killed by the linux kernel OOM Killer.
>> 
>> Executing the test with the JTreg test harness makes the test fail and get killed by the OOM Killer.
>> Executing the test manually, by using the JTreg provided "rerun" command line, the test succeeds.
>> This happened on a Raspberry PI 2, which has only 1G of memory available.
>> 
>> I added an "os.maxMemory" requirement, so the test gets skipped.
>
> Marked as reviewed by sjohanss (Reviewer).

Hi Stefan,

thanks for the review. I am aware of the concurrency feature of the JTreg runner and am always using a concurrency of 1 on embedded devices. Even if they are more powerful, since it makes the test execution less reliable.

I found some more tests with the same problem, but will file a single bug and fix all in one go, as soon as I have time for that.

-------------

PR: https://git.openjdk.java.net/jdk/pull/2507



More information about the hotspot-gc-dev mailing list