src/hotspot/share/gc/z/zAttachedArray.hpp
changeset 58237 944b58cbaf93
parent 54170 8f1771ea1e39
--- a/src/hotspot/share/gc/z/zAttachedArray.hpp	Tue Sep 10 17:07:02 2019 +0200
+++ b/src/hotspot/share/gc/z/zAttachedArray.hpp	Wed Sep 11 09:47:42 2019 +0200
@@ -29,7 +29,7 @@
 template <typename ObjectT, typename ArrayT>
 class ZAttachedArray {
 private:
-  const uint32_t _length;
+  const size_t _length;
 
   static size_t object_size();
 
@@ -39,7 +39,7 @@
 
   ZAttachedArray(size_t length);
 
-  uint32_t length() const;
+  size_t length() const;
   ArrayT* operator()(const ObjectT* obj) const;
 };