RFR for JDK-7190106 RMI benchmark fails intermittently because of use of fixed port
tristan.yan at oracle.com
Fri Nov 1 05:22:28 UTC 2013
I am working on bug https://bugs.openjdk.java.net/browse/JDK-7190106. Based on my research, it looks like the issue of fixed port was already addressed by Stuart Marks in other RMI tests which are Java based. I would like to reuse his solution, however it does not work for shell based tests. Given this,
1. Fixing the shell based test to address this bug may not be the best solution
2. My recommendation would be to convert this shell script test into Java based test and re-use the dynamic port allocation solution by Stuart Marks to address the issue
3. Also this test was written with server/client mode in shell script. In the past there have been sync issues between server/client which caused the test to fail. If we convert the shell script into Java based test, it would avoid using "sleep 10" mechanism to allow for server and client to start up and also give us better control in synchronizing server and client.
Please let me know if you have any comments or suggestions.
More information about the core-libs-dev