< prev index next >

src/hotspot/os/bsd/gc/z/zPhysicalMemoryBacking_bsd.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/zErrno.hpp"
 #include "gc/z/zGlobals.hpp"
 #include "gc/z/zLargePages.inline.hpp"
 #include "gc/z/zPhysicalMemory.inline.hpp"
 #include "gc/z/zPhysicalMemoryBacking_bsd.hpp"

@@ -79,11 +80,11 @@
 
   // Reserve address space for backing memory
   _base = (uintptr_t)os::reserve_memory(MaxHeapSize);
   if (_base == 0) {
     // Failed
-    log_error(gc)("Failed to reserve address space for backing memory");
+    log_error_p(gc)("Failed to reserve address space for backing memory");
     return;
   }
 
   // Successfully initialized
   _initialized = true;
< prev index next >