Skip to content


Browse files Browse the repository at this point in the history
8269598: Regressions up to 5% on aarch64 seems due to JDK-8268858
Reviewed-by: kvn, dlong
  • Loading branch information
Joshua Zhu authored and y1yang0 committed Jul 15, 2021
1 parent 7d0edb5 commit 7c23491
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/hotspot/cpu/aarch64/
Expand Up @@ -2591,6 +2591,14 @@ uint Matcher::int_pressure_limit()
// a high register pressure area of the code so that split_DEF can
// generate DefinitionSpillCopy for the derived pointer.
uint default_int_pressure_threshold = _NO_SPECIAL_REG32_mask.Size() - 1;
if (!PreserveFramePointer) {
// When PreserveFramePointer is off, frame pointer is allocatable,
// but different from other SOC registers, it is excluded from
// fatproj's mask because its save type is No-Save. Decrease 1 to
// ensure high pressure at fatproj when PreserveFramePointer is off.
// See check_pressure_at_fatproj().
return (INTPRESSURE == -1) ? default_int_pressure_threshold : INTPRESSURE;

Expand Down

1 comment on commit 7c23491

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.