comparison src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp @ 1830:a3f7f95b0165

6988018: dtrace/hotspot/MethodInvocation/MethodInvocation002 crashes with client compiler Reviewed-by: iveresov, kvn, kamg
author never
date Tue, 05 Oct 2010 11:16:12 -0700
parents 3a294e483abc
children f95d63e2154a
comparison
equal deleted inserted replaced
1829:fe08403130db 1830:a3f7f95b0165
418 __ unlock_object(I3, I2, I1, *stub->entry()); 418 __ unlock_object(I3, I2, I1, *stub->entry());
419 __ bind(*stub->continuation()); 419 __ bind(*stub->continuation());
420 } 420 }
421 421
422 if (compilation()->env()->dtrace_method_probes()) { 422 if (compilation()->env()->dtrace_method_probes()) {
423 jobject2reg(method()->constant_encoding(), O0); 423 __ mov(G2_thread, O0);
424 jobject2reg(method()->constant_encoding(), O1);
424 __ call(CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_exit), relocInfo::runtime_call_type); 425 __ call(CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_exit), relocInfo::runtime_call_type);
425 __ delayed()->nop(); 426 __ delayed()->nop();
426 } 427 }
427 428
428 if (method()->is_synchronized() || compilation()->env()->dtrace_method_probes()) { 429 if (method()->is_synchronized() || compilation()->env()->dtrace_method_probes()) {