RFR: 8308503: AArch64: SIGILL when running with -XX:UseBranchProtection=pac-ret on hardware without PAC feature
Andrew Haley
aph at openjdk.org
Wed May 24 09:15:58 UTC 2023
On Wed, 24 May 2023 01:16:53 GMT, Hao Sun <haosun at openjdk.org> wrote:
> Perhaps, we can firstly disable ROP if `VMContinuations` is on. I mean, change `Arguments::enable_preview()` to `VMContinuations`.
> In this way, ROP protection is enabled only with VM options `-XX:UseBranchProtection=standard|pac-ret -XX:+UnlockExperimentalVMOptions -XX:-VMContinuations` on hardware with the support of PAC feature.
That's probably the best we can do for 21.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14095#discussion_r1203757839
More information about the hotspot-dev
mailing list