Integrated: 8292694: x86_64 c2i/i2c adapters may use more stack space than necessary

Dean Long dlong at openjdk.org
Mon Aug 29 19:42:27 UTC 2022


On Fri, 26 Aug 2022 03:08:20 GMT, Dean Long <dlong at openjdk.org> wrote:

> The c2i adapter includes the return address in the alignment calculation, making %rsp always mis-aligned according to the ABI.
> 
> The i2c adapter aligns "extrawords" even though %rsp is aligned later, and the incoming stack is not guaranteed to be aligned.

This pull request has now been integrated.

Changeset: adb3d4f1
Author:    Dean Long <dlong at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/adb3d4f14af1974e7fc9461eb59f98131f0d33f7
Stats:     79 lines in 3 files changed: 44 ins; 25 del; 10 mod

8292694: x86_64 c2i/i2c adapters may use more stack space than necessary

Reviewed-by: kvn, thartmann

-------------

PR: https://git.openjdk.org/jdk/pull/10034


More information about the hotspot-compiler-dev mailing list