RFR: runtime/8176717/TestInheritFD.java fails with java.lang.RuntimeException: could not match: VM RESULT => RETAINS FD
Leo Korinth
leo.korinth at oracle.com
Thu May 31 13:56:49 UTC 2018
Hi!
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.
Bug:
https://bugs.openjdk.java.net/browse/JDK-8202740
Webrev:
http://cr.openjdk.java.net/~lkorinth/8202740/
Testing:
GNU/Linux, Solaris, Windows and Mac (Mac disabled).
Thanks,
Leo
More information about the hotspot-runtime-dev
mailing list