[foreign-abi] RFR: 8251047: GC stackwalking doesn't work when intrinsics are enabled [v2]

Vladimir Ivanov vlivanov at openjdk.java.net
Fri Aug 21 23:02:25 UTC 2020


On Wed, 5 Aug 2020 12:48:16 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

>> Not sure it's the best way to fix the problem (need to look into the code more closely), but the fix looks good for now.
>
> Thanks for the reviews.
> 
> When running the Upcalls benchmark I ran into another crash that looks related, so I'm looking into that before
> integrating.

> Explicitly save RBP location in thread anchor, so we can add it to the RegisterMap when jumping from the entry frame to

The fix looks good.

Still, IMO the best solution would be to adjust CallNative so it always kills RBP in case state transition is present.

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

PR: https://git.openjdk.java.net/panama-foreign/pull/279


More information about the panama-dev mailing list