Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 1 addition & 14 deletions src/hotspot/cpu/ppc/c1_Runtime1_ppc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -760,22 +760,9 @@ OopMapSet* Runtime1::generate_code_for(StubId id, StubAssembler* sasm) {
break;

case StubId::c1_dtrace_object_alloc_id:
{ // O0: object
{
__ unimplemented("stub dtrace_object_alloc_id");
__ set_info("dtrace_object_alloc", dont_gc_arguments);
// // We can't gc here so skip the oopmap but make sure that all
// // the live registers get saved.
// save_live_registers(sasm);
//
// __ save_thread(L7_thread_cache);
// __ call(CAST_FROM_FN_PTR(address, static_cast<int (*)(oopDesc*)>(SharedRuntime::dtrace_object_alloc)),
// relocInfo::runtime_call_type);
// __ delayed()->mov(I0, O0);
// __ restore_thread(L7_thread_cache);
//
// restore_live_registers(sasm);
// __ ret();
// __ delayed()->restore();
}
break;

Expand Down
4 changes: 0 additions & 4 deletions src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2320,10 +2320,6 @@ nmethod *SharedRuntime::generate_native_wrapper(MacroAssembler *masm,
// Make sure that thread is non-volatile; it crosses a bunch of VM calls below.
assert(R16_thread->is_nonvolatile(), "thread must be in non-volatile register");

# if 0
// DTrace method entry
# endif

// Lock a synchronized method.
// --------------------------------------------------------------------------

Expand Down