src/share/vm/code/nmethod.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/code/nmethod.cpp

src/share/vm/code/nmethod.cpp

Print this page

        

*** 2985,2999 **** void nmethod::print_code_comment_on(outputStream* st, int column, u_char* begin, u_char* end) { // First, find an oopmap in (begin, end]. // We use the odd half-closed interval so that oop maps and scope descs // which are tied to the byte after a call are printed with the call itself. address base = code_begin(); ! OopMapSet* oms = oop_maps(); if (oms != NULL) { for (int i = 0, imax = oms->size(); i < imax; i++) { ! OopMap* om = oms->at(i); ! address pc = base + om->offset(); if (pc > begin) { if (pc <= end) { st->move_to(column); st->print("; "); om->print_on(st); --- 2985,3000 ---- void nmethod::print_code_comment_on(outputStream* st, int column, u_char* begin, u_char* end) { // First, find an oopmap in (begin, end]. // We use the odd half-closed interval so that oop maps and scope descs // which are tied to the byte after a call are printed with the call itself. address base = code_begin(); ! ImmutableOopMapSet* oms = oop_maps(); if (oms != NULL) { for (int i = 0, imax = oms->size(); i < imax; i++) { ! const ImmutableOopMapPair* pair = oms->pair_at(i); ! const ImmutableOopMap* om = pair->get_from(oms); ! address pc = base + pair->pc(); if (pc > begin) { if (pc <= end) { st->move_to(column); st->print("; "); om->print_on(st);
src/share/vm/code/nmethod.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File