RFR(T): 8214206: Fix for JDK-8213419 is broken on 32-bit

Roland Westrelin rwestrel at redhat.com
Fri Nov 23 08:16:44 UTC 2018


> 1049 //* largest i such that 2^i <= x
> 1050 //  A negative value of 'x' will return '63'
> 1051 inline int log2_long(julong x) {
>
> How can x be negative here?

It can't. The comment is wrong and should have been fixed by 8213419.

Roland.


More information about the hotspot-dev mailing list