- 
    Enhancement 
- 
    Resolution: Fixed
- 
     P4 P4
- 
    None
- 
        b17
- 
        ppc
                    TemplateInterpreterGenerator::generate_return_entry_for() has a sequence of assembler instructions [1] that directly corresponds to InterpreterMacroAssembler::load_resolved_indy_entry() [2]. It should be replaced with a call of the latter.
[1] sequence to be replaced https://github.com/openjdk/jdk/blob/e56bcb04b11c6494e6afdf0bd9b9bc65a4769347/src/hotspot/cpu/ppc/templateInterpreterGenerator_ppc.cpp#L647-L653
[2] replace with call of https://github.com/openjdk/jdk/blob/e56bcb04b11c6494e6afdf0bd9b9bc65a4769347/src/hotspot/cpu/ppc/interp_masm_ppc_64.cpp#L483
[1] sequence to be replaced https://github.com/openjdk/jdk/blob/e56bcb04b11c6494e6afdf0bd9b9bc65a4769347/src/hotspot/cpu/ppc/templateInterpreterGenerator_ppc.cpp#L647-L653
[2] replace with call of https://github.com/openjdk/jdk/blob/e56bcb04b11c6494e6afdf0bd9b9bc65a4769347/src/hotspot/cpu/ppc/interp_masm_ppc_64.cpp#L483
 
        