Integrated: 8288023: AArch64: disable PAC-RET when preview is enabled
Nick Gasson
ngasson at openjdk.java.net
Thu Jun 9 11:52:40 UTC 2022
On Thu, 9 Jun 2022 08:26:38 GMT, Nick Gasson <ngasson at openjdk.org> wrote:
> PAC-RET is not currently compatible with the continuation freeze/thaw mechanism used by virtual threads, and additionally
> `-XX:UseBranchProtection=pac-ret` enables `PreserveFramePointer` which prevents the use of the continuation thaw fast-path (about 15% slower for the "Skynet" JMH benchmark). So for now just disable PAC when `--enable-preview` was also passed.
>
> See some earlier discussion here: #9067
This pull request has now been integrated.
Changeset: 4285e3d6
Author: Nick Gasson <ngasson at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/4285e3d6db487d85138486d1f7853c7c067c59cd
Stats: 7 lines in 1 file changed: 5 ins; 0 del; 2 mod
8288023: AArch64: disable PAC-RET when preview is enabled
Reviewed-by: rpressler, adinn
-------------
PR: https://git.openjdk.java.net/jdk/pull/9102
More information about the hotspot-dev
mailing list