RFR: 8178836: Improve PtrQueue index abstraction

Kim Barrett kim.barrett at oracle.com
Sun Apr 23 19:04:10 UTC 2017


> On Apr 23, 2017, at 1:10 PM, Aleksey Shipilev <ashipile at redhat.com> wrote:
> 
> On 04/22/2017 07:19 PM, Kim Barrett wrote:
>>> On Apr 21, 2017, at 7:00 PM, Kim Barrett <kim.barrett at oracle.com> wrote:
>>>> Minor nits:
>>>> 
>>>> *) On first scan, "limit" reads as the loop variable, because it is the only
>>>> initialization in init block. Move it out?
>>>> 
>>>> 161   for (size_t limit = buffer_size(); i < limit; ++i) {
>>> 
>>> OK.
>> 
>> Updated webrev:
>> full: http://cr.openjdk.java.net/~kbarrett/8178836/hotspot.01/
>> incr: http://cr.openjdk.java.net/~kbarrett/8178836/hotspot.01.inc/
> 
> Looks good.
> 
> -Aleksey

Thanks.




More information about the hotspot-gc-dev mailing list