< prev index next >

src/hotspot/share/jvmci/jvmciCompilerToVM.cpp

Print this page

        

*** 20,29 **** --- 20,30 ---- * or visit www.oracle.com if you need additional information or have any * questions. */ #include "precompiled.hpp" + #include "ci/ciUtilities.inline.hpp" #include "classfile/javaClasses.inline.hpp" #include "code/scopeDesc.hpp" #include "memory/oopFactory.hpp" #include "oops/cpCache.inline.hpp" #include "oops/generateOopMap.hpp"
*** 33,42 **** --- 34,44 ---- #include "compiler/compileBroker.hpp" #include "compiler/disassembler.hpp" #include "jvmci/jvmciCompilerToVM.hpp" #include "jvmci/jvmciCodeInstaller.hpp" #include "jvmci/jvmciRuntime.hpp" + #include "runtime/interfaceSupport.inline.hpp" #include "runtime/jniHandles.inline.hpp" #include "runtime/timerTrace.hpp" #include "runtime/vframe_hp.hpp"
*** 96,105 **** --- 98,113 ---- return (oop)result.get_jobject(); } return NULL; } + Handle JavaArgumentUnboxer::next_arg(BasicType expectedType) { + assert(_index < _args->length(), "out of bounds"); + oop arg=((objArrayOop) (_args))->obj_at(_index++); + assert(expectedType == T_OBJECT || java_lang_boxing_object::is_instance(arg, expectedType), "arg type mismatch"); + return Handle(Thread::current(), arg); + } jobjectArray readConfiguration0(JNIEnv *env, TRAPS); C2V_VMENTRY(jobjectArray, readConfiguration, (JNIEnv *env)) jobjectArray config = readConfiguration0(env, CHECK_NULL);
< prev index next >