hotspot/src/share/vm/gc/g1/g1PageBasedVirtualSpace.hpp
changeset 46619 a3919f5e8d2b
parent 41178 e567be097315
child 46625 edefffab74e2
equal deleted inserted replaced
46618:d503911aa948 46619:a3919f5e8d2b
    98   // Is the given page index the last page?
    98   // Is the given page index the last page?
    99   bool is_last_page(size_t index) const { return index == (_committed.size() - 1); }
    99   bool is_last_page(size_t index) const { return index == (_committed.size() - 1); }
   100   // Is the given page index the first after last page?
   100   // Is the given page index the first after last page?
   101   bool is_after_last_page(size_t index) const;
   101   bool is_after_last_page(size_t index) const;
   102   // Is the last page only partially covered by this space?
   102   // Is the last page only partially covered by this space?
   103   bool is_last_page_partial() const { return !is_ptr_aligned(_high_boundary, _page_size); }
   103   bool is_last_page_partial() const { return !is_aligned(_high_boundary, _page_size); }
   104   // Returns the end address of the given page bounded by the reserved space.
   104   // Returns the end address of the given page bounded by the reserved space.
   105   char* bounded_end_addr(size_t end_page) const;
   105   char* bounded_end_addr(size_t end_page) const;
   106 
   106 
   107   // Returns true if the entire area is backed by committed memory.
   107   // Returns true if the entire area is backed by committed memory.
   108   bool is_area_committed(size_t start_page, size_t size_in_pages) const;
   108   bool is_area_committed(size_t start_page, size_t size_in_pages) const;