RFR: 8253064: monitor list simplifications and getting rid of TSM [v4]

David Holmes david.holmes at oracle.com
Tue Nov 10 03:30:13 UTC 2020


On 10/11/2020 12:35 pm, Daniel D.Daugherty wrote:
> On Tue, 10 Nov 2020 02:15:19 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:
> 
>>> The loop that was being discussed here is the one on line 93 of the original changeset:
>>> `while (next != NULL && next->is_being_async_deflated()) {`
>>> I made no comment on the outer while loop.
>>
>> You're correct. I got confused by the line renumbering due to other changes.
>> Fortunately, the outer while loop can also correctly and easily be changed
>> into a do-while loop so I'll keep that change. I'm looking at the correct inner
>> while loop now.
> 
> The inner while loop is now converted into a do-while loop.

There was a little more to it than just that, but nevermind I think I 
see why next_next is needed, so lets move on.

Thanks,
David

> -------------
> 
> PR: https://git.openjdk.java.net/jdk/pull/642
> 


More information about the hotspot-dev mailing list