RFR [8023390] Test java/net/NetworkInterface/MemLeakTest.java failed

Ivan Gerasimov ivan.gerasimov at oracle.com
Wed Oct 9 08:10:41 UTC 2013


Hello all!

The MemLeakTest had been added with the fix for 8022584.
Since that, the test was reported to fail intermittently, even though 
the leak was eliminated.

I couldn't ever reproduce the failure even on the machines where the 
failure was detected.

Here are the changes I propose:
- Increase number of both warm-up and measured iterations,
- Number of iterations now indicates how many times a single interface 
is probed. It used to probe all the interfaces that many times.
- Increase the memory consumption threshold
- Increase the timeout

These should add some confidence that the failure of the test really 
indicates a memory leak.

In addition to that, in the case of a failure the list of all the 
network interfaces is displayed, so there will be some more information 
about the environment.

Here is the webrev: http://cr.openjdk.java.net/~igerasim/8023390/0/webrev/

Sincerely yours,
Ivan Gerasimov





More information about the core-libs-dev mailing list