Request for review (XS): 7027232: JSR 292: wrong numeric value returned by MH on solaris-sparc
Christian Thalinger
christian.thalinger at oracle.com
Tue Mar 15 07:19:02 PDT 2011
http://cr.openjdk.java.net/~twisti/7027232/
7027232: JSR 292: wrong numeric value returned by MH on solaris-sparc
Reviewed-by:
After 7018378 one of the tests of java/dyn/MethodHandlesTest fails on
32-bit SPARC. st_long uses STD on 32-bit SPARC and the LSW and MSW
bits are not moved to the proper registers resulting in a wrong
result.
The fix is to use the correct registers for 32-bit big-endian and
little-endian (just in case) SPARC.
src/cpu/sparc/vm/methodHandles_sparc.cpp
More information about the hotspot-compiler-dev
mailing list