RFR: 8344356: Aarch64: implement -XX:+VerifyActivationFrameSize

SendaoYan syan at openjdk.org
Tue Nov 19 07:29:55 UTC 2024


Hi all,
Currently on aarch64 platform the debug VM option `-XX:+VerifyActivationFrameSize` is Unimplemented. I want to implement `-XX:+VerifyActivationFrameSize` to make JVM easier to diagnose. Only effect debug build plus with option `-XX:+VerifyActivationFrameSize`, the change has been verified locally, the risk is low.

Additional testing

- [ ] jtreg tests(include tier1/2/3 etc.) on linux-aarch64 release build
- [ ] jtreg tests(include tier1/2/3 etc.) on linux-aarch64 fastdebug build

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

Commit messages:
 - use rscratch2 instead of rscratch1, and use interpreter_frame_mirror_offset instead interpreter_frame_initial_sp_offset
 - Use 64-bit arithmetic, use sub instead subw
 - use subw instead of sub
 - revert change of test/jdk/ProblemList-Xcomp.txt
 - use br(Assembler::GE, L)
 - use r0 as Rtemp
 - 8344356: Aarch64: implement -XX:+VerifyActivationFrameSize
 - 8344199: Problemlist jdk/jfr/jvm/TestVirtualThreadExclusion.java before JDK-8344199 resolved

Changes: https://git.openjdk.org/jdk/pull/22181/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22181&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8344356
  Stats: 7 lines in 1 file changed: 6 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/22181.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22181/head:pull/22181

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


More information about the hotspot-compiler-dev mailing list