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

Thomas Schatzl tschatzl at openjdk.java.net
Fri Feb 12 09:39:38 UTC 2021


On Wed, 10 Feb 2021 12:13:54 GMT, Christoph Göttschkes <cgo 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.

Lgtm.

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

Marked as reviewed by tschatzl (Reviewer).

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



More information about the hotspot-gc-dev mailing list