8200458: (se) Readiness information previously recorded in the ready set not preserved

Reviewed-by: bpb, chegar
This commit is contained in:
Alan Bateman 2018-04-05 15:04:09 +01:00
parent d185d65b69
commit 97d7cfb14e
8 changed files with 193 additions and 128 deletions

View file

@ -174,7 +174,7 @@ class PollSelectorImpl extends SelectorImpl {
assert ski.getFDVal() == getDescriptor(i);
if (ski.isValid()) {
if (selectedKeys.contains(ski)) {
if (ski.translateAndSetReadyOps(rOps)) {
if (ski.translateAndUpdateReadyOps(rOps)) {
numKeysUpdated++;
}
} else {