src/hotspot/share/jvmci/jvmciCompilerToVM.cpp
changeset 51078 fc6cfe40e32a
parent 50746 85789fb05154
child 51379 802f7e5e7e6b
equal deleted inserted replaced
51077:9baa91bc7567 51078:fc6cfe40e32a
   347       }
   347       }
   348     }
   348     }
   349     klass = *((Klass**) (intptr_t) (base_address + offset));
   349     klass = *((Klass**) (intptr_t) (base_address + offset));
   350   } else {
   350   } else {
   351     THROW_MSG_0(vmSymbols::java_lang_IllegalArgumentException(),
   351     THROW_MSG_0(vmSymbols::java_lang_IllegalArgumentException(),
   352                 err_msg("Unexpected arguments: %s " JLONG_FORMAT " %s", base_object->klass()->external_name(), offset, compressed ? "true" : "false"));
   352                 err_msg("Unexpected arguments: %s " JLONG_FORMAT " %s",
       
   353                         base_object != NULL ? base_object->klass()->external_name() : "null",
       
   354                         offset, compressed ? "true" : "false"));
   353   }
   355   }
   354   assert (klass == NULL || klass->is_klass(), "invalid read");
   356   assert (klass == NULL || klass->is_klass(), "invalid read");
   355   oop result = CompilerToVM::get_jvmci_type(klass, CHECK_NULL);
   357   oop result = CompilerToVM::get_jvmci_type(klass, CHECK_NULL);
   356   return JNIHandles::make_local(THREAD, result);
   358   return JNIHandles::make_local(THREAD, result);
   357 }
   359 }