--- old/src/hotspot/share/gc/z/zLargePages.cpp 2020-06-03 10:15:57.000000000 +0200 +++ new/src/hotspot/share/gc/z/zLargePages.cpp 2020-06-03 10:15:56.000000000 +0200 @@ -22,8 +22,8 @@ */ #include "precompiled.hpp" +#include "gc/shared/gcLogPrecious.hpp" #include "gc/z/zLargePages.hpp" -#include "logging/log.hpp" #include "runtime/os.hpp" ZLargePages::State ZLargePages::_state; @@ -31,8 +31,8 @@ void ZLargePages::initialize() { initialize_platform(); - log_info(gc, init)("Memory: " JULONG_FORMAT "M", os::physical_memory() / M); - log_info(gc, init)("Large Page Support: %s", to_string()); + log_info_p(gc, init)("Memory: " JULONG_FORMAT "M", os::physical_memory() / M); + log_info_p(gc, init)("Large Page Support: %s", to_string()); } const char* ZLargePages::to_string() {