comparison src/cpu/x86/vm/sharedRuntime_x86_64.cpp @ 628:7bb995fbd3c0

Merge
author trims
date Thu, 12 Mar 2009 18:16:36 -0700
parents 0fbdb4381b99 3db67f76d308
children 69aefafe69c1
comparison
equal deleted inserted replaced
580:ce2272390558 628:7bb995fbd3c0
1348 1348
1349 #ifdef ASSERT 1349 #ifdef ASSERT
1350 { 1350 {
1351 Label L; 1351 Label L;
1352 __ mov(rax, rsp); 1352 __ mov(rax, rsp);
1353 __ andptr(rax, -16); // must be 16 byte boundry (see amd64 ABI) 1353 __ andptr(rax, -16); // must be 16 byte boundary (see amd64 ABI)
1354 __ cmpptr(rax, rsp); 1354 __ cmpptr(rax, rsp);
1355 __ jcc(Assembler::equal, L); 1355 __ jcc(Assembler::equal, L);
1356 __ stop("improperly aligned stack"); 1356 __ stop("improperly aligned stack");
1357 __ bind(L); 1357 __ bind(L);
1358 } 1358 }
1502 // protect the args we've loaded 1502 // protect the args we've loaded
1503 save_args(masm, total_c_args, c_arg, out_regs); 1503 save_args(masm, total_c_args, c_arg, out_regs);
1504 __ movoop(c_rarg1, JNIHandles::make_local(method())); 1504 __ movoop(c_rarg1, JNIHandles::make_local(method()));
1505 __ call_VM_leaf( 1505 __ call_VM_leaf(
1506 CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_entry), 1506 CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_entry),
1507 r15_thread, c_rarg1);
1508 restore_args(masm, total_c_args, c_arg, out_regs);
1509 }
1510
1511 // RedefineClasses() tracing support for obsolete method entry
1512 if (RC_TRACE_IN_RANGE(0x00001000, 0x00002000)) {
1513 // protect the args we've loaded
1514 save_args(masm, total_c_args, c_arg, out_regs);
1515 __ movoop(c_rarg1, JNIHandles::make_local(method()));
1516 __ call_VM_leaf(
1517 CAST_FROM_FN_PTR(address, SharedRuntime::rc_trace_method_entry),
1507 r15_thread, c_rarg1); 1518 r15_thread, c_rarg1);
1508 restore_args(masm, total_c_args, c_arg, out_regs); 1519 restore_args(masm, total_c_args, c_arg, out_regs);
1509 } 1520 }
1510 1521
1511 // Lock a synchronized method 1522 // Lock a synchronized method