Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8264340: [lworld] [AArch64] TestLWorld.java assertion failure in OopFlow::build_oop_map #479

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -3160,6 +3160,19 @@ void Scheduling::ComputeRegisterAntidependencies(Block *b) {
break;
}
}

// Do not allow a CheckCastPP node whose input is a raw pointer to
// float past a safepoint. This can occur when a buffered inline
// type is allocated in a loop and the CheckCastPP from that
// allocation is reused outside the loop. If the use inside the
// loop is scalarized the CheckCastPP will no longer be connected
// to the loop safepoint. See JDK-8264340.
if (m->is_Mach() && m->as_Mach()->ideal_Opcode() == Op_CheckCastPP) {
Node *def = m->in(1);
if (def != NULL && def->bottom_type()->base() == Type::RawPtr) {
last_safept_node->add_prec(m);
}
}
}

if( n->jvms() ) { // Precedence edge from derived to safept