--- old/src/share/vm/utilities/growableArray.hpp 2013-08-14 16:16:33.483429981 +0200 +++ new/src/share/vm/utilities/growableArray.hpp 2013-08-14 16:16:33.159429987 +0200 @@ -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; }