[foreign-abi] RFR: 8248420: Add a variant of VaList::make which takes a NativeScope [v6]
Maurizio Cimadamore
mcimadamore at openjdk.java.net
Thu Jul 16 15:07:51 UTC 2020
On Thu, 16 Jul 2020 14:02:49 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
> > From user perspective it does look simpler, as now all va lists behave similarly. One minor comment is that, I think,
> > you can use just a memory scope to track liveness, instead of creating a full segment (since you never really use its
> > segment-y properties)
>
> Using a MemoryScope doesn't work out of the box since we can't register it with the NativeScope. That would require
> quite a bit of surgery to AbstractNativeScope it seems. While I think it's possible, I think we should keep the
> 'damage' minimal, since this is already a bit of a hack.
Sorry - forgot about the NS use case
-------------
PR: https://git.openjdk.java.net/panama-foreign/pull/237
More information about the panama-dev
mailing list