mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8188102: [JVMCI] Convert special JVMCI oops in nmethod to jweak values
Reviewed-by: never, kvn, kbarrett
This commit is contained in:
parent
67b21ffa1d
commit
f37bbe430d
13 changed files with 146 additions and 216 deletions
|
@ -1674,19 +1674,9 @@ JRT_ENTRY(void, Deoptimization::uncommon_trap_inner(JavaThread* thread, jint tra
|
|||
tty->print(" compiler=%s compile_id=%d", nm->compiler_name(), nm->compile_id());
|
||||
#if INCLUDE_JVMCI
|
||||
if (nm->is_nmethod()) {
|
||||
oop installedCode = nm->as_nmethod()->jvmci_installed_code();
|
||||
if (installedCode != NULL) {
|
||||
oop installedCodeName = NULL;
|
||||
if (installedCode->is_a(InstalledCode::klass())) {
|
||||
installedCodeName = InstalledCode::name(installedCode);
|
||||
}
|
||||
if (installedCodeName != NULL) {
|
||||
tty->print(" (JVMCI: installedCodeName=%s) ", java_lang_String::as_utf8_string(installedCodeName));
|
||||
} else {
|
||||
tty->print(" (JVMCI: installed code has no name) ");
|
||||
}
|
||||
} else if (nm->is_compiled_by_jvmci()) {
|
||||
tty->print(" (JVMCI: no installed code) ");
|
||||
char* installed_code_name = nm->as_nmethod()->jvmci_installed_code_name(buf, sizeof(buf));
|
||||
if (installed_code_name != NULL) {
|
||||
tty->print(" (JVMCI: installed code name=%s) ", installed_code_name);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue