Mercurial > hg > truffle
diff src/share/vm/ci/ciMethodData.cpp @ 12868:c775af091fe9
8025566: EXCEPTION_ACCESS_VIOLATION in compiled by C1 String.valueOf method
Reviewed-by: kvn
author | twisti |
---|---|
date | Mon, 07 Oct 2013 10:41:56 -0700 |
parents | 5cc2d82aa82a |
children | d13d7aba8c12 |
line wrap: on
line diff
--- a/src/share/vm/ci/ciMethodData.cpp Mon Oct 07 14:13:28 2013 +0400 +++ b/src/share/vm/ci/ciMethodData.cpp Mon Oct 07 10:41:56 2013 -0700 @@ -78,7 +78,9 @@ 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.