Integrated: 8315069: Relativize extended_sp in interpreter frames

Fredrik Bredberg fbredberg at openjdk.org
Fri Sep 1 08:38:52 UTC 2023


On Tue, 29 Aug 2023 12:08:49 GMT, Fredrik Bredberg <fbredberg at openjdk.org> wrote:

> Implementation of relativized extended_sp in interpreter frames for AArch64 and RISC-V.
> 
> By changing the "extended_sp" member in interpreter frames from being an absolute address into an offset that is relative to the frame pointer, we don't need to change the value as we freeze and thaw frames of virtual threads. This is since we might freeze and thaw from and to different worker threads, so the absolute address to locals might change, but the offset from the frame pointer will be constant.
> 
> This subtask only handles "extended_sp". The relativization of other interpreter frame members are handled in other subtasks to JDK-8289296.
> 
> Tested tier1-tier7 on aarch64. RISC-V  was sanity tested using Qemu.

This pull request has now been integrated.

Changeset: 033f311a
Author:    Fredrik Bredberg <fbredberg at openjdk.org>
Committer: Andrew Haley <aph at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/033f311abccc45567230c69c6e0f6d1746f3c7e4
Stats:     46 lines in 10 files changed: 32 ins; 0 del; 14 mod

8315069: Relativize extended_sp in interpreter frames

Reviewed-by: haosun, aph, fyang

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

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


More information about the hotspot-dev mailing list