8072129: [AARCH64] missing fix for 8066900
Summary: add 8066900 fix to arm64 code.
Reviewed-by: kvn
--- a/hotspot/src/cpu/aarch64/vm/c1_Runtime1_aarch64.cpp Tue Jan 27 20:49:11 2015 +0100
+++ b/hotspot/src/cpu/aarch64/vm/c1_Runtime1_aarch64.cpp Mon Feb 02 11:29:37 2015 -0800
@@ -376,7 +376,7 @@
case handle_exception_nofpu_id:
case handle_exception_id:
// At this point all registers MAY be live.
- oop_map = save_live_registers(sasm, id == handle_exception_nofpu_id);
+ oop_map = save_live_registers(sasm, id != handle_exception_nofpu_id);
break;
case handle_exception_from_callee_id: {
// At this point all registers except exception oop (r0) and
@@ -440,7 +440,7 @@
case handle_exception_nofpu_id:
case handle_exception_id:
// Restore the registers that were saved at the beginning.
- restore_live_registers(sasm, id == handle_exception_nofpu_id);
+ restore_live_registers(sasm, id != handle_exception_nofpu_id);
break;
case handle_exception_from_callee_id:
// Pop the return address since we are possibly changing SP (restoring from BP).