src/hotspot/share/jvmci/jvmciCodeInstaller.cpp
changeset 54780 f8d182aedc92
parent 54669 ad45b3802d4e
child 54786 ebf733a324d4
equal deleted inserted replaced
54779:e0bd4c7a176e 54780:f8d182aedc92
    25 #include "code/compiledIC.hpp"
    25 #include "code/compiledIC.hpp"
    26 #include "compiler/compileBroker.hpp"
    26 #include "compiler/compileBroker.hpp"
    27 #include "jvmci/jvmciCodeInstaller.hpp"
    27 #include "jvmci/jvmciCodeInstaller.hpp"
    28 #include "jvmci/jvmciCompilerToVM.hpp"
    28 #include "jvmci/jvmciCompilerToVM.hpp"
    29 #include "jvmci/jvmciRuntime.hpp"
    29 #include "jvmci/jvmciRuntime.hpp"
       
    30 #include "oops/compressedOops.inline.hpp"
    30 #include "runtime/interfaceSupport.inline.hpp"
    31 #include "runtime/interfaceSupport.inline.hpp"
    31 #include "runtime/jniHandles.inline.hpp"
    32 #include "runtime/jniHandles.inline.hpp"
    32 #include "runtime/sharedRuntime.hpp"
    33 #include "runtime/sharedRuntime.hpp"
    33 #include "utilities/align.hpp"
    34 #include "utilities/align.hpp"
    34 
    35 
   266 
   267 
   267   Klass* klass = JVMCIENV->asKlass(obj);
   268   Klass* klass = JVMCIENV->asKlass(obj);
   268   int index = _oop_recorder->find_index(klass);
   269   int index = _oop_recorder->find_index(klass);
   269   section->relocate(dest, metadata_Relocation::spec(index));
   270   section->relocate(dest, metadata_Relocation::spec(index));
   270   TRACE_jvmci_3("narrowKlass[%d of %d] = %s", index, _oop_recorder->metadata_count(), klass->name()->as_C_string());
   271   TRACE_jvmci_3("narrowKlass[%d of %d] = %s", index, _oop_recorder->metadata_count(), klass->name()->as_C_string());
   271   return Klass::encode_klass(klass);
   272   return CompressedKlassPointers::encode(klass);
   272 }
   273 }
   273 #endif
   274 #endif
   274 
   275 
   275 Location::Type CodeInstaller::get_oop_type(JVMCIObject value) {
   276 Location::Type CodeInstaller::get_oop_type(JVMCIObject value) {
   276   JVMCIObject valueKind = jvmci_env()->get_Value_valueKind(value);
   277   JVMCIObject valueKind = jvmci_env()->get_Value_valueKind(value);