hotspot/src/share/vm/code/nmethod.cpp
changeset 30628 3c15b4a3bf4d
parent 30590 14f7f48c1377
child 31037 01a5c5fa5681
equal deleted inserted replaced
30627:d79f16a39a8c 30628:3c15b4a3bf4d
  2987   // We use the odd half-closed interval so that oop maps and scope descs
  2987   // We use the odd half-closed interval so that oop maps and scope descs
  2988   // which are tied to the byte after a call are printed with the call itself.
  2988   // which are tied to the byte after a call are printed with the call itself.
  2989   address base = code_begin();
  2989   address base = code_begin();
  2990   ImmutableOopMapSet* oms = oop_maps();
  2990   ImmutableOopMapSet* oms = oop_maps();
  2991   if (oms != NULL) {
  2991   if (oms != NULL) {
  2992     for (int i = 0, imax = oms->size(); i < imax; i++) {
  2992     for (int i = 0, imax = oms->count(); i < imax; i++) {
  2993       const ImmutableOopMapPair* pair = oms->pair_at(i);
  2993       const ImmutableOopMapPair* pair = oms->pair_at(i);
  2994       const ImmutableOopMap* om = pair->get_from(oms);
  2994       const ImmutableOopMap* om = pair->get_from(oms);
  2995       address pc = base + pair->pc_offset();
  2995       address pc = base + pair->pc_offset();
  2996       if (pc > begin) {
  2996       if (pc > begin) {
  2997         if (pc <= end) {
  2997         if (pc <= end) {