8206977: Minor improvements of runtime code

Reviewed-by: coleenp, lfoltan
This commit is contained in:
Goetz Lindenmaier 2018-07-11 16:11:10 +02:00
parent 89f13ef117
commit 8a9b0134a8
18 changed files with 68 additions and 55 deletions

View file

@ -387,7 +387,8 @@ ModuleEntry* ModuleEntryTable::new_entry(unsigned int hash, Handle module_handle
entry->set_is_patched();
if (log_is_enabled(Trace, module, patch)) {
ResourceMark rm;
log_trace(module, patch)("Marked module %s as patched from --patch-module", name->as_C_string());
log_trace(module, patch)("Marked module %s as patched from --patch-module",
name != NULL ? name->as_C_string() : UNNAMED_MODULE);
}
}