8384801: Shenandoah: ShouldNotReachHere() in shenandoahSupport.cpp with AllocatePrefetchStyle=3

Reviewed-by: ysr, xpeng, kdnilsen, shade
This commit is contained in:
William Kemper 2026-05-18 15:43:07 +00:00
parent 01d10f19aa
commit b74ab79cdd

View File

@ -1617,7 +1617,7 @@ void MemoryGraphFixer::collect_memory_nodes() {
} else if (mem->is_MergeMem()) {
MergeMemNode* mm = mem->as_MergeMem();
mem = mm->memory_at(_alias);
} else if (mem->is_Store() || mem->is_LoadStore() || mem->is_ClearArray()) {
} else if (mem->is_Store() || mem->is_LoadStore() || mem->is_ClearArray() || mem->Opcode() == Op_PrefetchAllocation) {
assert(_alias == Compile::AliasIdxRaw, "");
stack.push(mem, mem->req());
mem = mem->in(MemNode::Memory);