FRF: 8033792: AltHashing used jint for imprecise bit shifting
yumin.qi at oracle.com
Thu Feb 6 20:14:14 PST 2014
Please review the change for 8033792.
Summary: AltHashing uses 'jint' type in the way as 'unsigned int'
in bit shifting, which is imprecise. This could lead loss of precision
when converted between jint and 'unsigned int' during bit operation. Fix
by changing operation variable type from 'jint' to 'juint', before
return, cast it into type 'jint'.
More information about the hotspot-runtime-dev