--- old/src/share/vm/utilities/growableArray.hpp 2013-06-26 14:25:00.484388187 -0700 +++ new/src/share/vm/utilities/growableArray.hpp 2013-06-26 14:25:00.271888546 -0700 @@ -194,6 +194,7 @@ void clear() { _len = 0; } int length() const { return _len; } + int max_length() const { return _max; } void trunc_to(int l) { assert(l <= _len,"cannot increase length"); _len = l; } bool is_empty() const { return _len == 0; } bool is_nonempty() const { return _len != 0; }