On Sun, 28 Jun 2026 01:13:00 GMT, Yasumasa Suenaga <[email protected]> wrote:
>> But if PAC is disabled on the machine that SA is running on then _pac_mask >> won't be setup. This means you won't be able to do the AND operation to >> restore the caller PC. > > _pac_mask would be exposed via VMStructs, we can retrieve the value from > CIntgerField. IIUC it means _pac_mask comes from debuggee, in the coredump > when we attach it. Thus we can refer appropriate mask value, no? Ah, yes, that makes sense. _pac_mask comes from the core file, not the JVM SA is running on. I do wonder how debuggers deal with transported cores since they won't have access to something like _pac_mask. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/31669#discussion_r3487279946
