MethodData::data_at(int data_index) may return NULL if the data_index is out of bounds but the code in InterpreterRuntime::update_mdp_for_ret() does not check for NULL: ProfileData* data = h_mdo->data_at(h_mdo->dp_to_di(fr.interpreter_frame_mdp())); RetData* rdata = data->as_RetData();
|