RFR: 8219922: Simplify IndexSetIterator::next using count_trailing_zeros

Vladimir Kozlov vladimir.kozlov at oracle.com
Thu Feb 28 19:38:59 UTC 2019


Nice cleanup.

thanks,
Vladimir

On 2/28/19 6:06 AM, Claes Redestad wrote:
> Hi,
> 
> using count_trailing_zeros to implement IndexSetIterator::next
> simplifies the code and shows a small speed-up in profiles.
> 
> Bug:    https://bugs.openjdk.java.net/browse/JDK-8219922
> Webrev: http://cr.openjdk.java.net/~redestad/8219922/open.00/
> 
> Testing: tier1+2
> 
> Thanks!
> 
> /Claes


More information about the hotspot-compiler-dev mailing list