< prev index next >

src/hotspot/os/windows/gc/z/zPhysicalMemoryBacking_windows.hpp

Print this page

        

@@ -29,28 +29,25 @@
 #include <Windows.h>
 
 class ZPhysicalMemoryBacking {
 private:
   ZGranuleMap<HANDLE> _handles;
-  size_t              _size;
 
   HANDLE get_handle(uintptr_t offset) const;
   void put_handle(uintptr_t offset, HANDLE handle);
   void clear_handle(uintptr_t offset);
 
   size_t commit_from_paging_file(size_t offset, size_t size);
   size_t uncommit_from_paging_file(size_t offset, size_t size);
 
 public:
-  ZPhysicalMemoryBacking();
+  ZPhysicalMemoryBacking(size_t max_capacity);
 
   bool is_initialized() const;
 
   void warn_commit_limits(size_t max) const;
 
-  size_t size() const;
-
   size_t commit(size_t offset, size_t length);
   size_t uncommit(size_t offset, size_t length);
 
   void map(uintptr_t addr, size_t size, size_t offset) const;
   void unmap(uintptr_t addr, size_t size) const;
< prev index next >