Mercurial > hg > graal-jvmci-8
comparison src/cpu/sparc/vm/sharedRuntime_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 | a9becfeecd1b |
children | 0bf37f737702 |
comparison
equal
deleted
inserted
replaced
17849:526acaf3626f | 17850:2100bf712e2a |
---|---|
2685 } | 2685 } |
2686 | 2686 |
2687 if (!is_critical_native) { | 2687 if (!is_critical_native) { |
2688 // reset handle block | 2688 // reset handle block |
2689 __ ld_ptr(G2_thread, in_bytes(JavaThread::active_handles_offset()), L5); | 2689 __ ld_ptr(G2_thread, in_bytes(JavaThread::active_handles_offset()), L5); |
2690 __ st_ptr(G0, L5, JNIHandleBlock::top_offset_in_bytes()); | 2690 __ st(G0, L5, JNIHandleBlock::top_offset_in_bytes()); |
2691 | 2691 |
2692 __ ld_ptr(G2_thread, in_bytes(Thread::pending_exception_offset()), G3_scratch); | 2692 __ ld_ptr(G2_thread, in_bytes(Thread::pending_exception_offset()), G3_scratch); |
2693 check_forward_pending_exception(masm, G3_scratch); | 2693 check_forward_pending_exception(masm, G3_scratch); |
2694 } | 2694 } |
2695 | 2695 |