8079797: assert(index >= 0 && index < _count) failed: check

Reviewed-by: kvn
This commit is contained in:
Rickard Bäckman 2015-05-11 09:44:07 +02:00
parent 005adcec93
commit 3dc9461bc8
3 changed files with 3 additions and 3 deletions

View file

@ -324,7 +324,7 @@ public:
const ImmutableOopMapPair* pair_at(int index) const { assert(index >= 0 && index < _count, "check"); return &get_pairs()[index]; }
int count() const { return _count; }
int size() const { return _size; }
int nr_of_bytes() const { return _size; }
void print_on(outputStream* st) const;
void print() const { print_on(tty); }