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

src/hotspot/share/jvmci/jvmciCodeInstaller.cpp

Print this page

        

*** 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