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

Christoph Göttschkes cgo at openjdk.java.net
Wed Feb 10 12:17:43 UTC 2021


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.

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

Commit messages:
 - Adds os.maxMemory requirement.

Changes: https://git.openjdk.java.net/jdk/pull/2507/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2507&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8261505
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2507.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2507/head:pull/2507

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



More information about the hotspot-gc-dev mailing list