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

Gui Cao gcao at openjdk.org
Mon Feb 26 07:16:07 UTC 2024


> 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.

Gui Cao has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:

 - Merge remote-tracking branch 'upstream/master' into backport-JDK-8307955
 - Backport8307955: Prefer to PTRACE_GETREGSET instead of PTRACE_GETREGS in method 'ps_proc.c::process_get_lwp_regs'

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

Changes:
  - all: https://git.openjdk.org/jdk11u-dev/pull/2549/files
  - new: https://git.openjdk.org/jdk11u-dev/pull/2549/files/926d7fef..ac28b40d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2549&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2549&range=00-01

  Stats: 40 lines in 1 file changed: 35 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/2549.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/2549/head:pull/2549

PR: https://git.openjdk.org/jdk11u-dev/pull/2549


More information about the jdk-updates-dev mailing list