Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8266018: Shenandoah: fix an incorrect assert
Reviewed-by: rkennke
Backport-of: 2dd5667
  • Loading branch information
shipilev committed Jun 25, 2021
1 parent a0958a8 commit 80a72de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp
Expand Up @@ -690,7 +690,7 @@ Node* next_mem(Node* mem, int alias) {
} else if (mem->is_MergeMem()) {
res = mem->as_MergeMem()->memory_at(alias);
} else if (mem->is_Store() || mem->is_LoadStore() || mem->is_ClearArray()) {
assert(alias = Compile::AliasIdxRaw, "following raw memory can't lead to a barrier");
assert(alias == Compile::AliasIdxRaw, "following raw memory can't lead to a barrier");
res = mem->in(MemNode::Memory);
} else {
#ifdef ASSERT
Expand Down

1 comment on commit 80a72de

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.