mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8194271: jaotc crashes with --debug flag
Reviewed-by: kvn, thartmann
This commit is contained in:
parent
fd34cd5262
commit
98601408f0
3 changed files with 56 additions and 1 deletions
|
@ -600,6 +600,9 @@ JVMCIEnv::CodeInstallResult CodeInstaller::install(JVMCICompiler* compiler, Hand
|
|||
|
||||
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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue