RFR: 8286711: AArch64: serviceability agent tests fail with PAC enabled

2022-05-20 Thread Nick Gasson
When the VM is run with `-XX:UseBranchProtection=pac-ret` on a supported CPU, the upper bits of the saved link register contain a "pointer authentication code" which must be checked and removed by a special instruction before a function returns. The serviceability agent is unaware of this and s

Re: RFR: 8286711: AArch64: serviceability agent tests fail with PAC enabled

2022-05-22 Thread David Holmes
On Fri, 20 May 2022 15:52:04 GMT, Nick Gasson wrote: > When the VM is run with `-XX:UseBranchProtection=pac-ret` on a supported CPU, > the upper bits of the saved link register contain a "pointer authentication > code" which must be checked and removed by a special instruction before a > funct

Re: RFR: 8286711: AArch64: serviceability agent tests fail with PAC enabled

2022-05-24 Thread Chris Plummer
On Fri, 20 May 2022 15:52:04 GMT, Nick Gasson wrote: > When the VM is run with `-XX:UseBranchProtection=pac-ret` on a supported CPU, > the upper bits of the saved link register contain a "pointer authentication > code" which must be checked and removed by a special instruction before a > funct