src/share/vm/runtime/virtualspace.hpp

changeset 6472
2b8e28fdf503
parent 5859
04b18a42c2f3
child 6198
55fb97c4c58d
     1.1 --- a/src/share/vm/runtime/virtualspace.hpp	Wed Oct 16 10:52:41 2013 +0200
     1.2 +++ b/src/share/vm/runtime/virtualspace.hpp	Tue Nov 05 17:38:04 2013 -0800
     1.3 @@ -178,16 +178,22 @@
     1.4   public:
     1.5    // Initialization
     1.6    VirtualSpace();
     1.7 +  bool initialize_with_granularity(ReservedSpace rs, size_t committed_byte_size, size_t max_commit_ganularity);
     1.8    bool initialize(ReservedSpace rs, size_t committed_byte_size);
     1.9  
    1.10    // Destruction
    1.11    ~VirtualSpace();
    1.12  
    1.13 -  // Testers (all sizes are byte sizes)
    1.14 -  size_t committed_size()   const;
    1.15 -  size_t reserved_size()    const;
    1.16 +  // Reserved memory
    1.17 +  size_t reserved_size() const;
    1.18 +  // Actually committed OS memory
    1.19 +  size_t actual_committed_size() const;
    1.20 +  // Memory used/expanded in this virtual space
    1.21 +  size_t committed_size() const;
    1.22 +  // Memory left to use/expand in this virtual space
    1.23    size_t uncommitted_size() const;
    1.24 -  bool   contains(const void* p)  const;
    1.25 +
    1.26 +  bool   contains(const void* p) const;
    1.27  
    1.28    // Operations
    1.29    // returns true on success, false otherwise
    1.30 @@ -198,7 +204,8 @@
    1.31    void check_for_contiguity() PRODUCT_RETURN;
    1.32  
    1.33    // Debugging
    1.34 -  void print() PRODUCT_RETURN;
    1.35 +  void print_on(outputStream* out) PRODUCT_RETURN;
    1.36 +  void print();
    1.37  };
    1.38  
    1.39  #endif // SHARE_VM_RUNTIME_VIRTUALSPACE_HPP

mercurial