Integrated: 8316523: Relativize esp in interpreter frames (PowerPC only)
Fredrik Bredberg
fbredberg at openjdk.org
Thu Oct 5 10:17:21 UTC 2023
On Sat, 30 Sep 2023 11:57:49 GMT, Fredrik Bredberg <fbredberg at openjdk.org> wrote:
> Relativize esp (Expression Stack Pointer on PowerPC) in interpreter frames.
>
> By changing the "esp" 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 "esp" on PowerPC. The relativization of other interpreter frame members are handled in other subtasks to [JDK-8289296](https://bugs.openjdk.org/browse/JDK-8289296).
>
> It has been sanity tested onr PowerPC using Qemu.
This pull request has now been integrated.
Changeset: 42be2387
Author: Fredrik Bredberg <fbredberg at openjdk.org>
Committer: Martin Doerr <mdoerr at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/42be23877cb34055b630f576a6668ca2f46afe40
Stats: 35 lines in 4 files changed: 16 ins; 12 del; 7 mod
8316523: Relativize esp in interpreter frames (PowerPC only)
Reviewed-by: mdoerr, eosterlund
-------------
PR: https://git.openjdk.org/jdk/pull/15999
More information about the hotspot-dev
mailing list