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
  • Loading branch information
wattsun110 authored and rkennke committed May 6, 2021
1 parent 22ca62c commit 2dd5667
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 @@ -692,7 +692,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 2dd5667

@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.