src/hotspot/share/jvmci/jvmciCodeInstaller.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/hotspot/share/jvmci/jvmciCodeInstaller.cpp	Tue Jan  2 17:23:08 2018
--- new/src/hotspot/share/jvmci/jvmciCodeInstaller.cpp	Tue Jan  2 17:23:07 2018

*** 598,607 **** --- 598,610 ---- int stack_slots = _total_frame_size / HeapWordSize; // conversion to words if (!compiled_code->is_a(HotSpotCompiledNmethod::klass())) { oop stubName = HotSpotCompiledCode::name(compiled_code_obj); + if (oopDesc::is_null(stubName)) { + JVMCI_ERROR_OK("stub should have a name"); + } char* name = strdup(java_lang_String::as_utf8_string(stubName)); cb = RuntimeStub::new_runtime_stub(name, &buffer, CodeOffsets::frame_never_safe, stack_slots,

src/hotspot/share/jvmci/jvmciCodeInstaller.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File