changeset 19339 | d247781beec7 |
parent 14385 | 959bbcc16725 |
child 22234 | da823d78ad65 |
--- a/hotspot/src/share/vm/utilities/growableArray.hpp Thu Aug 15 10:05:50 2013 +0200 +++ b/hotspot/src/share/vm/utilities/growableArray.hpp Thu Aug 15 10:52:18 2013 +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; }