mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8079797: assert(index >= 0 && index < _count) failed: check
Reviewed-by: kvn
This commit is contained in:
parent
005adcec93
commit
3dc9461bc8
3 changed files with 3 additions and 3 deletions
|
@ -2989,7 +2989,7 @@ void nmethod::print_code_comment_on(outputStream* st, int column, u_char* begin,
|
|||
address base = code_begin();
|
||||
ImmutableOopMapSet* oms = oop_maps();
|
||||
if (oms != NULL) {
|
||||
for (int i = 0, imax = oms->size(); i < imax; i++) {
|
||||
for (int i = 0, imax = oms->count(); i < imax; i++) {
|
||||
const ImmutableOopMapPair* pair = oms->pair_at(i);
|
||||
const ImmutableOopMap* om = pair->get_from(oms);
|
||||
address pc = base + pair->pc_offset();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue