Request for reviews (S): 6997459: JSR 292 after 6994093 getting: on return to interpreted call, restored SP is corrupted
christian.thalinger at oracle.com
Thu Nov 4 04:55:47 PDT 2010
6997459: JSR 292 after 6994093 getting: on return to interpreted call,
restored SP is corrupted
After 6994093 running a testcase on SPARC that should throw a
WrongMethodTypeException results in an assert. The problem is that
the change of 6994093 destroys O5 which is the saved sender SP and
that leads to bogus FP values.
The fix is to change temporary register usage in
MethodHandles::generate_method_handle_interpreter_entry to preserve
Tested with failing testcase.
More information about the hotspot-compiler-dev