提交 e1092eb6 编写于 作者: R roland

8005114: VM is crashing in ciKlass*ciObjArrayKlass::element_klass() if metaspaces are full

Summary: missing test for loaded klass in c1
Reviewed-by: kvn
上级 929bf276
......@@ -188,7 +188,7 @@ ciType* LoadIndexed::exact_type() const {
ciType* LoadIndexed::declared_type() const {
ciType* array_type = array()->declared_type();
if (array_type == NULL) {
if (array_type == NULL || !array_type->is_loaded()) {
return NULL;
}
assert(array_type->is_array_klass(), "what else?");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册