< prev index next >

share/memory/virtualspace.hpp

Print this page
rev 1 : G1GC+POGC+NVDIMM Patch with latest comments incorporated from all.
rev 3 : Removing _fd_for_nvdimm
rev 4 : Not working version of _fd_heap
rev 7 : Prepare to do nothing in reservespace
rev 8 : Final version addressing all Thomas S concerns

@@ -61,10 +61,12 @@
                 char* requested_address = NULL);
   ReservedSpace(size_t size, size_t alignment, bool large, bool executable);
 
   // Accessors
   char*  base()            const { return _base;      }
+  int    nvdimm_fd()       const { return _fd_for_heap; }
+  void   setup_fd(int fd)  {_fd_for_heap = fd; } 
   size_t size()            const { return _size;      }
   char*  end()             const { return _base + _size; }
   size_t alignment()       const { return _alignment; }
   bool   special()         const { return _special;   }
   bool   executable()      const { return _executable;   }
< prev index next >