[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-serviceability-dev
Subject: Integrated: 8315966: Relativize initial_sp in interpreter frames
From: Fredrik Bredberg <fbredberg () openjdk ! org>
Date: 2023-09-27 13:18:26
Message-ID: EXtg-4IcJ9OpBINfY8Kfhc_EkQYsF5aE2ZKs7ivVXRM=.4a29e7de-47bd-40c5-a9a2-7878f25643ea () github ! com
[Download RAW message or body]
On Tue, 19 Sep 2023 09:00:01 GMT, Fredrik Bredberg <fbredberg@openjdk.org> wrote:
> Relativize initial_sp in interpreter frames.
>
> By changing the "initial_sp" (AKA "monitor_block_top" or "monitors" on PowerPC) \
> 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 relativization of "initial_sp" and "monitor_block_top" \
> since it's the same slot in interpreter frames (roughly the same as "monitors" on \
> PowerPC). Relativization of other interpreter frame members are handled in other \
> subtasks to JDK-8289296.
> Tested tier1-tier7 on supported platforms. The rest was sanity tested using Qemu.
This pull request has now been integrated.
Changeset: 347bd15e
Author: Fredrik Bredberg <fbredberg@openjdk.org>
Committer: Coleen Phillimore <coleenp@openjdk.org>
URL: https://git.openjdk.org/jdk/commit/347bd15e49f5632e16d0ae4dd7240a3648baf539
Stats: 202 lines in 30 files changed: 84 ins; 48 del; 70 mod
8315966: Relativize initial_sp in interpreter frames
Reviewed-by: fyang, mdoerr, pchilanomate
-------------
PR: https://git.openjdk.org/jdk/pull/15815
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic