src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp
changeset 50676 8c0a5b51559b
parent 49392 2956d0ece7a9
child 53116 bb03098c4dde
--- a/src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp	Wed Jun 20 11:47:07 2018 +0100
+++ b/src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp	Tue Jun 19 10:00:39 2018 -0400
@@ -91,7 +91,7 @@
   void pretouch_internal(size_t start_page, size_t end_page);
 
   // Returns the index of the page which contains the given address.
-  uintptr_t  addr_to_page_index(char* addr) const;
+  size_t  addr_to_page_index(char* addr) const;
   // Returns the address of the given page index.
   char*  page_start(size_t index) const;