Skip to content

Commit

Permalink
[Backport] 8264759: x86_32 Minimal VM build failure after JDK-8262355
Browse files Browse the repository at this point in the history
Summary: 8264759: x86_32 Minimal VM build failure after JDK-8262355

Test Plan: ci jtreg

Reviewed-by: JoshuaZhuwj

Issue: dragonwell-project#600
  • Loading branch information
JinZhonghui committed Nov 2, 2023
1 parent ab31d6e commit c787aed
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/hotspot/cpu/x86/sharedRuntime_x86_32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ OopMap* RegisterSaver::save_live_registers(MacroAssembler* masm, int additional_
}
}

#ifdef COMPILER2
if (save_vectors) {
__ subptr(rsp, ymm_bytes);
// Save upper half of YMM registers
Expand All @@ -236,6 +237,10 @@ OopMap* RegisterSaver::save_live_registers(MacroAssembler* masm, int additional_
}
}
}
#else
assert(!save_vectors, "vectors are generated only by C2");
#endif

__ vzeroupper();

// Set an oopmap for the call site. This oopmap will map all
Expand Down

0 comments on commit c787aed

Please sign in to comment.