< prev index next >

src/hotspot/share/prims/nativeEntryPoint.cpp

Print this page
*** 1,7 ***
  /*
!  * Copyright (c) 2020, 2025, Oracle and/or its affiliates. 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
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.
--- 1,7 ---
  /*
!  * Copyright (c) 2020, 2026, Oracle and/or its affiliates. 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
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.

*** 40,12 ***
                                        jboolean needs_transition))
    ResourceMark rm;
    const ABIDescriptor abi = ForeignGlobals::parse_abi_descriptor(jabi);
  
    oop type = JNIHandles::resolve(method_type);
!   objArrayOop arg_moves_oop = oop_cast<objArrayOop>(JNIHandles::resolve(arg_moves));
!   objArrayOop ret_moves_oop = oop_cast<objArrayOop>(JNIHandles::resolve(ret_moves));
    int pcount = java_lang_invoke_MethodType::ptype_count(type);
    int pslots = java_lang_invoke_MethodType::ptype_slot_count(type);
    BasicType* basic_type = NEW_RESOURCE_ARRAY(BasicType, pslots);
  
    GrowableArray<VMStorage> input_regs(pcount);
--- 40,12 ---
                                        jboolean needs_transition))
    ResourceMark rm;
    const ABIDescriptor abi = ForeignGlobals::parse_abi_descriptor(jabi);
  
    oop type = JNIHandles::resolve(method_type);
!   refArrayOop arg_moves_oop = oop_cast<refArrayOop>(JNIHandles::resolve(arg_moves));
!   refArrayOop ret_moves_oop = oop_cast<refArrayOop>(JNIHandles::resolve(ret_moves));
    int pcount = java_lang_invoke_MethodType::ptype_count(type);
    int pslots = java_lang_invoke_MethodType::ptype_slot_count(type);
    BasicType* basic_type = NEW_RESOURCE_ARRAY(BasicType, pslots);
  
    GrowableArray<VMStorage> input_regs(pcount);
< prev index next >