< prev index next >
src/hotspot/share/memory/virtualspace.hpp
Print this page
*** 40,50 ****
size_t _nvdimm_size;
size_t _noaccess_prefix;
size_t _alignment;
bool _special;
int _fd_for_heap;
- int _fd_for_nvdimm;
private:
bool _executable;
// ReservedSpace
ReservedSpace(char* base, size_t size, size_t alignment, bool special,
--- 40,49 ----
*** 67,78 ****
ReservedSpace(size_t size, size_t alignment, bool large, bool executable);
// Accessors
char* base() const { return _base; }
char* nvdimm_base() const { return _nvdimm_base; }
! int nvdimm_fd() const { return _fd_for_nvdimm; }
! void setup_fd(int fd) {_fd_for_nvdimm = fd; }
size_t size() const { return _size; }
size_t nvdimm_size() const { return _nvdimm_size; }
char* end() const { return _base + _size; }
size_t alignment() const { return _alignment; }
bool special() const { return _special; }
--- 66,77 ----
ReservedSpace(size_t size, size_t alignment, bool large, bool executable);
// Accessors
char* base() const { return _base; }
char* nvdimm_base() const { return _nvdimm_base; }
! int nvdimm_fd() const { return _fd_for_heap; }
! void setup_fd(int fd) {_fd_for_heap = fd; }
size_t size() const { return _size; }
size_t nvdimm_size() const { return _nvdimm_size; }
char* end() const { return _base + _size; }
size_t alignment() const { return _alignment; }
bool special() const { return _special; }
< prev index next >