Mercurial > hg > graal-jvmci-8
diff src/share/vm/opto/library_call.cpp @ 10279:70120f47d403
8014189: JVM crash with SEGV in ConnectionGraph::record_for_escape_analysis()
Summary: Add NULL checks and asserts for Type::make_ptr() returned value.
Reviewed-by: twisti
author | kvn |
---|---|
date | Thu, 09 May 2013 17:28:04 -0700 |
parents | 6f3fd5150b67 |
children | f2110083203d |
line wrap: on
line diff
--- a/src/share/vm/opto/library_call.cpp Wed May 08 15:08:01 2013 -0700 +++ b/src/share/vm/opto/library_call.cpp Thu May 09 17:28:04 2013 -0700 @@ -2783,7 +2783,7 @@ #ifdef _LP64 if (type == T_OBJECT && adr->bottom_type()->is_ptr_to_narrowoop() && kind == LS_xchg) { - load_store = _gvn.transform(new (C) DecodeNNode(load_store, load_store->bottom_type()->make_ptr())); + load_store = _gvn.transform(new (C) DecodeNNode(load_store, load_store->get_ptr_type())); } #endif