8185826: HotSpot build failure with GCC 7.1.1
authoriklam
Thu, 03 Aug 2017 22:40:26 -0700
changeset 46749 9db1408787eb
parent 46748 4aeae5b90e60
child 46750 bcab0128a16f
8185826: HotSpot build failure with GCC 7.1.1 Summary: Removed unused function Reviewed-by: dholmes, ysuenaga
hotspot/src/share/vm/oops/array.hpp
--- a/hotspot/src/share/vm/oops/array.hpp	Thu Aug 03 17:13:57 2017 -0400
+++ b/hotspot/src/share/vm/oops/array.hpp	Thu Aug 03 22:40:26 2017 -0700
@@ -134,10 +134,6 @@
 
     return (int)words;
   }
-  static int size(int length, int elm_byte_size) {
-    return align_size_up(byte_sizeof(length, elm_byte_size), BytesPerWord) / BytesPerWord; // FIXME
-  }
-
   int size() {
     return size(_length);
   }