hotspot/src/share/vm/gc/g1/g1PageBasedVirtualSpace.hpp
changeset 46619 a3919f5e8d2b
parent 41178 e567be097315
child 46625 edefffab74e2
--- a/hotspot/src/share/vm/gc/g1/g1PageBasedVirtualSpace.hpp	Wed Apr 12 17:53:18 2017 +0200
+++ b/hotspot/src/share/vm/gc/g1/g1PageBasedVirtualSpace.hpp	Tue Jul 04 15:58:10 2017 +0200
@@ -100,7 +100,7 @@
   // 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); }
+  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;