Mercurial > hg > graal-compiler
comparison src/cpu/x86/vm/sharedRuntime_x86_32.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 | 62c54fcc0a35 |
children | 0bf37f737702 |
comparison
equal
deleted
inserted
replaced
17849:526acaf3626f | 17850:2100bf712e2a |
---|---|
2264 } | 2264 } |
2265 | 2265 |
2266 if (!is_critical_native) { | 2266 if (!is_critical_native) { |
2267 // reset handle block | 2267 // reset handle block |
2268 __ movptr(rcx, Address(thread, JavaThread::active_handles_offset())); | 2268 __ movptr(rcx, Address(thread, JavaThread::active_handles_offset())); |
2269 __ movptr(Address(rcx, JNIHandleBlock::top_offset_in_bytes()), NULL_WORD); | 2269 __ movl(Address(rcx, JNIHandleBlock::top_offset_in_bytes()), NULL_WORD); |
2270 | 2270 |
2271 // Any exception pending? | 2271 // Any exception pending? |
2272 __ cmpptr(Address(thread, in_bytes(Thread::pending_exception_offset())), (int32_t)NULL_WORD); | 2272 __ cmpptr(Address(thread, in_bytes(Thread::pending_exception_offset())), (int32_t)NULL_WORD); |
2273 __ jcc(Assembler::notEqual, exception_pending); | 2273 __ jcc(Assembler::notEqual, exception_pending); |
2274 } | 2274 } |