8025566: EXCEPTION_ACCESS_VIOLATION in compiled by C1 String.valueOf method

Reviewed-by: kvn
This commit is contained in:
Christian Thalinger 2013-10-07 10:41:56 -07:00
parent bb528dd1d5
commit 619948a8f1
8 changed files with 27 additions and 20 deletions

View file

@ -78,7 +78,9 @@ ciMethodData::ciMethodData() : ciMetadata(NULL) {
void ciMethodData::load_data() {
MethodData* mdo = get_MethodData();
if (mdo == NULL) return;
if (mdo == NULL) {
return;
}
// To do: don't copy the data if it is not "ripe" -- require a minimum #
// of invocations.