diff --git a/src/hotspot/cpu/ppc/c1_Runtime1_ppc.cpp b/src/hotspot/cpu/ppc/c1_Runtime1_ppc.cpp index 09efa2c841b1a..5649f23856c5c 100644 --- a/src/hotspot/cpu/ppc/c1_Runtime1_ppc.cpp +++ b/src/hotspot/cpu/ppc/c1_Runtime1_ppc.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 1999, 2025, Oracle and/or its affiliates. All rights reserved. - * Copyright (c) 2012, 2025 SAP SE. All rights reserved. + * Copyright (c) 1999, 2026, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2026 SAP SE. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -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(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; diff --git a/src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp b/src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp index fc444cb692354..a1446f4979798 100644 --- a/src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp +++ b/src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp @@ -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. // -------------------------------------------------------------------------- @@ -2595,10 +2591,6 @@ nmethod *SharedRuntime::generate_native_wrapper(MacroAssembler *masm, __ bind(done); } -# if 0 - // DTrace method exit -# endif - // Clear "last Java frame" SP and PC. // --------------------------------------------------------------------------