8014189: JVM crash with SEGV in ConnectionGraph::record_for_escape_analysis()

Add NULL checks and asserts for Type::make_ptr() returned value.

Reviewed-by: twisti
This commit is contained in:
Vladimir Kozlov 2013-05-09 17:28:04 -07:00
parent b4977e887a
commit d7176bf7f8
9 changed files with 44 additions and 19 deletions

View file

@ -965,6 +965,8 @@ public:
}
const TypeLong* find_long_type() const;
const TypePtr* get_ptr_type() const;
// These guys are called by code generated by ADLC:
intptr_t get_ptr() const;
intptr_t get_narrowcon() const;