diff --git a/src/hotspot/share/utilities/growableArray.hpp b/src/hotspot/share/utilities/growableArray.hpp index 68374c516dd..4cc77b40708 100644 --- a/src/hotspot/share/utilities/growableArray.hpp +++ b/src/hotspot/share/utilities/growableArray.hpp @@ -320,21 +320,6 @@ public: return min; } - void truncate_to(int idx) { - for (int i = 0, j = idx; j < length(); i++, j++) { - at_put(i, at(j)); - } - trunc_to(length() - idx); - } - - void truncate_from(int idx) { - trunc_to(idx); - } - - size_t data_size_in_bytes() const { - return _len * sizeof(E); - } - void print() const { tty->print("Growable Array " PTR_FORMAT, p2i(this)); tty->print(": length %d (capacity %d) { ", _len, _capacity);