RFR: runtime/8176717/TestInheritFD.java fails with java.lang.RuntimeException: could not match: VM RESULT => RETAINS FD
leo.korinth at oracle.com
Thu May 31 13:56:49 UTC 2018
I am uppdating TestInheritFD.java to fix intermittent test
failures. The reason is that
/sys/fs/cgroup/memory/memory.limit_in_bytes sometimes is open.
The new test does not count the number of open file descriptors
but instead looks to see if the log file is still open; this is
less fragile. This relies on a /proc file system, but that seems
to be available on all non Windows ports except Mac. Mac testing is
disabled. The Windows solution does not need to change.
This test bug does cause intermittent test failures in tier1, so I would
be grateful for reviews and also someone to sponsor the final hg export.
GNU/Linux, Solaris, Windows and Mac (Mac disabled).
More information about the hotspot-runtime-dev