[jdk21u-dev] RFR: 8287325: AArch64: fix virtual threads with -XX:UseBranchProtection=pac-ret

Aleksey Shipilev shade at openjdk.org
Thu Jun 6 08:50:43 UTC 2024


On Thu, 6 Jun 2024 08:44:48 GMT, Andrew Haley <aph at openjdk.org> wrote:

> Do we have to?

Yes. Not only enabling PAC-RET (surprisingly) disables VM support for Virtual Threads, the absence of this patch makes Loom backports unnecessarily hairy. There is no impact, AFAICS, on the code that is built without ROP protection and/or without PAC-RET enabled.

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/671#issuecomment-2151747341


More information about the jdk-updates-dev mailing list