[jdk11u-dev] RFR: 8307955: Prefer to PTRACE_GETREGSET instead of PTRACE_GETREGS in method 'ps_proc.c::process_get_lwp_regs'

Fei Yang fyang at openjdk.org
Mon Feb 26 07:01:55 UTC 2024


On Mon, 26 Feb 2024 06:18:33 GMT, Gui Cao <gcao at openjdk.org> wrote:

> Hi, This is also needed for riscv-port-jdk11u repo where we have full-reatured linux-riscv port for the same reason as jdk17u backport. The backport is not clean because the sparc architecture related code still exists. Risk is low as this is a small change prefering using `PTRACE_GETREGSET` instead of `PTRACE_GETREGS`. Tested on linux-aarch64 and linux-x86_64 platforms.

LGTM.

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

Marked as reviewed by fyang (Reviewer).

PR Review: https://git.openjdk.org/jdk11u-dev/pull/2549#pullrequestreview-1900071722


More information about the jdk-updates-dev mailing list