equal
deleted
inserted
replaced
2236 // Transition from _thread_in_Java to _thread_in_native. |
2236 // Transition from _thread_in_Java to _thread_in_native. |
2237 __ li(R0, _thread_in_native); |
2237 __ li(R0, _thread_in_native); |
2238 __ release(); |
2238 __ release(); |
2239 // TODO: PPC port assert(4 == JavaThread::sz_thread_state(), "unexpected field size"); |
2239 // TODO: PPC port assert(4 == JavaThread::sz_thread_state(), "unexpected field size"); |
2240 __ stw(R0, thread_(thread_state)); |
2240 __ stw(R0, thread_(thread_state)); |
2241 if (UseMembar) { |
|
2242 __ fence(); |
|
2243 } |
|
2244 |
2241 |
2245 |
2242 |
2246 // The JNI call |
2243 // The JNI call |
2247 // -------------------------------------------------------------------------- |
2244 // -------------------------------------------------------------------------- |
2248 #if defined(ABI_ELFv2) |
2245 #if defined(ABI_ELFv2) |
2395 // Transition from _thread_in_native_trans to _thread_in_Java. |
2392 // Transition from _thread_in_native_trans to _thread_in_Java. |
2396 __ li(R0, _thread_in_Java); |
2393 __ li(R0, _thread_in_Java); |
2397 __ release(); |
2394 __ release(); |
2398 // TODO: PPC port assert(4 == JavaThread::sz_thread_state(), "unexpected field size"); |
2395 // TODO: PPC port assert(4 == JavaThread::sz_thread_state(), "unexpected field size"); |
2399 __ stw(R0, thread_(thread_state)); |
2396 __ stw(R0, thread_(thread_state)); |
2400 if (UseMembar) { |
|
2401 __ fence(); |
|
2402 } |
|
2403 __ bind(after_transition); |
2397 __ bind(after_transition); |
2404 |
2398 |
2405 // Reguard any pages if necessary. |
2399 // Reguard any pages if necessary. |
2406 // -------------------------------------------------------------------------- |
2400 // -------------------------------------------------------------------------- |
2407 |
2401 |