--- old/src/hotspot/share/gc/z/zMarkStackAllocator.cpp 2020-06-03 10:15:57.000000000 +0200 +++ new/src/hotspot/share/gc/z/zMarkStackAllocator.cpp 2020-06-03 10:15:57.000000000 +0200 @@ -22,6 +22,7 @@ */ #include "precompiled.hpp" +#include "gc/shared/gcLogPrecious.hpp" #include "gc/z/zLock.inline.hpp" #include "gc/z/zMarkStack.inline.hpp" #include "gc/z/zMarkStackAllocator.hpp" @@ -44,7 +45,7 @@ const size_t alignment = (size_t)os::vm_allocation_granularity(); const uintptr_t addr = (uintptr_t)os::reserve_memory(size, NULL, alignment, mtGC); if (addr == 0) { - log_error(gc, marking)("Failed to reserve address space for mark stacks"); + log_error_p(gc, marking)("Failed to reserve address space for mark stacks"); return; }