src/share/vm/memory/virtualspace.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File hotspot Sdiff src/share/vm/memory

src/share/vm/memory/virtualspace.hpp

Print this page
rev 29186 : Review changes 2


 167   char* middle_high() const { return _middle_high; }
 168   char* upper_high() const { return _upper_high; }
 169 
 170   char* lower_high_boundary() const { return _lower_high_boundary; }
 171   char* middle_high_boundary() const { return _middle_high_boundary; }
 172   char* upper_high_boundary() const { return _upper_high_boundary; }
 173 
 174   size_t lower_alignment() const { return _lower_alignment; }
 175   size_t middle_alignment() const { return _middle_alignment; }
 176   size_t upper_alignment() const { return _upper_alignment; }
 177 
 178  public:
 179   // Committed area
 180   char* low()  const { return _low; }
 181   char* high() const { return _high; }
 182 
 183   // Reserved area
 184   char* low_boundary()  const { return _low_boundary; }
 185   char* high_boundary() const { return _high_boundary; }
 186 


 187   void set_low_boundary(char *p)  { _low_boundary = p; }
 188   void set_high_boundary(char *p) { _high_boundary = p; }
 189   void set_low(char *p)           { _low = p; }
 190   void set_high(char *p)          { _high = p; }

 191 
 192   bool special() const { return _special; }
 193 
 194  public:
 195   // Initialization
 196   VirtualSpace();
 197   bool initialize_with_granularity(ReservedSpace rs, size_t committed_byte_size, size_t max_commit_ganularity);
 198   bool initialize(ReservedSpace rs, size_t committed_byte_size);
 199 
 200   // Destruction
 201   ~VirtualSpace();
 202 
 203   // Reserved memory
 204   size_t reserved_size() const;
 205   // Actually committed OS memory
 206   size_t actual_committed_size() const;
 207   // Memory used/expanded in this virtual space
 208   size_t committed_size() const;
 209   // Memory left to use/expand in this virtual space
 210   size_t uncommitted_size() const;


 167   char* middle_high() const { return _middle_high; }
 168   char* upper_high() const { return _upper_high; }
 169 
 170   char* lower_high_boundary() const { return _lower_high_boundary; }
 171   char* middle_high_boundary() const { return _middle_high_boundary; }
 172   char* upper_high_boundary() const { return _upper_high_boundary; }
 173 
 174   size_t lower_alignment() const { return _lower_alignment; }
 175   size_t middle_alignment() const { return _middle_alignment; }
 176   size_t upper_alignment() const { return _upper_alignment; }
 177 
 178  public:
 179   // Committed area
 180   char* low()  const { return _low; }
 181   char* high() const { return _high; }
 182 
 183   // Reserved area
 184   char* low_boundary()  const { return _low_boundary; }
 185   char* high_boundary() const { return _high_boundary; }
 186 
 187 #if INCLUDE_AOT
 188   // Set boundaries for code section in AOT library.
 189   void set_low_boundary(char *p)  { _low_boundary = p; }
 190   void set_high_boundary(char *p) { _high_boundary = p; }
 191   void set_low(char *p)           { _low = p; }
 192   void set_high(char *p)          { _high = p; }
 193 #endif
 194 
 195   bool special() const { return _special; }
 196 
 197  public:
 198   // Initialization
 199   VirtualSpace();
 200   bool initialize_with_granularity(ReservedSpace rs, size_t committed_byte_size, size_t max_commit_ganularity);
 201   bool initialize(ReservedSpace rs, size_t committed_byte_size);
 202 
 203   // Destruction
 204   ~VirtualSpace();
 205 
 206   // Reserved memory
 207   size_t reserved_size() const;
 208   // Actually committed OS memory
 209   size_t actual_committed_size() const;
 210   // Memory used/expanded in this virtual space
 211   size_t committed_size() const;
 212   // Memory left to use/expand in this virtual space
 213   size_t uncommitted_size() const;
src/share/vm/memory/virtualspace.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File