< prev index next >

src/hotspot/share/gc/z/zMarkStackAllocator.cpp

Print this page

        

@@ -20,10 +20,11 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
 
 #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"
 #include "logging/log.hpp"
 #include "runtime/atomic.hpp"

@@ -42,11 +43,11 @@
   // Reserve address space
   const size_t size = ZMarkStackSpaceLimit;
   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;
   }
 
   // Successfully initialized
   _start = _top = _end = addr;
< prev index next >