RFR: 8280830: Change NonblockingQueue::try_pop variable named "result"

Kim Barrett kbarrett at openjdk.java.net
Wed Feb 9 04:14:11 UTC 2022


On Wed, 9 Feb 2022 00:33:55 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Please review this trivial change to rename a variable in
>> NonblockingQueue::try_pop.  The variable named "result" is being renamed to
>> "old_head", as the old name was found to be confusing by some people, making
>> the code harder to read.
>> 
>> Testing:
>> local build.
>
> Looks good and trivial.
> 
> Thanks,
> David

Thanks @dholmes-ora for reviewing.

-------------

PR: https://git.openjdk.java.net/jdk/pull/7394


More information about the hotspot-dev mailing list