mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 04:24:49 +02:00
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:
parent
b4977e887a
commit
d7176bf7f8
9 changed files with 44 additions and 19 deletions
|
@ -834,7 +834,7 @@ bool PhaseMacroExpand::scalar_replacement(AllocateNode *alloc, GrowableArray <Sa
|
|||
if (field_val->is_EncodeP()) {
|
||||
field_val = field_val->in(1);
|
||||
} else {
|
||||
field_val = transform_later(new (C) DecodeNNode(field_val, field_val->bottom_type()->make_ptr()));
|
||||
field_val = transform_later(new (C) DecodeNNode(field_val, field_val->get_ptr_type()));
|
||||
}
|
||||
}
|
||||
sfpt->add_req(field_val);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue