comparison src/cpu/sparc/vm/templateInterpreter_sparc.cpp @ 17850:2100bf712e2a

8039146: Fix 64-bit store to int JNIHandleBlock::_top Reviewed-by: coleenp, kvn
author goetz
date Thu, 03 Apr 2014 12:37:53 +0200
parents add2caa66e7e
children 0bf37f737702
comparison
equal deleted inserted replaced
17849:526acaf3626f 17850:2100bf712e2a
1145 __ set(_thread_in_Java, G3_scratch); 1145 __ set(_thread_in_Java, G3_scratch);
1146 __ st(G3_scratch, thread_state); 1146 __ st(G3_scratch, thread_state);
1147 1147
1148 // reset handle block 1148 // reset handle block
1149 __ ld_ptr(G2_thread, JavaThread::active_handles_offset(), G3_scratch); 1149 __ ld_ptr(G2_thread, JavaThread::active_handles_offset(), G3_scratch);
1150 __ st_ptr(G0, G3_scratch, JNIHandleBlock::top_offset_in_bytes()); 1150 __ st(G0, G3_scratch, JNIHandleBlock::top_offset_in_bytes());
1151 1151
1152 // If we have an oop result store it where it will be safe for any further gc 1152 // If we have an oop result store it where it will be safe for any further gc
1153 // until we return now that we've released the handle it might be protected by 1153 // until we return now that we've released the handle it might be protected by
1154 1154
1155 { 1155 {