< prev index next >

src/hotspot/os_cpu/solaris_sparc/zPhysicalMemoryBacking_solaris_sparc.cpp

Print this page

        

@@ -194,10 +194,15 @@
     ZErrno err;
     fatal("Failed to unmap memory (%s)", err.to_string());
   }
 }
 
+uintptr_t ZPhysicalMemoryBacking::nmt_address(uintptr_t offset) const {
+  // We only have one heap mapping, so just convert the offset to a heap address
+  return ZAddress::address(offset);
+}
+
 void ZPhysicalMemoryBacking::map(ZPhysicalMemory pmem, uintptr_t offset) const {
   if (UseOSMHeap) {
     map_osm(pmem, offset);
   } else {
     map_anonymous(pmem, offset);
< prev index next >