9 RFR: 8178147: Race conditions in timeout handling code in http/2 incubator client

Pavel Rappo pavel.rappo at oracle.com
Thu Apr 6 13:23:20 UTC 2017


> On 6 Apr 2017, at 14:08, Daniel Fuchs <daniel.fuchs at oracle.com> wrote:
> 
> Return is needed here because 1. we are removing something from the
> list, so after that the next values of 'i' will be invalid, and 2.

Yeah, that would be my second question :-) But you explained the purpose,
so no problem here. Thanks. 

Though it indeed jumps out on you. Could we use an iterator here and rely
on its remove implementation, since we know the implementation of the list?



More information about the net-dev mailing list