Mercurial > hg > truffle
diff src/share/vm/opto/graphKit.cpp @ 2007:5ddfcf4b079e
7003554: (tiered) assert(is_null_object() || handle() != NULL) failed: cannot embed null pointer
Summary: C1 with profiling doesn't check whether the MDO has been really allocated, which can silently fail if the perm gen is full. The solution is to check if the allocation failed and bailout out of inlining or compilation.
Reviewed-by: kvn, never
author | iveresov |
---|---|
date | Thu, 02 Dec 2010 17:21:12 -0800 |
parents | f95d63e2154a |
children | 9dc311b8473e |
line wrap: on
line diff
--- a/src/share/vm/opto/graphKit.cpp Thu Dec 02 01:02:55 2010 -0800 +++ b/src/share/vm/opto/graphKit.cpp Thu Dec 02 17:21:12 2010 -0800 @@ -1841,7 +1841,7 @@ // Note: If ProfileTraps is true, and if a deopt. actually // occurs here, the runtime will make sure an MDO exists. There is - // no need to call method()->build_method_data() at this point. + // no need to call method()->ensure_method_data() at this point. #ifdef ASSERT if (!must_throw) {