< prev index next >

src/share/vm/gc/g1/g1PageBasedVirtualSpace.hpp

Print this page

        

*** 98,108 **** // Is the given page index the last page? bool is_last_page(size_t index) const { return index == (_committed.size() - 1); } // Is the given page index the first after last page? bool is_after_last_page(size_t index) const; // Is the last page only partially covered by this space? ! bool is_last_page_partial() const { return !is_ptr_aligned(_high_boundary, _page_size); } // Returns the end address of the given page bounded by the reserved space. char* bounded_end_addr(size_t end_page) const; // Returns true if the entire area is backed by committed memory. bool is_area_committed(size_t start_page, size_t size_in_pages) const; --- 98,108 ---- // Is the given page index the last page? bool is_last_page(size_t index) const { return index == (_committed.size() - 1); } // Is the given page index the first after last page? bool is_after_last_page(size_t index) const; // Is the last page only partially covered by this space? ! bool is_last_page_partial() const { return !is_aligned(_high_boundary, _page_size); } // Returns the end address of the given page bounded by the reserved space. char* bounded_end_addr(size_t end_page) const; // Returns true if the entire area is backed by committed memory. bool is_area_committed(size_t start_page, size_t size_in_pages) const;
< prev index next >