handleHandshakeRequest should be called from enterNativeBlockedImpl. Otherwise, a thread that enters native after a soft handshake request is initiated and does not exit native until after the soft handshake completes will have not serviced the request even though the requester will be made to believe that it had.
I have a patch for this, and I'm testing it now. I won't commit it until we see the effect of previous commits on the stability of the system.
Defer to 3.1.1
bulk defer open issues to 3.1.2
I looked and I think the order of calls is ok.
I merged in the missing comments in 10413:59b08be63d68
bulk close of all resolved issues in preparation for 3.1.3 release.