# HG changeset patch # User iklam # Date 1501825226 25200 # Node ID 9db1408787eb4972ca8a9a8b5867cf75f0dbba82 # Parent 4aeae5b90e60b0301e4ebc6f2bffaa88bd791a7d 8185826: HotSpot build failure with GCC 7.1.1 Summary: Removed unused function Reviewed-by: dholmes, ysuenaga diff -r 4aeae5b90e60 -r 9db1408787eb 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); }