< prev index next >
src/hotspot/share/classfile/moduleEntry.cpp
Print this page
rev 50967 : 8206977: Minor improvements of runtime code.
*** 385,395 ****
if (ClassLoader::is_in_patch_mod_entries(name)) {
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());
}
}
JFR_ONLY(INIT_ID(entry);)
--- 385,396 ----
if (ClassLoader::is_in_patch_mod_entries(name)) {
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 ? name->as_C_string() : "<unnamed>");
}
}
JFR_ONLY(INIT_ID(entry);)
< prev index next >