In [1] Kim suggests:
---
src/os/posix/vm/os_posix.cpp
1072 } else if (errno == EINTR) {
1073 continue;
1074 } else if (errno == ETIMEDOUT) {
I think ETIMEDOUT should be tested before EINTR. ETIMEDOUT is the
more interesting and performance relevant case.
---
[1] http://mail.openjdk.java.net/pipermail/hotspot-dev/2015-June/019198.html
---
src/os/posix/vm/os_posix.cpp
1072 } else if (errno == EINTR) {
1073 continue;
1074 } else if (errno == ETIMEDOUT) {
I think ETIMEDOUT should be tested before EINTR. ETIMEDOUT is the
more interesting and performance relevant case.
---
[1] http://mail.openjdk.java.net/pipermail/hotspot-dev/2015-June/019198.html