On Tue, 25 Jan 2022 14:22:15 GMT, Alan Hayward <d...@openjdk.java.net> wrote:
>> Was this ever resolved? > > Sort of. That code has changed quite a bit - UseROPProtection now is a string > field not a bool. > "none" or not set - pac disabled. > "pac-ret" - pac always enabled > "standard" - pac enabled if the cpu+os support it. > > Also, the pac instructions used aren't all in the NOP space. So, it will > crash on a non-pac machine. It might be possible to change it so it does > only use nop space instructions, but I don't think it'll be optimal (need to > double check). OK, cool. ------------- PR: https://git.openjdk.java.net/jdk/pull/6334