< prev index next >
src/share/vm/oops/methodData.cpp
Print this page
*** 108,118 ****
case DataLayout::no_tag:
case DataLayout::arg_info_data_tag:
return ss.as_string();
break;
default:
! fatal(err_msg("unexpected tag %d", dp->tag()));
}
}
return NULL;
}
--- 108,118 ----
case DataLayout::no_tag:
case DataLayout::arg_info_data_tag:
return ss.as_string();
break;
default:
! fatal("unexpected tag %d", dp->tag());
}
}
return NULL;
}
*** 1237,1247 ****
break;
case DataLayout::speculative_trap_data_tag:
nb_cells = SpeculativeTrapData::static_cell_count();
break;
default:
! fatal(err_msg("unexpected tag %d", dp->tag()));
}
return (DataLayout*)((address)dp + DataLayout::compute_size_in_bytes(nb_cells));
}
ProfileData* MethodData::bci_to_extra_data_helper(int bci, Method* m, DataLayout*& dp, bool concurrent) {
--- 1237,1247 ----
break;
case DataLayout::speculative_trap_data_tag:
nb_cells = SpeculativeTrapData::static_cell_count();
break;
default:
! fatal("unexpected tag %d", dp->tag());
}
return (DataLayout*)((address)dp + DataLayout::compute_size_in_bytes(nb_cells));
}
ProfileData* MethodData::bci_to_extra_data_helper(int bci, Method* m, DataLayout*& dp, bool concurrent) {
*** 1277,1287 ****
}
}
}
break;
default:
! fatal(err_msg("unexpected tag %d", dp->tag()));
}
}
return NULL;
}
--- 1277,1287 ----
}
}
}
break;
default:
! fatal("unexpected tag %d", dp->tag());
}
}
return NULL;
}
*** 1398,1408 ****
case DataLayout::arg_info_data_tag:
data = new ArgInfoData(dp);
dp = end; // ArgInfoData is at the end of extra data section.
break;
default:
! fatal(err_msg("unexpected tag %d", dp->tag()));
}
st->print("%d", dp_to_di(data->dp()));
st->fill_to(6);
data->print_data_on(st);
if (dp >= end) return;
--- 1398,1408 ----
case DataLayout::arg_info_data_tag:
data = new ArgInfoData(dp);
dp = end; // ArgInfoData is at the end of extra data section.
break;
default:
! fatal("unexpected tag %d", dp->tag());
}
st->print("%d", dp_to_di(data->dp()));
st->fill_to(6);
data->print_data_on(st);
if (dp >= end) return;
*** 1610,1620 ****
// cells contain entries that are either dead or were shifted
// left. They need to be reset to no_tag
clean_extra_data_helper(dp, shift, true);
return;
default:
! fatal(err_msg("unexpected tag %d", dp->tag()));
}
}
}
// Verify there's no unloaded or redefined method referenced by a
--- 1610,1620 ----
// cells contain entries that are either dead or were shifted
// left. They need to be reset to no_tag
clean_extra_data_helper(dp, shift, true);
return;
default:
! fatal("unexpected tag %d", dp->tag());
}
}
}
// Verify there's no unloaded or redefined method referenced by a
*** 1636,1646 ****
continue;
case DataLayout::no_tag:
case DataLayout::arg_info_data_tag:
return;
default:
! fatal(err_msg("unexpected tag %d", dp->tag()));
}
}
#endif
}
--- 1636,1646 ----
continue;
case DataLayout::no_tag:
case DataLayout::arg_info_data_tag:
return;
default:
! fatal("unexpected tag %d", dp->tag());
}
}
#endif
}
< prev index next >