Request for reviews (S): 6987555: JSR 292 unboxing to a boolean value fails on big-endian SPARC
christian.thalinger at oracle.com
Tue Sep 28 01:44:59 PDT 2010
On Mon, 2010-09-27 at 15:27 -0700, Tom Rodriguez wrote:
> Why is the shift 31 bits? T_BOOLEAN isn't a bit field, it's 8 bits
> wide in our implementation.
True, but the adapter can also do type conversion to sub-types. So we
have to shift by 31 bits to get the actual boolean value.
More information about the hotspot-compiler-dev