[foreign] RFR: tighten binder code generation
Sundararajan Athijegannathan
sundararajan.athijegannathan at oracle.com
Fri May 25 11:28:00 UTC 2018
Looks good.
-Sundar
On 25/05/18, 4:47 PM, Maurizio Cimadamore wrote:
> Hi,
> this patch fixes some issues with the binder code generation:
>
> 1) In HeaderImplGenerator, the invocation of native function MH occurs
> with 'invoke' instead of 'invokeExact'
>
> 2) In StructImplGenerator, we use Pointer's boxy API to do struct
> access, when we can more simply use LayoutType's MH (which is known at
> codegen time) and do an invokeExact on it
>
> 3) remove unused box/unbox code generation helpers
>
> Webrev:
>
> http://cr.openjdk.java.net/~mcimadamore/panama/tighter_codegen/
>
> Maurizio
>
More information about the panama-dev
mailing list