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

8257965: [lworld] C2 compilation fails with assert(unc->peek_monitor_obj() == obj) failed: wrong monitor #299

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -2228,7 +2228,6 @@ void PhaseMacroExpand::mark_eliminated_locking_nodes(AbstractLockNode *alock) {
}

void PhaseMacroExpand::inline_type_guard(Node** ctrl, LockNode* lock) {
assert(EnableValhalla, "should only be used if inline types are enabled");
Node* obj = lock->obj_node();
const TypePtr* obj_type = _igvn.type(obj)->make_ptr();
if (!obj_type->can_be_inline_type()) {