mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
6959430: Make sure raw loads have control edge
Check that raw loads have control edge Reviewed-by: never, twisti
This commit is contained in:
parent
998865b735
commit
21f481e5dd
7 changed files with 48 additions and 19 deletions
|
@ -1431,7 +1431,7 @@ PhaseMacroExpand::initialize_object(AllocateNode* alloc,
|
|||
Node* mark_node = NULL;
|
||||
// For now only enable fast locking for non-array types
|
||||
if (UseBiasedLocking && (length == NULL)) {
|
||||
mark_node = make_load(NULL, rawmem, klass_node, Klass::prototype_header_offset_in_bytes() + sizeof(oopDesc), TypeRawPtr::BOTTOM, T_ADDRESS);
|
||||
mark_node = make_load(control, rawmem, klass_node, Klass::prototype_header_offset_in_bytes() + sizeof(oopDesc), TypeRawPtr::BOTTOM, T_ADDRESS);
|
||||
} else {
|
||||
mark_node = makecon(TypeRawPtr::make((address)markOopDesc::prototype()));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue