diff options
author | iveresov <none@none> | 2010-12-02 17:21:12 -0800 |
---|---|---|
committer | iveresov <none@none> | 2010-12-02 17:21:12 -0800 |
commit | 8d885e9a6cc86571bcf87be42bcabcfe9f4a60fd (patch) | |
tree | 060c4d2b64239126c3bf683bc5e7ef548655e974 /src/share/vm/opto/graphKit.cpp | |
parent | 2ff503b71f5e249c61cb6b235d1f94ceb26ceb2d (diff) |
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
Diffstat (limited to 'src/share/vm/opto/graphKit.cpp')
-rw-r--r-- | src/share/vm/opto/graphKit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/vm/opto/graphKit.cpp b/src/share/vm/opto/graphKit.cpp index 1a3333db7..80101d2da 100644 --- a/src/share/vm/opto/graphKit.cpp +++ b/src/share/vm/opto/graphKit.cpp @@ -1841,7 +1841,7 @@ void GraphKit::uncommon_trap(int trap_request, // 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) { |